ATLAS Offline Software
Loading...
Searching...
No Matches
TGCEvent.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include <iostream>
6
9
10namespace LVL1TGCTrigger {
11
13 TGCSignalType sigtype, int id, double tof)
14{
15 TGCASDOut* asdout= new TGCASDOut(tgcrindex, sigtype, id, tof);
16 m_vecASDOut.push_back(asdout);
17 return asdout;
18}
19
20
22{
23 // delete ASDOut
24 for (const TGCASDOut* p : m_vecASDOut) {
25 delete p;
26 }
27 m_vecASDOut.clear();
28}
29
30
31void TGCEvent::Print() const
32{
33 std::cout << " Event#= " << m_eventNumber << std::endl;
34}
35
36
37} // end of namespace
std::vector< TGCASDOut * > m_vecASDOut
Definition TGCEvent.h:18
TGCASDOut * NewASDOut(const TGCReadoutIndex &tgcindex, TGCSignalType sigtype=WIRE, int id=-1, double tof=0)
Definition TGCEvent.cxx:12