ATLAS Offline Software
GetLCDeadMaterialTree.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOLOCALHADCALIB_GETLCDEADMATERIALTREE_H
6 #define CALOLOCALHADCALIB_GETLCDEADMATERIALTREE_H
7 
23 #include <vector>
24 #include <string>
26 
27 class TTree;
28 class TFile;
29 class CaloCell_ID;
30 class CaloLocalHadCoeff;
31 class CaloHadDMCoeffData;
32 
34 
35  public:
36 
37  GetLCDeadMaterialTree(const std::string& name, ISvcLocator* pSvcLocator);
38  virtual ~GetLCDeadMaterialTree();
39  virtual StatusCode initialize();
40  virtual StatusCode execute();
41  virtual StatusCode finalize();
42 
43  private:
49  std::string m_HadDMCoeffInitFile;
50 
55  TTree *m_outputTree;
56 
62  std::string m_outputFileName;
63 
68  TFile * m_outputFile;
69 
73 
77 
81 
85 
89 
90 
91  double m_energyMin;
92  //double m_energyMax;
93 
94  typedef std::pair<std::string,xAOD::CaloCluster::MomentType> moment_name_pair;
95  typedef std::vector<moment_name_pair> moment_name_vector;
96  std::vector<xAOD::CaloCluster::MomentType> m_momentForDMArea;
97 
99 };
100 
101 #endif // CALOLOCALHADCALIB_GETLCDEADMATERIALTREE_H
102 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
GetLCDeadMaterialTree::m_energyMin
double m_energyMin
Definition: GetLCDeadMaterialTree.h:91
GetLCDeadMaterialTree::m_clusterCollName
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterCollName
Name of the uncalibrated CaloClusterContainer to use.
Definition: GetLCDeadMaterialTree.h:72
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
GetLCDeadMaterialTree::m_outputFileName
std::string m_outputFileName
Name of the output file to save tree in.
Definition: GetLCDeadMaterialTree.h:62
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
initialize
void initialize()
Definition: run_EoverP.cxx:894
GetLCDeadMaterialTree::m_HadDMCoeffInitFile
std::string m_HadDMCoeffInitFile
Name of text file with initial parameters for coefficients calculation.
Definition: GetLCDeadMaterialTree.h:49
SG::ReadHandleKey< xAOD::CaloClusterContainer >
GetLCDeadMaterialTree::m_calo_id
const CaloCell_ID * m_calo_id
Definition: GetLCDeadMaterialTree.h:98
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
GetLCDeadMaterialTree::m_data
CaloHadDMCoeffData * m_data
data to save into the tree
Definition: GetLCDeadMaterialTree.h:84
GetLCDeadMaterialTree::moment_name_pair
std::pair< std::string, xAOD::CaloCluster::MomentType > moment_name_pair
Definition: GetLCDeadMaterialTree.h:94
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloLocalHadCoeff
Hold binned correction data for local hadronic calibration procedure.
Definition: CaloLocalHadCoeff.h:41
CaloHadDMCoeffData
Data to read from special DeadMaterialTree.
Definition: CaloHadDMCoeffData.h:30
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
GetLCDeadMaterialTree
Definition: GetLCDeadMaterialTree.h:33
AthAlgorithm
Definition: AthAlgorithm.h:47
GetLCDeadMaterialTree::m_momentForDMArea
std::vector< xAOD::CaloCluster::MomentType > m_momentForDMArea
Definition: GetLCDeadMaterialTree.h:96
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
GetLCDeadMaterialTree::moment_name_vector
std::vector< moment_name_pair > moment_name_vector
Definition: GetLCDeadMaterialTree.h:95
GetLCDeadMaterialTree::m_outputFile
TFile * m_outputFile
Output file to save tree in.
Definition: GetLCDeadMaterialTree.h:68
CaloClusterContainer.h
GetLCDeadMaterialTree::m_outputTree
TTree * m_outputTree
Output tree.
Definition: GetLCDeadMaterialTree.h:55
GetLCDeadMaterialTree::m_clusterCollNameCalib
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterCollNameCalib
Name of the calibrated CaloClusterContainer to use.
Definition: GetLCDeadMaterialTree.h:76
checker_macros.h
Define macros for attributes used to control the static checker.
GetLCDeadMaterialTree::m_doSaveCalibClusInfo
bool m_doSaveCalibClusInfo
save additional cluster info from calibrated collections
Definition: GetLCDeadMaterialTree.h:88
GetLCDeadMaterialTree::m_HadDMCoeff
CaloLocalHadCoeff * m_HadDMCoeff
Collection of dead material correction coeffitients.
Definition: GetLCDeadMaterialTree.h:80