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
m_mu(0)
24
{ }
25
26
TIDA::Event::~Event
() { }
27
28
std::vector<std::string>
TIDA::Event::chainnames
()
const
{
29
std::vector<std::string>
names
;
30
for
( std::vector<TIDA::Chain>::const_iterator citr=
begin
() ; citr!=
end
() ; ++citr )
names
.push_back( citr->name() );
31
return
names
;
32
}
33
34
35
36
void
TIDA::Event::erase
(
const
std::string&
name
) {
37
41
42
std::vector<TIDA::Chain>
_chains
= m_chains;
43
m_chains.clear();
44
45
std::vector<TIDA::Chain>::const_iterator _itr =
_chains
.begin();
46
47
while
( _itr!=
_chains
.end() ) {
48
if
( _itr->name()!=
name
) m_chains.push_back( *_itr );
49
++_itr;
50
}
51
52
}
53
54
55
56
57
const
TIDA::Chain
*
TIDA::Event::chain
(
const
std::string&
s
)
const
{
59
for
(
size_t
i
=m_chains.size() ;
i
-- ; )
if
( m_chains[
i
].
name
()==
s
)
return
&m_chains[
i
];
60
return
0;
61
}
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:28
TIDA::Event::chain
const TIDA::Chain * chain(const std::string &s) const
Definition:
TIDAEvent.cxx:57
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:26
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
TIDA::Event::Event
Event()
TIDA::Chain
Definition:
TIDAChain.h:28
TIDA::Event::erase
void erase(const std::string &name)
Definition:
TIDAEvent.cxx:36
ClassImp
ClassImp(TIDA::Event) TIDA
Definition:
TIDAEvent.cxx:15
Generated on Sun Dec 22 2024 21:19:34 for ATLAS Offline Software by
1.8.18