TrigBjetMonitorAlgorithm.h 1.61 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
29
  Gaudi::Property<std::string> m_onlineBjetContainerKey {this,"OnlineBJetContainerKey","HLT_GSCJet",
    "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
34
  SG::ReadHandleKey<xAOD::VertexContainer> m_offlineVertexContainerKey {this,"OfflineVertexContainerName","PrimaryVertices","Key of offline primary vertexes"};
  SG::ReadHandleKey<xAOD::VertexContainer> m_onlineVertexContainerKey {this,"OnlineVertexContainerName","HLT_EFHistoPrmVtx","Key of online bjet primary vertexes"};
35
  ToolHandle<Trig::TrigDecisionTool> m_trigDec; //!
Elemer Nagy's avatar
Elemer Nagy committed
36
  bool m_doRun2;
Elemer Nagy's avatar
Elemer Nagy committed
37
38
};
#endif