ATLAS Offline Software
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 
7 #include "TrigT1TGC/TGCEvent.h"
8 #include "TrigT1TGC/TGCASDOut.h"
9 
10 namespace 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 
31 void TGCEvent::Print() const
32 {
33  std::cout << " Event#= " << m_eventNumber << std::endl;
34 }
35 
36 
37 } // end of namespace
TGCASDOut.h
LVL1TGCTrigger::TGCEvent::NewASDOut
TGCASDOut * NewASDOut(const TGCReadoutIndex &tgcindex, TGCSignalType sigtype=WIRE, int id=-1, double tof=0)
Definition: TGCEvent.cxx:12
LVL1TGCTrigger::TGCEvent::m_vecASDOut
std::vector< TGCASDOut * > m_vecASDOut
Definition: TGCEvent.h:18
LVL1TGCTrigger::TGCEvent::m_eventNumber
int m_eventNumber
Definition: TGCEvent.h:17
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
LVL1TGCTrigger::TGCASDOut
Definition: TGCASDOut.h:12
TGCEvent.h
LVL1TGCTrigger
Definition: LVL1TGCTrigger.cxx:47
LVL1TGCTrigger::TGCEvent::Clear
void Clear()
Definition: TGCEvent.cxx:21
LVL1TGCTrigger::TGCSignalType
TGCSignalType
Definition: TGCNumbering.h:51
LVL1TGCTrigger::TGCReadoutIndex
Definition: TGCReadoutIndex.h:13
LVL1TGCTrigger::TGCEvent::Print
void Print() const
Definition: TGCEvent.cxx:31