ATLAS Offline Software
InDetGlobalMotherTrigMonTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
17 #ifndef InDetGlobalMotherTrigMonTool_H
18 #define InDetGlobalMotherTrigMonTool_H
19 
20 //Local includes
22 
23 //Framework
25 #include "EventInfo/EventInfo.h"
26 
27 //Standard C++
28 #include <vector>
29 #include <string>
30 
31 
32 //Predeclarations
33 class IInterface;
34 class StatusCode;
35 class TH1I;
36 class TH1I_LW;
37 class TH2I;
38 class TH2I_LW;
39 class TProfile;
40 
41 
45 {
46 
47  public:
49  InDetGlobalMotherTrigMonTool( const std::string & type,
50  const std::string & name,
51  const IInterface* parent);
52 
55 
56  virtual StatusCode initialize();
57 
58  protected:
59 
61 
62  bool hasTriggerFired(int trigger);
65  std::string m_triggerNames[8];
68 
69  private:
70  int m_firedTriggers[8]{};
71  std::vector<unsigned int> m_activeMenuItems;
72  SG::ReadHandleKey<EventInfo> m_eventInfoKey{this,"EventInfoKey","ByteStreamEventInfo","Event Info Key for Global Trigger Montioring"};
73 };
74 
75 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
InDetGlobalMotherTrigMonTool::~InDetGlobalMotherTrigMonTool
virtual ~InDetGlobalMotherTrigMonTool()
Destructor.
Definition: InDetGlobalMotherTrigMonTool.h:54
TH1I
Definition: rootspy.cxx:332
InDetGlobalMotherTrigMonTool::fillTrigAwareHisto
StatusCode fillTrigAwareHisto(TH1I_LW *, int)
Definition: InDetGlobalMotherTrigMonTool.cxx:100
TH1I_LW
Definition: TH1I_LW.h:23
InDetGlobalMotherTrigMonTool::PrintTriggers
StatusCode PrintTriggers()
Definition: InDetGlobalMotherTrigMonTool.cxx:85
InDetGlobalMotherTrigMonTool::m_firedTriggers
int m_firedTriggers[8]
Definition: InDetGlobalMotherTrigMonTool.h:70
SG::ReadHandleKey< EventInfo >
InDetGlobalMotherTrigMonTool::CheckTriggers
StatusCode CheckTriggers()
Definition: InDetGlobalMotherTrigMonTool.cxx:59
InDetGlobalMotherTrigMonTool::InDetGlobalMotherTrigMonTool
InDetGlobalMotherTrigMonTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor
Definition: InDetGlobalMotherTrigMonTool.cxx:28
InDetGlobalMotherTrigMonTool
This tool derives from InDetGlobalMonitorToolBase The Mother tool interfaces to all subtools.
Definition: InDetGlobalMotherTrigMonTool.h:45
InDetGlobalMotherMonTool
This tool derives from InDetGlobalMonitorToolBase The Mother tool interfaces to all subtools.
Definition: InDetGlobalMotherMonTool.h:75
InDetGlobalMotherTrigMonTool::m_eventInfoKey
SG::ReadHandleKey< EventInfo > m_eventInfoKey
Definition: InDetGlobalMotherTrigMonTool.h:72
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TH2I
Definition: rootspy.cxx:410
InDetGlobalMotherTrigMonTool::m_activeMenuItems
std::vector< unsigned int > m_activeMenuItems
Definition: InDetGlobalMotherTrigMonTool.h:71
test_pyathena.parent
parent
Definition: test_pyathena.py:15
InDetGlobalMotherTrigMonTool::m_doTrigger
bool m_doTrigger
Definition: InDetGlobalMotherTrigMonTool.h:67
TH2I_LW
Definition: TH2I_LW.h:23
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TProfile
Definition: rootspy.cxx:515
InDetGlobalMotherTrigMonTool::hasTriggerFired
bool hasTriggerFired(int trigger)
Definition: InDetGlobalMotherTrigMonTool.cxx:93
InDetGlobalMotherTrigMonTool::m_triggerNames
std::string m_triggerNames[8]
Definition: InDetGlobalMotherTrigMonTool.h:65
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
InDetGlobalMotherMonTool.h
InDetGlobalMotherTrigMonTool::initialize
virtual StatusCode initialize()
Definition: InDetGlobalMotherTrigMonTool.cxx:38
PhysDESDM_Quirks.trigger
trigger
Definition: PhysDESDM_Quirks.py:27