ATLAS Offline Software
Trigger
TrigAnalysis
TrigInDetAnalysis
src
TIDAEvent.cxx
Go to the documentation of this file.
1
13
#include "
TrigInDetAnalysis/TIDAEvent.h
"
14
15
ClassImp
(
TIDA::Event
)
16
17
TIDA::Event::Event
() :
18
m_run_number(0),
19
m_event_number(0),
20
m_lumi_block(0),
21
m_time_stamp(0),
22
m_bunch_crossing_id(0)
23
{ }
24
25
TIDA::Event::~Event
() { }
26
27
std::vector<std::string>
TIDA::Event::chainnames
()
const
{
28
std::vector<std::string>
names
;
29
for
( std::vector<TIDA::Chain>::const_iterator citr=
begin
() ; citr!=
end
() ; ++citr )
names
.push_back( citr->name() );
30
return
names
;
31
}
32
33
34
35
void
TIDA::Event::erase
(
const
std::string&
name
) {
36
40
41
std::vector<TIDA::Chain>
_chains
= m_chains;
42
m_chains.clear();
43
44
std::vector<TIDA::Chain>::const_iterator _itr =
_chains
.begin();
45
46
while
( _itr!=
_chains
.end() ) {
47
if
( _itr->name()!=
name
) m_chains.push_back( *_itr );
48
++_itr;
49
}
50
51
}
52
53
54
55
56
const
TIDA::Chain
*
TIDA::Event::chain
(
const
std::string&
s
)
const
{
58
for
(
size_t
i
=m_chains.size() ;
i
-- ; )
if
( m_chains[
i
].
name
()==
s
)
return
&m_chains[
i
];
59
return
0;
60
}
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
TIDAEvent.h
Basic event class to contain a vector of chains for trigger analysis
TIDA::Event::chainnames
std::vector< std::string > chainnames() const
Definition:
TIDAEvent.cxx:27
TIDA::Event::chain
const TIDA::Chain * chain(const std::string &s) const
Definition:
TIDAEvent.cxx:56
PlotCalibFromCool.begin
begin
Definition:
PlotCalibFromCool.py:94
python.TIDAChains._chains
_chains
Definition:
TIDAChains.py:57
TIDA::Event
Definition:
TIDAEvent.h:33
mergePhysValFiles.end
end
Definition:
DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
lumiFormat.i
int i
Definition:
lumiFormat.py:85
python.subdetectors.mmg.names
names
Definition:
mmg.py:8
TIDA::Event::~Event
virtual ~Event()
Definition:
TIDAEvent.cxx:25
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TIDA::Event::Event
Event()
TIDA::Chain
Definition:
TIDAChain.h:28
TIDA::Event::erase
void erase(const std::string &name)
Definition:
TIDAEvent.cxx:35
ClassImp
ClassImp(TIDA::Event) TIDA
Definition:
TIDAEvent.cxx:15
Generated on Thu Nov 7 2024 21:27:55 for ATLAS Offline Software by
1.8.18