ATLAS Offline Software
tauMonitorAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TAUMONITORALGORITHM_H
6 #define TAUMONITORALGORITHM_H
7 
10 
13 
14 #include "xAODTau/TauJetContainer.h"
15 
16 
18 public:
19  tauMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
20  virtual ~tauMonitorAlgorithm();
21  virtual StatusCode initialize() override;
22  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
23 private:
24  Gaudi::Property<bool> m_doRandom {this,"RandomHist",false};
25  std::vector<int> m_abGroups1;
26  std::vector<std::vector<int>> m_abGroups2;
27  std::map<std::string,int> m_cGroups1;
28  std::map<std::string,std::map<std::string,int>> m_cGroups2;
29 
30  SG::ReadHandleKey<xAOD::TauJetContainer> m_TauContainerKey {this, "TauRecContainer", "TauJets"};
31 
32  Gaudi::Property<float> m_etaMin {this, "etaMin", -1.};
33  Gaudi::Property<float> m_etaMax {this, "etaMax", 3.0};
34 
35  Gaudi::Property<std::string> m_kinGroupName {this, "kinGroupName", "tauMonKinGroupBA"};
36 
37 };
38 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
tauMonitorAlgorithm::m_etaMin
Gaudi::Property< float > m_etaMin
Definition: tauMonitorAlgorithm.h:32
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
tauMonitorAlgorithm::m_TauContainerKey
SG::ReadHandleKey< xAOD::TauJetContainer > m_TauContainerKey
Definition: tauMonitorAlgorithm.h:30
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
tauMonitorAlgorithm::m_doRandom
Gaudi::Property< bool > m_doRandom
Definition: tauMonitorAlgorithm.h:24
tauMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: tauMonitorAlgorithm.cxx:31
tauMonitorAlgorithm::m_etaMax
Gaudi::Property< float > m_etaMax
Definition: tauMonitorAlgorithm.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
tauMonitorAlgorithm::m_cGroups2
std::map< std::string, std::map< std::string, int > > m_cGroups2
Definition: tauMonitorAlgorithm.h:28
tauMonitorAlgorithm::m_kinGroupName
Gaudi::Property< std::string > m_kinGroupName
Definition: tauMonitorAlgorithm.h:35
tauMonitorAlgorithm::m_abGroups1
std::vector< int > m_abGroups1
Definition: tauMonitorAlgorithm.h:25
tauMonitorAlgorithm::m_cGroups1
std::map< std::string, int > m_cGroups1
Definition: tauMonitorAlgorithm.h:27
tauMonitorAlgorithm
Definition: tauMonitorAlgorithm.py:1
tauMonitorAlgorithm::m_abGroups2
std::vector< std::vector< int > > m_abGroups2
Definition: tauMonitorAlgorithm.h:26
TauJetContainer.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
tauMonitorAlgorithm::tauMonitorAlgorithm
tauMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: tauMonitorAlgorithm.cxx:15
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
tauMonitorAlgorithm::~tauMonitorAlgorithm
virtual ~tauMonitorAlgorithm()
Definition: tauMonitorAlgorithm.cxx:22
tauMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: tauMonitorAlgorithm.cxx:24