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

// ***************************************************
//
// NAME:     HLTBjetMonTool.h
// PACKAGE:  Trigger/TrigMonitoring/TrigHLTMonitoring
//
// AUTHOR:   Andrea Coccaro
// EMAIL:    Andrea.Coccaro@cern.ch
12
//
13
14
15
16
17
18
19
20
// ***************************************************

#ifndef HLTBJETMONTOOL_H
#define HLTBJETMONTOOL_H

#include "TrigHLTMonitoring/IHLTMonTool.h"
#include <string>
#include <vector>
21
#include <map>
22
23
24



25
#include "TrigInDetToolInterfaces/ITrigTrackJetFinderTool.h"
26

27
28

#include "TrigDecisionTool/TrigDecisionTool.h"
29
30
31


class HLTBjetMonTool : public IHLTMonTool {
32

33
34
 public:

35
  HLTBjetMonTool(const std::string & type, const std::string & name, const IInterface* parent);
36
  ~HLTBjetMonTool();
37

38
39
  StatusCode init();

40

41
42
43
#ifdef ManagedMonitorToolBase_Uses_API_201401
  StatusCode book();
#else
44
  StatusCode book(bool newEventsBlock, bool newLumiBlock, bool newRun);
45
46
47
48
49
50
51
52
53
#endif


  StatusCode fill();


#ifdef ManagedMonitorToolBase_Uses_API_201401
  StatusCode proc();
#else
54
  StatusCode proc(bool endOfEventsBlock, bool endOfLumiBlock, bool endOfRun);
55
56
57
58
59
60
61
62
#endif



 private:

  ToolHandle<ITrigTrackJetFinderTool> m_trackJetFinderTool;

63
  std::vector<std::string> m_TriggerChainBjet, m_TriggerChainMujet;
64
65
  std::vector<std::string> m_TriggerChainBjet_x, m_TriggerChainMujet_x;

66
67
  std::map<std::string,std::string> m_Chain2Dir;
  std::vector<std::string> m_Shifter_jSplit, m_Expert_jSplit, m_Shifter_jUnSplit,  m_Expert_jUnSplit, m_Shifter_mujet, m_Expert_mujet;
68

69
  Gaudi::Property<std::string> m_onlineBjetContainerKey {this,"OnlineBJetContainerKey","HLT_bJets",
70
71
      "The SG key of the online BJet container from the TriggerEDMRun3"};

72
  SG::ReadHandleKey<xAOD::VertexContainer> m_offlineVertexContainerKey {this,"OfflineVertexContainerName","PrimaryVertices","Key of offline primary vertexes"};
73
  SG::ReadHandleKey<xAOD::VertexContainer> m_onlineVertexContainerKey {this,"OnlineVertexContainerName","HLT_IDVertex_FS","Key of online bjet primary vertexes"}; // MS 290620
74
  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_onlineTrackContainerKey {this,"OnlineTrackContainerName","HLT_IDTrack_Bjet_IDTrig","Key of online tracks of bjets"};
75
  SG::ReadHandleKey<xAOD::BTaggingContainer> m_onlineBTaggingContainerKey {this,"OnlineBTaggingContainerName","HLT_BTagging","Key of online b-tagging object"};
76

77
  ToolHandle<Trig::TrigDecisionTool> m_trigDec; //!
78

79
80
81
  float phiCorr(float);
  float m_etCut;
  std::string m_sv1_infosource;
82
83
84
85

};

#endif