ATLAS Offline Software
jFEXNtupleWriter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //***************************************************************************
6 // jFEXNtupleWriter.h -
7 // -------------------
8 // begin : 12 12 2020
9 // email : varsiha.sothilingam@cern.ch
10 // **************************************************************************
11 #ifndef JFEXTUPLEWRITER_H
12 #define JFEXTUPLEWRITER_H
14 #include "TTree.h"
15 #include "GaudiKernel/ITHistSvc.h"
17 #include <memory>
19 
20 namespace LVL1 {
22 {
23 public:
24  // this is a standard algorithm constructor
25  jFEXNtupleWriter(const std::string& name, ISvcLocator* pSvcLocator);
27  // these are the functions inherited from Algorithm
31 
32 private:
33  SG::ReadHandleKey<LVL1::jFEXOutputCollection> m_jFEXOutputCollectionSGKey {this, "MyOutputs", "jFEXOutputCollection", "MyOutputs"};
34 
35  std::vector<int> m_smallRJet_eta;
36  std::vector<int> m_smallRJet_phi;
37  std::vector<int> m_smallRJet_ET;
38  std::vector<int> m_smallRJet_clusterET;
39 
40  std::vector<int> m_smallRJet_nTOBs;
42 
43  std::vector<int> m_smallRJetTOB_eta;
44  std::vector<int> m_smallRJetTOB_phi;
45  std::vector<int> m_smallRJetTOB_ET;
46  std::vector<int> m_smallRJetTOB_sat;
47  std::vector<int> m_smallRJetTOB_word;
48  std::vector<int> m_smallRJetTOB_jfexID;
49  std::vector<int> m_smallRJetTOB_fpgaID;
50 
51  std::vector<int> m_largeRJet_eta;
52  std::vector<int> m_largeRJet_phi;
53  std::vector<int> m_largeRJet_ET;
54  std::vector<int> m_largeRJet_nTOBs;
55 
56  std::vector<int> m_largeRJetTOB_ET;
57  std::vector<int> m_largeRJetTOB_eta;
58  std::vector<int> m_largeRJetTOB_phi;
59  std::vector<int> m_largeRJetTOB_sat;
60  std::vector<int> m_largeRJetTOB_word;
61  std::vector<int> m_largeRJetTOB_jfexID;
62  std::vector<int> m_largeRJetTOB_fpgaID;
63 
64  std::vector<int> m_tau_isLocalMax;
65  std::vector<int> m_tau_TT_ID;
66  std::vector<int> m_tau_ET;
67  std::vector<int> m_tau_clusterET;
68  std::vector<int> m_tau_eta;
69  std::vector<int> m_tau_phi;
70  std::vector<int> m_tau_realeta;
71  std::vector<int> m_tau_ISO;
72  std::vector<int> m_tau_jFEXid;
73  std::vector<int> m_tau_FPGAid;
74 
75  std::vector<int> m_tau_TOB_word;
76  std::vector<int> m_tau_TOB_ET;
77  std::vector<int> m_tau_TOB_eta;
78  std::vector<int> m_tau_TOB_phi;
79  std::vector<int> m_tau_TOB_ISO;
80  std::vector<int> m_tau_TOB_Sat;
81 
82  //Pile-up
83  std::vector<int> m_pileup_FPGAid;
84  std::vector<int> m_pileup_jFEXid;
85  std::vector<int> m_pileup_rho_EM;
86  std::vector<int> m_pileup_rho_HAD1;
87  std::vector<int> m_pileup_rho_HAD2;
88  std::vector<int> m_pileup_rho_HAD3;
89  std::vector<int> m_pileup_rho_FCAL;
90  std::vector<std::vector<int>> m_pileup_map_ID;
91  std::vector<std::vector<int>> m_pileup_map_Et_values_HAD_jet;
92  std::vector<std::vector<int>> m_pileup_map_Et_values_EM_jet;
93  std::vector<std::vector<int>> m_pileup_map_Et_values_Total_jet;
94  std::vector<std::vector<int>> m_pileup_map_Et_values_HAD_met;
95  std::vector<std::vector<int>> m_pileup_map_Et_values_EM_met;
96  std::vector<std::vector<int>> m_pileup_map_Et_values_Total_met;
97 
98 
99  TTree *m_myTree;
100 
106 
107 };
108 }
109 #endif
LVL1::jFEXNtupleWriter::m_tau_FPGAid
std::vector< int > m_tau_FPGAid
Definition: jFEXNtupleWriter.h:73
LVL1::jFEXNtupleWriter::m_largeRJetTOB_jfexID
std::vector< int > m_largeRJetTOB_jfexID
Definition: jFEXNtupleWriter.h:61
LVL1::jFEXNtupleWriter::m_tau_clusterET
std::vector< int > m_tau_clusterET
Definition: jFEXNtupleWriter.h:67
LVL1::jFEXNtupleWriter::m_smallRJet_ET
std::vector< int > m_smallRJet_ET
Definition: jFEXNtupleWriter.h:37
LVL1::jFEXNtupleWriter::m_tau_TOB_ET
std::vector< int > m_tau_TOB_ET
Definition: jFEXNtupleWriter.h:76
LVL1::jFEXNtupleWriter::m_smallRJetTOB_word
std::vector< int > m_smallRJetTOB_word
Definition: jFEXNtupleWriter.h:47
LVL1::jFEXNtupleWriter::m_largeRJetTOB_phi
std::vector< int > m_largeRJetTOB_phi
Definition: jFEXNtupleWriter.h:58
LVL1::jFEXNtupleWriter::m_smallRJetTOB_sat
std::vector< int > m_smallRJetTOB_sat
Definition: jFEXNtupleWriter.h:46
LVL1::jFEXNtupleWriter::m_pileup_map_Et_values_Total_jet
std::vector< std::vector< int > > m_pileup_map_Et_values_Total_jet
Definition: jFEXNtupleWriter.h:93
LVL1::jFEXNtupleWriter::m_pileup_FPGAid
std::vector< int > m_pileup_FPGAid
Definition: jFEXNtupleWriter.h:83
LVL1::jFEXNtupleWriter::m_tau_TOB_ISO
std::vector< int > m_tau_TOB_ISO
Definition: jFEXNtupleWriter.h:79
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
LVL1::jFEXNtupleWriter::m_largeRJetTOB_word
std::vector< int > m_largeRJetTOB_word
Definition: jFEXNtupleWriter.h:60
LVL1::jFEXNtupleWriter::finalize
StatusCode finalize()
Definition: jFEXNtupleWriter.cxx:128
LVL1::jFEXNtupleWriter::m_tau_TOB_Sat
std::vector< int > m_tau_TOB_Sat
Definition: jFEXNtupleWriter.h:80
LVL1::jFEXNtupleWriter::loadPileupEt
StatusCode loadPileupEt(SG::ReadHandle< LVL1::jFEXOutputCollection >)
Definition: jFEXNtupleWriter.cxx:266
LVL1::jFEXNtupleWriter::m_smallRJet_phi
std::vector< int > m_smallRJet_phi
Definition: jFEXNtupleWriter.h:36
LVL1::jFEXNtupleWriter::m_smallRJetTOB_ET
std::vector< int > m_smallRJetTOB_ET
Definition: jFEXNtupleWriter.h:45
LVL1::jFEXNtupleWriter::m_smallRJetTOB_phi
std::vector< int > m_smallRJetTOB_phi
Definition: jFEXNtupleWriter.h:44
LVL1::jFEXNtupleWriter::m_tau_TOB_word
std::vector< int > m_tau_TOB_word
Definition: jFEXNtupleWriter.h:75
LVL1::jFEXNtupleWriter::m_tau_phi
std::vector< int > m_tau_phi
Definition: jFEXNtupleWriter.h:69
SG::ReadHandleKey< LVL1::jFEXOutputCollection >
LVL1::jFEXNtupleWriter::m_pileup_rho_EM
std::vector< int > m_pileup_rho_EM
Definition: jFEXNtupleWriter.h:85
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::jFEXNtupleWriter::loadPileupVariables
StatusCode loadPileupVariables(SG::ReadHandle< LVL1::jFEXOutputCollection >)
Definition: jFEXNtupleWriter.cxx:242
LVL1::jFEXNtupleWriter::m_tau_ET
std::vector< int > m_tau_ET
Definition: jFEXNtupleWriter.h:66
LVL1::jFEXNtupleWriter::m_pileup_rho_HAD3
std::vector< int > m_pileup_rho_HAD3
Definition: jFEXNtupleWriter.h:88
LVL1::jFEXNtupleWriter::m_largeRJet_eta
std::vector< int > m_largeRJet_eta
Definition: jFEXNtupleWriter.h:51
jFEXOutputCollection.h
LVL1::jFEXNtupleWriter::m_tau_isLocalMax
std::vector< int > m_tau_isLocalMax
Definition: jFEXNtupleWriter.h:64
AthAlgorithm.h
LVL1::jFEXNtupleWriter::m_largeRJetTOB_eta
std::vector< int > m_largeRJetTOB_eta
Definition: jFEXNtupleWriter.h:57
LVL1::jFEXNtupleWriter::m_pileup_map_Et_values_Total_met
std::vector< std::vector< int > > m_pileup_map_Et_values_Total_met
Definition: jFEXNtupleWriter.h:96
LVL1::jFEXNtupleWriter::m_tau_eta
std::vector< int > m_tau_eta
Definition: jFEXNtupleWriter.h:68
LVL1::jFEXNtupleWriter::m_largeRJet_phi
std::vector< int > m_largeRJet_phi
Definition: jFEXNtupleWriter.h:52
LVL1::jFEXNtupleWriter::m_tau_TOB_phi
std::vector< int > m_tau_TOB_phi
Definition: jFEXNtupleWriter.h:78
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1::jFEXNtupleWriter::m_pileup_rho_HAD1
std::vector< int > m_pileup_rho_HAD1
Definition: jFEXNtupleWriter.h:86
LVL1::jFEXNtupleWriter::m_pileup_rho_HAD2
std::vector< int > m_pileup_rho_HAD2
Definition: jFEXNtupleWriter.h:87
LVL1::jFEXNtupleWriter::loadtauAlgoVariables
StatusCode loadtauAlgoVariables(SG::ReadHandle< LVL1::jFEXOutputCollection >)
Definition: jFEXNtupleWriter.cxx:198
LVL1::jFEXNtupleWriter::initialize
StatusCode initialize()
Definition: jFEXNtupleWriter.cxx:34
LVL1::jFEXNtupleWriter::m_largeRJetTOB_ET
std::vector< int > m_largeRJetTOB_ET
Definition: jFEXNtupleWriter.h:56
LVL1::jFEXNtupleWriter::m_smallRJet_isCentralTowerSeed
std::vector< int > m_smallRJet_isCentralTowerSeed
Definition: jFEXNtupleWriter.h:41
LVL1::jFEXNtupleWriter::m_tau_jFEXid
std::vector< int > m_tau_jFEXid
Definition: jFEXNtupleWriter.h:72
LVL1::jFEXNtupleWriter::m_largeRJetTOB_sat
std::vector< int > m_largeRJetTOB_sat
Definition: jFEXNtupleWriter.h:59
LVL1::jFEXNtupleWriter::m_jFEXOutputCollectionSGKey
SG::ReadHandleKey< LVL1::jFEXOutputCollection > m_jFEXOutputCollectionSGKey
Definition: jFEXNtupleWriter.h:33
AthAlgorithm
Definition: AthAlgorithm.h:47
LVL1::jFEXNtupleWriter::execute
StatusCode execute()
Definition: jFEXNtupleWriter.cxx:109
TrigConf::name
Definition: HLTChainList.h:35
LVL1::jFEXNtupleWriter::m_smallRJetTOB_eta
std::vector< int > m_smallRJetTOB_eta
Definition: jFEXNtupleWriter.h:43
LVL1::jFEXNtupleWriter
Definition: jFEXNtupleWriter.h:22
LVL1::jFEXNtupleWriter::m_tau_TT_ID
std::vector< int > m_tau_TT_ID
Definition: jFEXNtupleWriter.h:65
LVL1::jFEXNtupleWriter::loadlargeRJetAlgoVariables
StatusCode loadlargeRJetAlgoVariables(SG::ReadHandle< LVL1::jFEXOutputCollection >)
Definition: jFEXNtupleWriter.cxx:166
LVL1::jFEXNtupleWriter::m_myTree
TTree * m_myTree
Definition: jFEXNtupleWriter.h:99
LVL1::jFEXNtupleWriter::m_tau_TOB_eta
std::vector< int > m_tau_TOB_eta
Definition: jFEXNtupleWriter.h:77
LVL1::jFEXNtupleWriter::~jFEXNtupleWriter
~jFEXNtupleWriter()
Definition: jFEXNtupleWriter.cxx:30
LVL1::jFEXNtupleWriter::loadsmallRJetAlgoVariables
StatusCode loadsmallRJetAlgoVariables(SG::ReadHandle< LVL1::jFEXOutputCollection >)
Definition: jFEXNtupleWriter.cxx:133
LVL1::jFEXNtupleWriter::m_smallRJet_clusterET
std::vector< int > m_smallRJet_clusterET
Definition: jFEXNtupleWriter.h:38
LVL1::jFEXNtupleWriter::m_tau_ISO
std::vector< int > m_tau_ISO
Definition: jFEXNtupleWriter.h:71
LVL1::jFEXNtupleWriter::m_pileup_map_Et_values_HAD_met
std::vector< std::vector< int > > m_pileup_map_Et_values_HAD_met
Definition: jFEXNtupleWriter.h:94
LVL1::jFEXNtupleWriter::m_smallRJetTOB_fpgaID
std::vector< int > m_smallRJetTOB_fpgaID
Definition: jFEXNtupleWriter.h:49
LVL1::jFEXNtupleWriter::m_tau_realeta
std::vector< int > m_tau_realeta
Definition: jFEXNtupleWriter.h:70
LVL1::jFEXNtupleWriter::jFEXNtupleWriter
jFEXNtupleWriter(const std::string &name, ISvcLocator *pSvcLocator)
Definition: jFEXNtupleWriter.cxx:28
LVL1::jFEXNtupleWriter::m_pileup_map_Et_values_EM_met
std::vector< std::vector< int > > m_pileup_map_Et_values_EM_met
Definition: jFEXNtupleWriter.h:95
LVL1::jFEXNtupleWriter::m_smallRJetTOB_jfexID
std::vector< int > m_smallRJetTOB_jfexID
Definition: jFEXNtupleWriter.h:48
LVL1::jFEXNtupleWriter::m_largeRJet_ET
std::vector< int > m_largeRJet_ET
Definition: jFEXNtupleWriter.h:53
LVL1::jFEXNtupleWriter::m_largeRJet_nTOBs
std::vector< int > m_largeRJet_nTOBs
Definition: jFEXNtupleWriter.h:54
TruthParticle.h
LVL1::jFEXNtupleWriter::m_pileup_jFEXid
std::vector< int > m_pileup_jFEXid
Definition: jFEXNtupleWriter.h:84
LVL1::jFEXNtupleWriter::m_largeRJetTOB_fpgaID
std::vector< int > m_largeRJetTOB_fpgaID
Definition: jFEXNtupleWriter.h:62
LVL1::jFEXNtupleWriter::m_pileup_rho_FCAL
std::vector< int > m_pileup_rho_FCAL
Definition: jFEXNtupleWriter.h:89
LVL1::jFEXNtupleWriter::m_pileup_map_ID
std::vector< std::vector< int > > m_pileup_map_ID
Definition: jFEXNtupleWriter.h:90
LVL1::jFEXNtupleWriter::m_smallRJet_nTOBs
std::vector< int > m_smallRJet_nTOBs
Definition: jFEXNtupleWriter.h:40
LVL1::jFEXNtupleWriter::m_smallRJet_eta
std::vector< int > m_smallRJet_eta
Definition: jFEXNtupleWriter.h:35
LVL1::jFEXNtupleWriter::m_pileup_map_Et_values_EM_jet
std::vector< std::vector< int > > m_pileup_map_Et_values_EM_jet
Definition: jFEXNtupleWriter.h:92
LVL1::jFEXNtupleWriter::m_pileup_map_Et_values_HAD_jet
std::vector< std::vector< int > > m_pileup_map_Et_values_HAD_jet
Definition: jFEXNtupleWriter.h:91