ATLAS Offline Software
Loading...
Searching...
No Matches
SuperCellVsCaloCellTestAlg Class Reference

#include <SuperCellVsCaloCellTestAlg.h>

Inheritance diagram for SuperCellVsCaloCellTestAlg:
Collaboration diagram for SuperCellVsCaloCellTestAlg:

Public Member Functions

 SuperCellVsCaloCellTestAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~SuperCellVsCaloCellTestAlg ()
virtual StatusCode initialize ()
virtual StatusCode execute ()
virtual StatusCode finalize ()
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKey {this,"SCCablingKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"}
ToolHandle< ICaloSuperCellIDToolm_sc2ccMappingTool
const CaloCell_IDm_ccIdHelper
std::string m_scKey
std::string m_ccKey
std::string m_tscKey
std::string m_digitKey
std::string m_stream
std::vector< TProfile * > m_etReso
std::vector< TProfile * > m_etResoTruth
std::vector< TH1F * > m_Reso_et
std::vector< TH2F * > m_Reso_et_vs_eta
std::vector< TH2F * > m_Reso_et_vs_et
std::vector< TH2F * > m_Linear_SCet_vs_et
std::map< TString, std::vector< float > > m_graphsX
std::map< TString, std::vector< float > > m_graphsY
int m_eventNumber =0
int m_treeChannel =0
int m_treeSampling =0
float m_treeEta =0
float m_treeSCET =0
float m_treeTruthET =0
std::vector< short int > * m_treeDigits
TTree * m_tree
DataObjIDColl m_extendedExtraObjects
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 28 of file SuperCellVsCaloCellTestAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ SuperCellVsCaloCellTestAlg()

SuperCellVsCaloCellTestAlg::SuperCellVsCaloCellTestAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 26 of file SuperCellVsCaloCellTestAlg.cxx.

26 :
27 AthAlgorithm( name, pSvcLocator ),
28 m_sc2ccMappingTool("CaloSuperCellIDTool"),
29 m_ccIdHelper(nullptr),
30 m_treeDigits(nullptr),
31 m_tree(nullptr)
32{
33
34 declareProperty("SuperCellContainer",m_scKey="SCell");
35 declareProperty("CaloCellContainer",m_ccKey="AllCalo");
36 declareProperty("TruthSuperCellContainer",m_tscKey="SCellTruth");
37 declareProperty("DigitContainer",m_digitKey="LArDigitSCL1","Only used for suspicious supercells");
38
39 declareProperty("OutputStream",m_stream="SUPERCELLTEST");
40
41}
AthAlgorithm()
Default constructor:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ToolHandle< ICaloSuperCellIDTool > m_sc2ccMappingTool
std::vector< short int > * m_treeDigits

◆ ~SuperCellVsCaloCellTestAlg()

SuperCellVsCaloCellTestAlg::~SuperCellVsCaloCellTestAlg ( )
virtualdefault

Member Function Documentation

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode SuperCellVsCaloCellTestAlg::execute ( )
virtual

Definition at line 120 of file SuperCellVsCaloCellTestAlg.cxx.

