TrigBjetMonitorAlgorithm.h 1.95 KB
Newer Older
Elemer Nagy's avatar
Elemer Nagy committed
1
/*
Elemer Nagy's avatar
Elemer Nagy committed
2
  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Elemer Nagy's avatar
Elemer Nagy committed
3
4
5
6
7
8
*/

#ifndef TRIGBJETMONITORING_TRIGBJETMONITORALGORITHM_H
#define TRIGBJETMONITORING_TRIGBJETMONITORALGORITHM_H

#include "AthenaMonitoring/AthMonitorAlgorithm.h"
Charles Burton's avatar
Charles Burton committed
9
#include "AthenaMonitoringKernel/Monitored.h"
Elemer Nagy's avatar
Elemer Nagy committed
10

11
#include "TRandom3.h"
Elemer Nagy's avatar
Elemer Nagy committed
12

13
14
#include "StoreGate/ReadHandleKey.h"

15
#include "TrigDecisionTool/TrigDecisionTool.h"
16
17
18
#include "xAODMuon/MuonContainer.h"
#include "xAODTracking/VertexContainer.h"

Elemer Nagy's avatar
Elemer Nagy committed
19
20
21
22
23
24
class TrigBjetMonitorAlgorithm : public AthMonitorAlgorithm {
 public:
  TrigBjetMonitorAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
  virtual ~TrigBjetMonitorAlgorithm();
  virtual StatusCode initialize() override;
  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
25
26
27
 private:
  //  Gaudi::Property<bool> m_doRandom {this,"RandomHist",false}; 
  Gaudi::Property<bool> m_doRandom {this,"RandomHist",true};
28
  Gaudi::Property<std::string> m_onlineBjetContainerKey {this,"OnlineBJetContainerKey","HLT_bJets",
29
    "The SG key of the online BJet container from the TriggerEDMRun3"};
30
31
32
  //  const std::vector<std::string> m_allChains;
  std::vector<std::string> m_allChains;
  SG::ReadHandleKey<xAOD::MuonContainer> m_muonContainerKey;
33
  SG::ReadHandleKey<xAOD::VertexContainer> m_offlineVertexContainerKey {this,"OfflineVertexContainerName","PrimaryVertices","Key of offline primary vertexes"};
34
  SG::ReadHandleKey<xAOD::VertexContainer> m_onlineVertexContainerKey {this,"OnlineVertexContainerName","HLT_IDVertex_FS","Key of online bjet primary vertexes"}; // MS 290620
35
  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_onlineTrackContainerKey {this,"OnlineTrackContainerName","HLT_IDTrack_Bjet_IDTrig","Key of online tracks of bjets"};
36
  SG::ReadHandleKey<xAOD::BTaggingContainer> m_onlineBTaggingContainerKey {this,"OnlineBTaggingContainerName","HLT_BTagging","Key of online b-tagging object"};
37

38
  ToolHandle<Trig::TrigDecisionTool> m_trigDec; //!
39

Elemer Nagy's avatar
Elemer Nagy committed
40
  bool m_doRun2;
Elemer Nagy's avatar
Elemer Nagy committed
41
42
};
#endif