ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloLocalHadCalib
CaloLocalHadCalib
GetLCClassification.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_GETLCCLASSIFICATION_H
6
#define CALOLOCALHADCALIB_GETLCCLASSIFICATION_H
7
20
21
#include "
AthenaBaseComps/AthAlgorithm.h
"
22
#include "
xAODCaloEvent/CaloClusterContainer.h
"
23
#include "
StoreGate/ReadHandleKey.h
"
24
#include "GaudiKernel/HistoDef.h"
25
#include <vector>
26
#include <string>
27
28
class
TH2F;
29
class
TFile;
30
31
class
GetLCClassification
:
public
AthAlgorithm
32
{
33
34
public
:
35
36
GetLCClassification
(
const
std::string& name, ISvcLocator* pSvcLocator);
37
virtual
~GetLCClassification
();
38
virtual
StatusCode
initialize
();
39
virtual
StatusCode
execute
(
const
EventContext& ctx);
40
virtual
StatusCode
finalize
();
41
42
private
:
43
44
void
mapinsert
(
const
std::vector<Gaudi::Histo1DDef> & dims);
45
46
void
mapparse
();
47
73
std::vector<Gaudi::Histo1DDef>
m_dimensions
;
74
81
std::map<std::string,Gaudi::Histo1DDef>
m_dimensionsmap
;
82
87
std::vector<int>
m_isampmap
;
88
93
std::vector<TH2F *>
m_hclus
;
94
100
std::string
m_outputFileName
;
101
106
std::unique_ptr<TFile>
m_outputFile
;
107
110
111
SG::ReadHandleKey<xAOD::CaloClusterContainer>
m_clusterCollName
;
112
122
123
std::string
m_NormalizationType
;
124
125
int
m_NormalizationTypeNumber
;
126
135
136
std::string
m_ClassificationType
;
137
138
int
m_ClassificationTypeNumber
;
139
140
};
141
142
#endif
// CALOLOCALHADCALIB_GETLCCLASSIFICATION_H
AthAlgorithm.h
CaloClusterContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
GetLCClassification::~GetLCClassification
virtual ~GetLCClassification()
Definition
GetLCClassification.cxx:84
GetLCClassification::execute
virtual StatusCode execute(const EventContext &ctx)
Execute method.
Definition
GetLCClassification.cxx:253
GetLCClassification::m_ClassificationType
std::string m_ClassificationType
string to choose different classification types
Definition
GetLCClassification.h:136
GetLCClassification::m_outputFile
std::unique_ptr< TFile > m_outputFile
Output file to save histograms in.
Definition
GetLCClassification.h:106
GetLCClassification::m_dimensions
std::vector< Gaudi::Histo1DDef > m_dimensions
definition of all dimensions used for classification
Definition
GetLCClassification.h:73
GetLCClassification::m_NormalizationTypeNumber
int m_NormalizationTypeNumber
Definition
GetLCClassification.h:125
GetLCClassification::initialize
virtual StatusCode initialize()
Definition
GetLCClassification.cxx:89
GetLCClassification::m_outputFileName
std::string m_outputFileName
Name of the output file to save histograms in.
Definition
GetLCClassification.h:100
GetLCClassification::m_clusterCollName
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterCollName
Name of the CaloClusterContainer to use.
Definition
GetLCClassification.h:111
GetLCClassification::mapinsert
void mapinsert(const std::vector< Gaudi::Histo1DDef > &dims)
Definition
GetLCClassification.cxx:399
GetLCClassification::GetLCClassification
GetLCClassification(const std::string &name, ISvcLocator *pSvcLocator)
Definition
GetLCClassification.cxx:42
GetLCClassification::m_isampmap
std::vector< int > m_isampmap
Vector of indices in m_dimensions.
Definition
GetLCClassification.h:87
GetLCClassification::m_NormalizationType
std::string m_NormalizationType
string to choose different normalization types
Definition
GetLCClassification.h:123
GetLCClassification::m_dimensionsmap
std::map< std::string, Gaudi::Histo1DDef > m_dimensionsmap
property to set all dimensions introduced above
Definition
GetLCClassification.h:81
GetLCClassification::m_hclus
std::vector< TH2F * > m_hclus
Vector of actual histograms.
Definition
GetLCClassification.h:93
GetLCClassification::m_ClassificationTypeNumber
int m_ClassificationTypeNumber
Definition
GetLCClassification.h:138
GetLCClassification::mapparse
void mapparse()
Definition
GetLCClassification.cxx:405
GetLCClassification::finalize
virtual StatusCode finalize()
Definition
GetLCClassification.cxx:239
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0