120 {
121 //get the supercells, calocells
122 const CaloCellContainer* scells=nullptr;CHECK( evtStore()->retrieve(scells, m_scKey) );
123
124 const CaloCellContainer* ccells=nullptr;if(!m_ccKey.empty()) CHECK( evtStore()->retrieve(ccells, m_ccKey) );
125
126 const CaloCellContainer* tscells=nullptr;if(!m_tscKey.empty()) CHECK( evtStore()->retrieve(tscells,m_tscKey) );
127
128 SG::ReadCondHandle<LArOnOffIdMapping> cablingHdl{m_cablingKey};
129 const LArOnOffIdMapping* cabling{*cablingHdl};
130 if(!cabling) {
131 ATH_MSG_ERROR("Do not have SC mapping object " << m_cablingKey.key() );
132 return StatusCode::FAILURE;
133 }
134
135 //iterate over supercells, and build up a histogram of the resolution
136 for(const auto *scell : *scells) {
137 //bool passPeakFinder( (scell->provenance()&0x40) );
138 //if(!passPeakFinder) continue; //skip non maxima?
139
140 int samplingEnum = m_ccIdHelper->calo_sample(scell->ID());
141
142 double scellEt = scell->e()*scell->sinTh()*1e-3;
143
144 if(ccells) {
145 std::vector<Identifier> ccellIds = m_sc2ccMappingTool->superCellToOfflineID( scell->ID() );
146 double cellEt(0.);
147 //use findCell function of CaloCellContainer, which takes an identifier hash
148 for(auto& ccellId : ccellIds) {
149 const CaloCell* ccell = ccells->findCell(m_ccIdHelper->calo_cell_hash(ccellId));
150 if(!ccell) { ATH_MSG_WARNING("Could not find cell"); continue; }
151 if(ccell->e()>0) cellEt += ccell->e()*ccell->sinTh();
152 }
153 if(cellEt>0) m_etReso[samplingEnum]->Fill(cellEt*1e-3,scellEt*1000./cellEt);
154 float resolution = 0.0;
155 if ( std::abs(cellEt)>1 ) resolution = 100*(scellEt - cellEt*1e-3 ) / (cellEt*1e-3);
156 if ( std::abs(cellEt)>150 ) {
157 m_Reso_et[samplingEnum]->Fill( resolution );
158 m_Reso_et_vs_et[samplingEnum]->Fill( cellEt*1e-3, resolution );
159 m_Reso_et_vs_eta[samplingEnum]->Fill( scell->eta(), resolution );
160 m_Linear_SCet_vs_et[samplingEnum]->Fill( cellEt*1e-3 , scellEt );
161 }
162 }
163
164 if(tscells) {
165 const CaloCell* tscell = tscells->findCell(scell->caloDDE()->calo_hash());
166 double tscellEt = tscell->e()*tscell->sinTh()*1e-3;
167 if(tscellEt>0) m_etResoTruth[samplingEnum]->Fill(tscellEt,scellEt/tscellEt);
168
169 //detect suspicious supercells .. where truth energy is greater than 1GeV and we measure less than 25% of it, or super cell ET is greater than 1GeV and truth ET < 25% of that
170 if( (tscellEt>1. && scellEt/tscellEt<0.25) || (scellEt>1. && tscellEt/scellEt<0.25) ) {
171 m_eventNumber = getContext().eventID().event_number();
172
173 HWIdentifier hwid = cabling->createSignalChannelID(scell->ID());
175 m_treeSampling = samplingEnum;
176 m_treeEta = scell->caloDDE()->eta();
177 m_treeSCET = scellEt;
178 m_treeTruthET = tscellEt;
179 if(!m_digitKey.empty()) {
180 const LArDigitContainer* digits=nullptr;CHECK( evtStore()->retrieve(digits, m_digitKey) );
181 for(const auto *digit : *digits) { if(digit->hardwareID()==hwid) *m_treeDigits = digit->samples(); }
182 }
183 m_tree->Fill();
184 }
185
186 }
187
188
189
190
191 }
192
193
194 return StatusCode::SUCCESS;
195}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_WARNING(x)
#define CHECK(...)
Evaluate an expression and check for errors.
const CaloCell * findCell(const IdentifierHash theHash) const
fast find method given identifier hash.
virtual double e() const override final
get energy (data member) (synonym to method energy()
Definition CaloCell.h:333
virtual double sinTh() const override final
get sin(theta) (through CaloDetDescrElement)
Definition CaloCell.h:389
value_type get_compact() const
Get the compact id.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
std::vector< TProfile * > m_etResoTruth
std::vector< TH2F * > m_Linear_SCet_vs_et
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
std::vector< TProfile * > m_etReso
double resolution[nGasTypes][nParametersResolution]
retrieve(aClass, aKey=None)
Definition PyKernel.py:110

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 50 of file AthAlgorithm.cxx.

51{
52 // If we didn't find any symlinks to add, just return the collection
53 // from the base class. Otherwise, return the extended collection.
54 if (!m_extendedExtraObjects.empty()) {
56 }
57 return Algorithm::extraOutputDeps();
58}
DataObjIDColl m_extendedExtraObjects

◆ finalize()

StatusCode SuperCellVsCaloCellTestAlg::finalize ( )
virtual

Definition at line 91 of file SuperCellVsCaloCellTestAlg.cxx.

91 {
92
93 ServiceHandle<ITHistSvc> histSvc("THistSvc",name());
94
95 for(uint i=0;i<CaloSampling::getNumberOfSamplings();i++) { //don't bother writing empty hists
96 if(m_etReso[i]->GetEntries()) CHECK( histSvc->regHist(TString::Format("/%s/SuperCellValidation/%s",m_stream.c_str(),m_etReso[i]->GetName()).Data(),m_etReso[i]) );
97 if(m_Reso_et[i]->GetEntries()) CHECK( histSvc->regHist(TString::Format("/%s/SuperCellValidation/%s",m_stream.c_str(),m_Reso_et[i]->GetName()).Data(), m_Reso_et[i]) );
98 if(m_Reso_et_vs_eta[i]->GetEntries()) CHECK( histSvc->regHist(TString::Format("/%s/SuperCellValidation/%s",m_stream.c_str(),m_Reso_et_vs_eta[i]->GetName()).Data(), m_Reso_et_vs_eta[i]) );
99 if(m_Reso_et_vs_et[i]->GetEntries()) CHECK( histSvc->regHist(TString::Format("/%s/SuperCellValidation/%s",m_stream.c_str(),m_Reso_et_vs_et[i]->GetName()).Data(), m_Reso_et_vs_et[i]) );
100 if(m_Linear_SCet_vs_et[i]->GetEntries()) CHECK( histSvc->regHist(TString::Format("/%s/SuperCellValidation/%s",m_stream.c_str(),m_Linear_SCet_vs_et[i]->GetName()).Data(), m_Linear_SCet_vs_et[i]) );
101
102
103 if(!m_tscKey.empty()) {
104 if(m_etResoTruth[i]->GetEntries())CHECK( histSvc->regHist(TString::Format("/%s/%s",m_stream.c_str(),m_etResoTruth[i]->GetName()).Data(),m_etResoTruth[i]) );
105 }
106 }
107
108 //also write any graphs
109 for(auto graphPointsX : m_graphsX) {
110 TGraph* g = new TGraph(graphPointsX.second.size(),&graphPointsX.second[0],&m_graphsY[graphPointsX.first][0]);
111 g->SetTitle(graphPointsX.first);
112 g->SetMarkerStyle(6);
113 CHECK( histSvc->regGraph(TString::Format("/%s/%s",m_stream.c_str(),graphPointsX.first.Data()).Data(),g) );
114 }
115
116
117 return StatusCode::SUCCESS;
118}
unsigned int uint
TGraphErrors * GetEntries(TH2F *histo)
static constexpr unsigned int getNumberOfSamplings()
Get number of available samplings.
std::map< TString, std::vector< float > > m_graphsX
std::map< TString, std::vector< float > > m_graphsY

◆ initialize()

StatusCode SuperCellVsCaloCellTestAlg::initialize ( )
virtual

Definition at line 47 of file SuperCellVsCaloCellTestAlg.cxx.

47 {
48
49 //get the mapping tool
50 CHECK( m_sc2ccMappingTool.retrieve() );
51 //and the id helper (used for making id hashes)
52 CHECK( detStore()->retrieve (m_ccIdHelper, "CaloCell_ID") );
53
54 double etBins[11] = {0.1,0.25,0.5,0.75,1.,1.5,2.,3.,4.,5.,10.}; //in GeV
56 if(!m_ccKey.empty()) {
57 m_etReso.push_back(new TProfile(TString::Format("%s_calocell",CaloSampling::getSamplingName(i).c_str()),TString::Format("%s;CaloCell E_{T} [GeV];SuperCell E_{T} / CaloCell E_{T}",CaloSampling::getSamplingName(i).c_str()),10,etBins,"s"/* standard deviation for error*/));
58 m_etReso.back()->SetDirectory(nullptr);
59 m_Reso_et.push_back(new TH1F(TString::Format("%s_SuperCellResolution",CaloSampling::getSamplingName(i).c_str()),TString::Format("%s;(SuperCell E_{T} - CaloCell E_{T}) / CaloCell E_{T} (%%)",CaloSampling::getSamplingName(i).c_str()),80,-40,40) );
60 m_Reso_et_vs_et.push_back(new TH2F(TString::Format("%s_SuperCellResolution_versus_et",CaloSampling::getSamplingName(i).c_str()),TString::Format("%s; E_{T}[GeV] ; (SuperCell E_{T} - CaloCell E_{T}) / CaloCell E_{T} (%%)",CaloSampling::getSamplingName(i).c_str()),60,-10,50,80,-40,40) );
61 m_Reso_et_vs_eta.push_back(new TH2F(TString::Format("%s_SuperCellResolution_versus_eta",CaloSampling::getSamplingName(i).c_str()),TString::Format("%s; #eta ; (SuperCell E_{T} - CaloCell E_{T}) / CaloCell E_{T} (%%)",CaloSampling::getSamplingName(i).c_str()),50,-2.5,2.5,80,-40,40) );
62 m_Linear_SCet_vs_et.push_back(new TH2F(TString::Format("%s_Linearity",CaloSampling::getSamplingName(i).c_str()),TString::Format("%s; CaloCell Sum E_{T}[GeV] ; SuperCell E_{T}",CaloSampling::getSamplingName(i).c_str()),60,-10,50,60,-10,50) );
63 }
64 if(!m_tscKey.empty()) {
65 m_etResoTruth.push_back(new TProfile(TString::Format("%s_truth",CaloSampling::getSamplingName(i).c_str()),TString::Format("%s;Truth SuperCell E_{T} [GeV];SuperCell E_{T} / Truth SuperCell E_{T}",CaloSampling::getSamplingName(i).c_str()),10,etBins,"s"/* standard deviation for error*/));
66 m_etResoTruth.back()->SetDirectory(nullptr);
67 }
68 }
69
70 m_tree = new TTree("debug","debug");
71
72 m_treeDigits= new std::vector<short int>;
73
74 m_tree->Branch("EventNumber",&m_eventNumber);
75 m_tree->Branch("Channel",&m_treeChannel);
76 m_tree->Branch("Sampling",&m_treeSampling);
77 m_tree->Branch("eta",&m_treeEta);
78 m_tree->Branch("scET",&m_treeSCET);
79 m_tree->Branch("truthET",&m_treeTruthET);
80 m_tree->Branch("digits",&m_treeDigits);
81
82 ServiceHandle<ITHistSvc> histSvc("THistSvc",name());
83 CHECK( histSvc->regTree(TString::Format("/%s/debug",m_stream.c_str()).Data(),m_tree) );
84
85 ATH_CHECK( m_cablingKey.initialize() );
86
87
88 return StatusCode::SUCCESS;
89}
#define ATH_CHECK
Evaluate an expression and check for errors.
const ServiceHandle< StoreGateSvc > & detStore() const
static std::string getSamplingName(CaloSample theSample)
Returns a string (name) for each CaloSampling.
TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ msg()

