ATLAS Offline Software
TrigBjetMonitorAlgorithm.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGBJETMONITORING_TRIGBJETMONITORALGORITHM_H
6 #define TRIGBJETMONITORING_TRIGBJETMONITORALGORITHM_H
7 
10 
11 #include "xAODMuon/MuonContainer.h"
14 
16  public:
17  TrigBjetMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
18  virtual ~TrigBjetMonitorAlgorithm();
19  virtual StatusCode initialize() override;
20  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
21 
22  private:
23  Gaudi::Property<bool> m_doRandom {this,"RandomHist",true};
24  Gaudi::Property<bool> m_collisionRun{this, "CollisionRun", true};
25 
26  Gaudi::Property<std::string> m_btaggingLinkName{this, "BtaggingLinkName", "btag"}; // TM 2021-10-30
27  Gaudi::Property<bool> m_expressStreamFlag{this, "ExpressStreamFlag", false}; // TM 2022-09-14
28 
29  Gaudi::Property<std::vector<std::string>> m_allChains{this,"AllChains",{}};
30 
31  SG::ReadHandleKey<xAOD::MuonContainer> m_muonContainerKey{this,"MuonContainerName","Muons","Muon Container Name"};
32  SG::ReadHandleKey<xAOD::VertexContainer> m_offlineVertexContainerKey {this,"OfflineVertexContainerName","PrimaryVertices","Key of offline primary vertexes"};
33  SG::ReadHandleKey<xAOD::VertexContainer> m_onlineVertexContainerKey {this,"OnlineVertexContainerName","HLT_IDVertex_FS","Key of online bjet primary vertexes"}; // MS 290620
34  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_onlineTrackContainerKey {this,"OnlineTrackContainerName","HLT_IDTrack_Bjet_IDTrig","Key of online tracks of bjets"};
35 
36 
37 };
38 #endif
TrigBjetMonitorAlgorithm::~TrigBjetMonitorAlgorithm
virtual ~TrigBjetMonitorAlgorithm()
Definition: TrigBjetMonitorAlgorithm.cxx:15
TrigBjetMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigBjetMonitorAlgorithm.cxx:18
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
TrigBjetMonitorAlgorithm
Definition: TrigBjetMonitorAlgorithm.h:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
TrigBjetMonitorAlgorithm::TrigBjetMonitorAlgorithm
TrigBjetMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigBjetMonitorAlgorithm.cxx:11
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
TrigBjetMonitorAlgorithm::m_btaggingLinkName
Gaudi::Property< std::string > m_btaggingLinkName
Definition: TrigBjetMonitorAlgorithm.h:26
TrigBjetMonitorAlgorithm::m_onlineTrackContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_onlineTrackContainerKey
Definition: TrigBjetMonitorAlgorithm.h:34
TrigBjetMonitorAlgorithm::m_muonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
Definition: TrigBjetMonitorAlgorithm.h:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigBjetMonitorAlgorithm::m_onlineVertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_onlineVertexContainerKey
Definition: TrigBjetMonitorAlgorithm.h:33
MuonContainer.h
VertexContainer.h
TrigBjetMonitorAlgorithm::m_collisionRun
Gaudi::Property< bool > m_collisionRun
Definition: TrigBjetMonitorAlgorithm.h:24
TrigBjetMonitorAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: TrigBjetMonitorAlgorithm.cxx:82
TrigBjetMonitorAlgorithm::m_allChains
Gaudi::Property< std::vector< std::string > > m_allChains
Definition: TrigBjetMonitorAlgorithm.h:29
TrigBjetMonitorAlgorithm::m_offlineVertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_offlineVertexContainerKey
Definition: TrigBjetMonitorAlgorithm.h:32
TrigBjetMonitorAlgorithm::m_expressStreamFlag
Gaudi::Property< bool > m_expressStreamFlag
Definition: TrigBjetMonitorAlgorithm.h:27
TrigBjetMonitorAlgorithm::m_doRandom
Gaudi::Property< bool > m_doRandom
Definition: TrigBjetMonitorAlgorithm.h:23
TrackParticleContainer.h