![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
30 : TNamed(
"DataAccess",
"Sub-class accessing the data in the D3PD" ),
31 m_tree( eventTree ), m_prefix(
prefix ), m_initialized( kFALSE ),
33 m_l1_tav( 0 ), m_l2_physics( 0 ), m_ef_physics( 0 ),
34 m_l1_tbp( 0 ), m_l1_tap( 0 ), m_l2_raw( 0 ), m_ef_raw( 0 ),
35 m_l2_resurrected( 0 ), m_ef_resurrected( 0 ),
36 m_l2_passedThrough( 0 ), m_ef_passedThrough( 0 ) {
109 Long64_t centry =
entry;
170 Error(
"GetL1Result",
"Unknown result type requested" );
193 Error(
"GetL2Result",
"Unknown result type requested" );
216 Error(
"GetEFResult",
"Unknown result type requested" );
231 Info(
"Initialize",
"Null pointer provided as event tree -> "
232 "Delaying initialization" );
242 if( !
chain->GetTree() ) {
243 chain->LoadTree( 0 );
253 Error(
"Initialize",
"The supplied D3PD doesn't seem to hold trigger configuration "
268 Error(
"Initialize",
"The supplied TTree doesn't seem to hold trigger decision "
std::vector< short > * m_l2_resurrected
virtual Int_t GetSMK() const
Get the Super Master Key of the current event.
Bool_t m_initialized
Flag for knowing if the branches have been connected.
Int_t m_detailLevel
The detail level guessed from the available branches.
TTree * m_tree
The event-wise TTree.
The common trigger namespace for trigger analysis tools.
Bool_t Initialize()
Initialize the object from the specified TTree.
std::vector< short > * m_l2_passedThrough
std::vector< unsigned int > * m_l1_tbp
std::vector< unsigned int > * m_l1_tav
void Reset()
Reset the object.
ClassImp(D3PD::Trig::DataAccess) namespace D3PD
virtual Int_t GetL1PSK() const
Get the LVL1 prescale key of the current event.
Block filler tool for noisy FEB information.
virtual Int_t GetDetailLevel() const
Get the detail level that the D3PD was produced with.
TBranch * m_b_l2_passedThrough
std::vector< unsigned int > * m_l1_tap
std::vector< short > * m_l2_raw
virtual Int_t GetHLTPSK() const
Get the HLT prescale key of the current event.
std::vector< short > * m_ef_passedThrough
std::vector< short > * m_l2_physics
TBranch * m_b_l2_resurrected
virtual const std::vector< short > * GetL2Result(HLTResultType type) const
Function for retrieving the encoded LVL2 result.
TBranch * m_b_ef_passedThrough
TTree * GetEventTree() const
Get the pointer to the event-wise treee currently being used.
TBranch * m_b_ef_resurrected
Int_t GetEntry(Long64_t entry, Int_t getall=0)
Load a new entry (new event)
std::vector< short > * m_ef_physics
virtual const std::vector< unsigned int > * GetL1Result(L1ResultType type) const
Function for retrieving the encoded LVL1 result.
Bool_t SetEventTree(TTree *eventTree)
Set the pointer to the event-wise treee.
virtual const std::vector< short > * GetEFResult(HLTResultType type) const
Function for retrieving the encoded EF result.
std::vector< short > * m_ef_raw
const TString m_prefix
Prefix for the trigger branch names.
DataAccess(TTree *eventTree=0, const TString &prefix="trig_")
Constructor specifying the event-wise tree.
std::vector< short > * m_ef_resurrected
Class handling the access to the trigger data in the events.