MsgStream & AthCommonMsg< Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ sysInitialize()

StatusCode AthAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.

Definition at line 66 of file AthAlgorithm.cxx.

66 {
68
69 if (sc.isFailure()) {
70 return sc;
71 }
72 ServiceHandle<ICondSvc> cs("CondSvc",name());
73 for (auto h : outputHandles()) {
74 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75 // do this inside the loop so we don't create the CondSvc until needed
76 if ( cs.retrieve().isFailure() ) {
77 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78 return StatusCode::SUCCESS;
79 }
80 if (cs->regHandle(this,*h).isFailure()) {
81 sc = StatusCode::FAILURE;
82 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83 << " with CondSvc");
84 }
85 }
86 }
87 return sc;
88}
static Double_t sc
virtual StatusCode sysInitialize() override
Override sysInitialize.
AthCommonDataStore(const std::string &name, T... args)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
::StatusCode StatusCode
StatusCode definition for legacy code.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka

Member Data Documentation

◆ m_cablingKey

SG::ReadCondHandleKey<LArOnOffIdMapping> SuperCellVsCaloCellTestAlg::m_cablingKey {this,"SCCablingKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"}
private

Definition at line 40 of file SuperCellVsCaloCellTestAlg.h.

40{this,"SCCablingKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"};

