ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloLocalHadCalib
CaloLocalHadCalib
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
19
20
#include "
AthenaBaseComps/AthAlgorithm.h
"
21
#include "
xAODCaloEvent/CaloClusterContainer.h
"
22
#include "
StoreGate/ReadHandleKey.h
"
23
#include <vector>
24
#include <string>
25
#include "
CxxUtils/checker_macros.h
"
26
27
class
TTree;
28
class
TFile;
29
class
CaloCell_ID
;
30
class
CaloLocalHadCoeff
;
31
class
CaloHadDMCoeffData
;
32
33
class
ATLAS_NOT_THREAD_SAFE
GetLCDeadMaterialTree
:
public
AthAlgorithm
{
34
35
public
:
36
37
GetLCDeadMaterialTree
(
const
std::string& name, ISvcLocator* pSvcLocator);
38
virtual
~GetLCDeadMaterialTree
();
39
virtual
StatusCode
initialize
();
40
virtual
StatusCode
execute
(
const
EventContext& ctx);
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
72
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterCollName
;
73
76
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterCollNameCalib
;
77
80
CaloLocalHadCoeff
*
m_HadDMCoeff
;
81
84
CaloHadDMCoeffData
*
m_data
;
85
88
bool
m_doSaveCalibClusInfo
;
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
98
const
CaloCell_ID
*
m_calo_id
;
99
};
100
101
#endif
// CALOLOCALHADCALIB_GETLCDEADMATERIALTREE_H
102
AthAlgorithm.h
CaloClusterContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
checker_macros.h
Define macros for attributes used to control the static checker.
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
AthAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx)=0
Execute method.
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloHadDMCoeffData
Data to read from special DeadMaterialTree.
Definition
CaloHadDMCoeffData.h:30
CaloLocalHadCoeff
Hold binned correction data for local hadronic calibration procedure.
Definition
CaloLocalHadCoeff.h:41
GetLCDeadMaterialTree::m_HadDMCoeff
CaloLocalHadCoeff * m_HadDMCoeff
Collection of dead material correction coeffitients.
Definition
GetLCDeadMaterialTree.h:80
GetLCDeadMaterialTree::m_outputFileName
std::string m_outputFileName
Name of the output file to save tree in.
Definition
GetLCDeadMaterialTree.h:62
GetLCDeadMaterialTree::m_clusterCollNameCalib
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterCollNameCalib
Name of the calibrated CaloClusterContainer to use.
Definition
GetLCDeadMaterialTree.h:76
GetLCDeadMaterialTree::m_energyMin
double m_energyMin
Definition
GetLCDeadMaterialTree.h:91
GetLCDeadMaterialTree::moment_name_pair
std::pair< std::string, xAOD::CaloCluster::MomentType > moment_name_pair
Definition
GetLCDeadMaterialTree.h:94
GetLCDeadMaterialTree::moment_name_vector
std::vector< moment_name_pair > moment_name_vector
Definition
GetLCDeadMaterialTree.h:95
GetLCDeadMaterialTree::m_calo_id
const CaloCell_ID * m_calo_id
Definition
GetLCDeadMaterialTree.h:98
GetLCDeadMaterialTree::m_doSaveCalibClusInfo
bool m_doSaveCalibClusInfo
save additional cluster info from calibrated collections
Definition
GetLCDeadMaterialTree.h:88
GetLCDeadMaterialTree::m_outputTree
TTree * m_outputTree
Output tree.
Definition
GetLCDeadMaterialTree.h:55
GetLCDeadMaterialTree::m_HadDMCoeffInitFile
std::string m_HadDMCoeffInitFile
Name of text file with initial parameters for coefficients calculation.
Definition
GetLCDeadMaterialTree.h:49
GetLCDeadMaterialTree::GetLCDeadMaterialTree
GetLCDeadMaterialTree(const std::string &name, ISvcLocator *pSvcLocator)
Definition
GetLCDeadMaterialTree.cxx:58
GetLCDeadMaterialTree::m_data
CaloHadDMCoeffData * m_data
data to save into the tree
Definition
GetLCDeadMaterialTree.h:84
GetLCDeadMaterialTree::m_clusterCollName
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterCollName
Name of the uncalibrated CaloClusterContainer to use.
Definition
GetLCDeadMaterialTree.h:72
GetLCDeadMaterialTree::m_momentForDMArea
std::vector< xAOD::CaloCluster::MomentType > m_momentForDMArea
Definition
GetLCDeadMaterialTree.h:96
GetLCDeadMaterialTree::finalize
virtual StatusCode finalize()
Definition
GetLCDeadMaterialTree.cxx:175
GetLCDeadMaterialTree::m_outputFile
TFile * m_outputFile
Output file to save tree in.
Definition
GetLCDeadMaterialTree.h:68
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0