◆ m_ccIdHelper

const CaloCell_ID* SuperCellVsCaloCellTestAlg::m_ccIdHelper
private

Definition at line 42 of file SuperCellVsCaloCellTestAlg.h.

◆ m_ccKey

std::string SuperCellVsCaloCellTestAlg::m_ccKey
private

Definition at line 44 of file SuperCellVsCaloCellTestAlg.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_digitKey

std::string SuperCellVsCaloCellTestAlg::m_digitKey
private

Definition at line 44 of file SuperCellVsCaloCellTestAlg.h.

◆ m_etReso

std::vector<TProfile*> SuperCellVsCaloCellTestAlg::m_etReso
private

Definition at line 53 of file SuperCellVsCaloCellTestAlg.h.

◆ m_etResoTruth

std::vector<TProfile*> SuperCellVsCaloCellTestAlg::m_etResoTruth
private

Definition at line 54 of file SuperCellVsCaloCellTestAlg.h.

◆ m_eventNumber

int SuperCellVsCaloCellTestAlg::m_eventNumber =0
private

Definition at line 64 of file SuperCellVsCaloCellTestAlg.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_graphsX

std::map<TString,std::vector<float> > SuperCellVsCaloCellTestAlg::m_graphsX
private

Definition at line 61 of file SuperCellVsCaloCellTestAlg.h.

◆ m_graphsY

std::map<TString,std::vector<float> > SuperCellVsCaloCellTestAlg::m_graphsY
private

Definition at line 61 of file SuperCellVsCaloCellTestAlg.h.

◆ m_Linear_SCet_vs_et

std::vector<TH2F*> SuperCellVsCaloCellTestAlg::m_Linear_SCet_vs_et
private

Definition at line 59 of file SuperCellVsCaloCellTestAlg.h.

◆ m_Reso_et

std::vector<TH1F*> SuperCellVsCaloCellTestAlg::m_Reso_et
private

Definition at line 56 of file SuperCellVsCaloCellTestAlg.h.

◆ m_Reso_et_vs_et

std::vector<TH2F*> SuperCellVsCaloCellTestAlg::m_Reso_et_vs_et
private

Definition at line 58 of file SuperCellVsCaloCellTestAlg.h.

◆ m_Reso_et_vs_eta

std::vector<TH2F*> SuperCellVsCaloCellTestAlg::m_Reso_et_vs_eta
private

Definition at line 57 of file SuperCellVsCaloCellTestAlg.h.

◆ m_sc2ccMappingTool

ToolHandle<ICaloSuperCellIDTool> SuperCellVsCaloCellTestAlg::m_sc2ccMappingTool
private

Definition at line 41 of file SuperCellVsCaloCellTestAlg.h.

◆ m_scKey

std::string SuperCellVsCaloCellTestAlg::m_scKey
private

Definition at line 44 of file SuperCellVsCaloCellTestAlg.h.

◆ m_stream

std::string SuperCellVsCaloCellTestAlg::m_stream
private

Definition at line 44 of file SuperCellVsCaloCellTestAlg.h.

◆ m_tree

TTree* SuperCellVsCaloCellTestAlg::m_tree
private

Definition at line 71 of file SuperCellVsCaloCellTestAlg.h.

◆ m_treeChannel

int SuperCellVsCaloCellTestAlg::m_treeChannel =0
private

Definition at line 65 of file SuperCellVsCaloCellTestAlg.h.

◆ m_treeDigits

std::vector<short int>* SuperCellVsCaloCellTestAlg::m_treeDigits
private

Definition at line 70 of file SuperCellVsCaloCellTestAlg.h.

◆ m_treeEta

float SuperCellVsCaloCellTestAlg::m_treeEta =0
private

Definition at line 67 of file SuperCellVsCaloCellTestAlg.h.

◆ m_treeSampling

int SuperCellVsCaloCellTestAlg::m_treeSampling =0
private

Definition at line 66 of file SuperCellVsCaloCellTestAlg.h.

◆ m_treeSCET

float SuperCellVsCaloCellTestAlg::m_treeSCET =0
private

Definition at line 68 of file SuperCellVsCaloCellTestAlg.h.

◆ m_treeTruthET

float SuperCellVsCaloCellTestAlg::m_treeTruthET =0
private

Definition at line 69 of file SuperCellVsCaloCellTestAlg.h.

◆ m_tscKey

std::string SuperCellVsCaloCellTestAlg::m_tscKey
private

Definition at line 44 of file SuperCellVsCaloCellTestAlg.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: