ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
LArRDOAnalysis Class Reference

#include <LArRDOAnalysis.h>

Inheritance diagram for LArRDOAnalysis:
Collaboration diagram for LArRDOAnalysis:

Public Member Functions

 LArRDOAnalysis (const std::string &name, ISvcLocator *pSvcLocator)
 
 ~LArRDOAnalysis ()
 
virtual StatusCode initialize () override final
 
virtual StatusCode execute () override final
 
virtual StatusCode finalize () override final
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadHandleKey< LArRawChannelContainerm_inputRawChannelKey
 
SG::ReadHandleKey< LArTTL1Containerm_inputTTL1HADKey
 
SG::ReadHandleKey< LArTTL1Containerm_inputTTL1EMKey
 
SG::ReadHandleKey< LArDigitContainerm_inputDigitKey
 
BooleanProperty m_presampling {this, "PreSampling", false}
 
std::vector< unsigned long long > * m_larID
 
std::vector< int > * m_energy
 
std::vector< int > * m_time
 
std::vector< uint16_t > * m_qual
 
std::vector< uint16_t > * m_prov
 
std::vector< int > * m_gain
 
std::vector< unsigned long long > * m_hadOnID
 
std::vector< unsigned long long > * m_hadOffID
 
std::vector< float > * m_hadSamples
 
std::vector< unsigned long long > * m_emOnID
 
std::vector< unsigned long long > * m_emOffID
 
std::vector< float > * m_emSamples
 
std::vector< unsigned long long > * m_digiID
 
std::vector< int > * m_digiGain
 
std::vector< short > * m_digiSamples
 
TH1 * m_h_larID
 
TH1 * m_h_energy
 
TH1 * m_h_time
 
TH1 * m_h_qual
 
TH1 * m_h_prov
 
TH1 * m_h_gain
 
TH1 * m_h_hadOnID
 
TH1 * m_h_hadOffID
 
TH1 * m_h_hadSamples
 
TH1 * m_h_emOnID
 
TH1 * m_h_emOffID
 
TH1 * m_h_emSamples
 
TH1 * m_h_digiID
 
TH1 * m_h_digiGain
 
TH1 * m_h_digiSamples
 
TTree * m_tree
 
std::string m_ntupleFileName
 
std::string m_ntupleDirName
 
std::string m_ntupleTreeName
 
std::string m_path
 
ServiceHandle< ITHistSvc > m_thistSvc
 
DataObjIDColl m_extendedExtraObjects
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Definition at line 25 of file LArRDOAnalysis.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

◆ LArRDOAnalysis()

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

Definition at line 17 of file LArRDOAnalysis.cxx.

18  : AthAlgorithm(name, pSvcLocator)
19  , m_inputRawChannelKey("LArRawChannels")
20  , m_inputTTL1HADKey("LArTTL1HAD")
21  , m_inputTTL1EMKey("LArTTL1EM")
22  , m_inputDigitKey("LArDigitContainer_MC_Thinned")
23  , m_larID(0)
24  , m_energy(0)
25  , m_time(0)
26  , m_qual(0)
27  , m_prov(0)
28  , m_gain(0)
29  , m_hadOnID(0)
30  , m_hadOffID(0)
31  , m_hadSamples(0)
32  , m_emOnID(0)
33  , m_emOffID(0)
34  , m_emSamples(0)
35  , m_digiID(0)
36  , m_digiGain(0)
37  , m_digiSamples(0)
38 
39  , m_h_larID(0)
40  , m_h_energy(0)
41  , m_h_time(0)
42  , m_h_qual(0)
43  , m_h_prov(0)
44  , m_h_gain(0)
45  , m_h_hadOnID(0)
46  , m_h_hadOffID(0)
47  , m_h_hadSamples(0)
48  , m_h_emOnID(0)
49  , m_h_emOffID(0)
50  , m_h_emSamples(0)
51  , m_h_digiID(0)
52  , m_h_digiGain(0)
53  , m_h_digiSamples(0)
54 
55  , m_tree(0)
56  , m_ntupleFileName("/ntuples/file1")
57  , m_ntupleDirName("/LArRDOAnalysis/")
58  , m_ntupleTreeName("LArRDOAna")
59  , m_path("/LArRDOAnalysis/")
60  , m_thistSvc("THistSvc", name)
61 {
62  declareProperty("InputRawChannelKey", m_inputRawChannelKey);
63  declareProperty("InputTTL1HADKey", m_inputTTL1HADKey);
64  declareProperty("InputTTL1EMKey", m_inputTTL1EMKey);
65  declareProperty("InputDigitKey", m_inputDigitKey);
66  declareProperty("NtupleFileName", m_ntupleFileName);
67  declareProperty("NtupleDirectoryName", m_ntupleDirName);
68  declareProperty("NtupleTreeName", m_ntupleTreeName);
69  declareProperty("HistPath", m_path);
70 }

◆ ~LArRDOAnalysis()

LArRDOAnalysis::~LArRDOAnalysis ( )
inline

Definition at line 29 of file LArRDOAnalysis.h.

29 {}

Member Function Documentation

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ 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.

95 { return m_detStore; }

◆ evtStore() [1/2]

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.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode LArRDOAnalysis::execute ( )
finaloverridevirtual

Definition at line 172 of file LArRDOAnalysis.cxx.

172  {
173  ATH_MSG_DEBUG( "In LArRDOAnalysis::execute()" );
174 
175  m_larID->clear();
176  m_energy->clear();
177  m_time->clear();
178  m_qual->clear();
179  m_prov->clear();
180  m_gain->clear();
181  m_hadOnID->clear();
182  m_hadOffID->clear();
183  m_hadSamples->clear();
184  m_emOnID->clear();
185  m_emOffID->clear();
186  m_emSamples->clear();
187  m_digiID->clear();
188  m_digiGain->clear();
189  m_digiSamples->clear();
190 
191  if (!m_presampling)
192  {
193  // LAr Raw Channels
195  if (p_larRawCont.isValid()) {
196  // loop over LAr raw channels container
197  LArRawChannelContainer::const_iterator lar_itr(p_larRawCont->begin());
198  const LArRawChannelContainer::const_iterator lar_end(p_larRawCont->end());
199  for ( ; lar_itr != lar_end; ++lar_itr ) {
200  const HWIdentifier larID(lar_itr->identify());
201  const int rawEnergy(lar_itr->energy());
202  const int rawTime(lar_itr->time());
203  const uint16_t rawQual(lar_itr->quality());
204  const uint16_t rawProv(lar_itr->provenance());
205  CaloGain::CaloGain larGain(lar_itr->gain());
206 
207  const unsigned long long larID_int = larID.get_compact();
208  const int larGain_int = (int)larGain;
209  m_larID->push_back(larID_int);
210  m_energy->push_back(rawEnergy);
211  m_time->push_back(rawTime);
212  m_qual->push_back(rawQual);
213  m_prov->push_back(rawProv);
214  m_gain->push_back(larGain_int);
215 
216  m_h_larID->Fill(larID_int);
217  m_h_energy->Fill(rawEnergy);
218  m_h_time->Fill(rawTime);
219  m_h_qual->Fill(rawQual);
220  m_h_prov->Fill(rawProv);
221  m_h_gain->Fill(larGain_int);
222  }
223  }
224 
225 
226  // LAr TTL1 - Had
228  if (p_larTTL1Cont_had.isValid()) {
229  LArTTL1Container::const_iterator ttl1Had_itr(p_larTTL1Cont_had->begin());
230  const LArTTL1Container::const_iterator ttl1Had_end(p_larTTL1Cont_had->end());
231  for ( ; ttl1Had_itr != ttl1Had_end; ++ttl1Had_itr ) {
232  const HWIdentifier& hadOnID((*ttl1Had_itr)->ttOnlineID());
233  const Identifier& hadOffID((*ttl1Had_itr)->ttOfflineID());
234  const std::vector<float>& hadSamples = (*ttl1Had_itr)->samples();
235 
236  const unsigned long long hadOnID_int = hadOnID.get_compact();
237  const unsigned long long hadOffID_int = hadOffID.get_compact();
238  m_hadOnID->push_back(hadOnID_int);
239  m_hadOffID->push_back(hadOffID_int);
240  for (std::vector<float>::size_type i = 0; i != hadSamples.size(); ++i) {
241  m_hadSamples->push_back(hadSamples.at(i));
242  m_h_hadSamples->Fill(hadSamples.at(i));
243  }
244 
245  m_h_hadOnID->Fill(hadOnID_int);
246  m_h_hadOffID->Fill(hadOffID_int);
247  }
248  }
249 
250  // LAr TTL1 - EM
252  if (p_larTTL1Cont_em.isValid()) {
253  LArTTL1Container::const_iterator ttl1EM_itr(p_larTTL1Cont_em->begin());
254  const LArTTL1Container::const_iterator ttl1EM_end(p_larTTL1Cont_em->end());
255  for ( ; ttl1EM_itr != ttl1EM_end; ++ttl1EM_itr ) {
256  const HWIdentifier& emOnID((*ttl1EM_itr)->ttOnlineID());
257  const Identifier& emOffID((*ttl1EM_itr)->ttOfflineID());
258  const std::vector<float>& emSamples((*ttl1EM_itr)->samples());
259 
260  const unsigned long long emOnID_int = emOnID.get_compact();
261  const unsigned long long emOffID_int = emOffID.get_compact();
262  m_emOnID->push_back(emOnID_int);
263  m_emOffID->push_back(emOffID_int);
264  for (std::vector<float>::size_type j = 0; j != emSamples.size(); ++j) {
265  m_emSamples->push_back(emSamples.at(j));
266  m_h_emSamples->Fill(emSamples.at(j));
267  }
268 
269  m_h_emOnID->Fill(emOnID_int);
270  m_h_emOffID->Fill(emOffID_int);
271  }
272  }
273  }
274 
275  // LAr Digits
277  if (p_larDigiCont.isValid()) {
278  LArDigitContainer::const_iterator digi_itr(p_larDigiCont->begin());
279  const LArDigitContainer::const_iterator digi_end(p_larDigiCont->end());
280  for ( ; digi_itr != digi_end; ++digi_itr ) {
281  const HWIdentifier& digiID((*digi_itr)->hardwareID());
282  CaloGain::CaloGain digiGain((*digi_itr)->gain());
283  const std::vector<short>& digiSamples = (*digi_itr)->samples();
284 
285  const unsigned long long digiID_int = digiID.get_compact();
286  const int digiGain_int = (int)digiGain;
287  m_digiID->push_back(digiID_int);
288  m_digiGain->push_back(digiGain_int);
289  for (std::vector<short>::size_type k = 0; k != digiSamples.size(); ++k) {
290  m_digiSamples->push_back(digiSamples.at(k));
291  m_h_digiSamples->Fill(digiSamples.at(k));
292  }
293 
294  m_h_digiID->Fill(digiID_int);
295  m_h_digiGain->Fill(digiGain_int);
296  }
297  }
298 
299  if (m_tree) {
300  m_tree->Fill();
301  }
302 
303  return StatusCode::SUCCESS;
304 }

◆ 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 }

◆ finalize()

StatusCode LArRDOAnalysis::finalize ( )
finaloverridevirtual

Definition at line 306 of file LArRDOAnalysis.cxx.

306  {
307  return StatusCode::SUCCESS;
308 }

◆ initialize()

StatusCode LArRDOAnalysis::initialize ( )
finaloverridevirtual

Definition at line 72 of file LArRDOAnalysis.cxx.

72  {
73  ATH_MSG_DEBUG( "Initializing LArRDOAnalysis" );
74 
75  // This will check that the properties were initialized
76  // properly by job configuration.
81 
82  // Grab Ntuple and histogramming service for tree
83  ATH_CHECK(m_thistSvc.retrieve());
84 
85  m_tree = new TTree(TString(m_ntupleTreeName), "LArRDOAna");
86  std::string fullNtupleName = m_ntupleFileName + m_ntupleDirName + m_ntupleTreeName;
87  ATH_CHECK(m_thistSvc->regTree(fullNtupleName, m_tree));
88  if (m_tree) {
89  m_tree->Branch("larID", &m_larID);
90  m_tree->Branch("energy", &m_energy);
91  m_tree->Branch("time", &m_time);
92  m_tree->Branch("qual", &m_qual);
93  m_tree->Branch("prov", &m_prov);
94  m_tree->Branch("gain", &m_gain);
95  m_tree->Branch("hadOnID", &m_hadOnID);
96  m_tree->Branch("hadOffID", &m_hadOffID);
97  m_tree->Branch("hadSamples", &m_hadSamples);
98  m_tree->Branch("emOnID", &m_emOnID);
99  m_tree->Branch("emOffID", &m_emOffID);
100  m_tree->Branch("emSamples", &m_emSamples);
101  m_tree->Branch("digiID", &m_digiID);
102  m_tree->Branch("digiGain", &m_digiGain);
103  m_tree->Branch("digiSamples", &m_digiSamples);
104  }
105  else {
106  ATH_MSG_ERROR("No tree found!");
107  }
108 
109  m_h_larID = new TH1F("h_larID", "LAr ID", 100, 0, 5e18);
110  m_h_larID->StatOverflows();
111  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_larID->GetName(), m_h_larID));
112 
113  m_h_energy = new TH1F("h_energy", "LAr energy", 100, -1e5, 5e5);
114  m_h_energy->StatOverflows();
115  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_energy->GetName(), m_h_energy));
116 
117  m_h_time = new TH1F("h_time", "LAr time", 100, -1e7, 1e7);
118  m_h_time->StatOverflows();
119  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_time->GetName(), m_h_time));
120 
121  m_h_qual = new TH1F("h_qual", "LAr quality", 100, 0, 70000);
122  m_h_qual->StatOverflows();
123  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_qual->GetName(), m_h_qual));
124 
125  m_h_prov = new TH1F("h_prov", "LAr provenance", 100, 0, 9000);
126  m_h_prov->StatOverflows();
127  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_prov->GetName(), m_h_prov));
128 
129  m_h_gain = new TH1F("h_gain", "LAr gain", 100, 0, 5);
130  m_h_gain->StatOverflows();
131  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_gain->GetName(), m_h_gain));
132 
133  m_h_hadOnID = new TH1F("h_hadOnID", "Had LAr TTL1 online ID", 100, 0, 3e19);
134  m_h_hadOnID->StatOverflows();
135  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_hadOnID->GetName(), m_h_hadOnID));
136 
137  m_h_hadOffID = new TH1F("h_hadOffID", "Had LAr TTL1 offline ID", 100, 0, 3e19);
138  m_h_hadOffID->StatOverflows();
139  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_hadOffID->GetName(), m_h_hadOffID));
140 
141  m_h_hadSamples = new TH1F("h_hadSamples", "Had LAr TTL1 sample values", 100, -15000, 35000);
142  m_h_hadSamples->StatOverflows();
143  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_hadSamples->GetName(), m_h_hadSamples));
144 
145  m_h_emOnID = new TH1F("h_emOnID", "EM LAr TTL1 online ID", 100, 0, 3e19);
146  m_h_emOnID->StatOverflows();
147  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_emOnID->GetName(), m_h_emOnID));
148 
149  m_h_emOffID = new TH1F("h_emOffID", "EM LAr TTL1 offline ID", 100, 0, 3e19);
150  m_h_emOffID->StatOverflows();
151  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_emOffID->GetName(), m_h_emOffID));
152 
153  m_h_emSamples = new TH1F("h_emSamples", "EM LAr TTL1 sample values", 100, -1e5, 3.5e5);
154  m_h_emSamples->StatOverflows();
155  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_emSamples->GetName(), m_h_emSamples));
156 
157  m_h_digiID = new TH1F("h_digiID", "LAr digit ID", 100, 0, 5e18);
158  m_h_digiID->StatOverflows();
159  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_digiID->GetName(), m_h_digiID));
160 
161  m_h_digiGain = new TH1F("h_digiGain", "LAr digit gain", 100, 0, 5);
162  m_h_digiGain->StatOverflows();
163  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_digiGain->GetName(), m_h_digiGain));
164 
165  m_h_digiSamples = new TH1F("h_digiSamples", "LAr digit sample values", 100, 0, 5000);
166  m_h_digiSamples->StatOverflows();
167  ATH_CHECK(m_thistSvc->regHist(m_path + m_h_digiSamples->GetName(), m_h_digiSamples));
168 
169  return StatusCode::SUCCESS;
170 }

◆ 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() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ 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();
383  PBASE::renounce (h);
384  }

◆ 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  {
365  handlesArray.renounce();
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, PyAthena::Alg, and AthHistogramAlgorithm.

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 }

◆ 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) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ 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_digiGain

std::vector<int>* LArRDOAnalysis::m_digiGain
private

Definition at line 58 of file LArRDOAnalysis.h.

◆ m_digiID

std::vector<unsigned long long>* LArRDOAnalysis::m_digiID
private

Definition at line 57 of file LArRDOAnalysis.h.

◆ m_digiSamples

std::vector<short>* LArRDOAnalysis::m_digiSamples
private

Definition at line 59 of file LArRDOAnalysis.h.

◆ m_emOffID

std::vector<unsigned long long>* LArRDOAnalysis::m_emOffID
private

Definition at line 54 of file LArRDOAnalysis.h.

◆ m_emOnID

std::vector<unsigned long long>* LArRDOAnalysis::m_emOnID
private

Definition at line 53 of file LArRDOAnalysis.h.

◆ m_emSamples

std::vector<float>* LArRDOAnalysis::m_emSamples
private

Definition at line 55 of file LArRDOAnalysis.h.

◆ m_energy

std::vector<int>* LArRDOAnalysis::m_energy
private

Definition at line 44 of file LArRDOAnalysis.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_gain

std::vector<int>* LArRDOAnalysis::m_gain
private

Definition at line 48 of file LArRDOAnalysis.h.

◆ m_h_digiGain

TH1* LArRDOAnalysis::m_h_digiGain
private

Definition at line 75 of file LArRDOAnalysis.h.

◆ m_h_digiID

TH1* LArRDOAnalysis::m_h_digiID
private

Definition at line 74 of file LArRDOAnalysis.h.

◆ m_h_digiSamples

TH1* LArRDOAnalysis::m_h_digiSamples
private

Definition at line 76 of file LArRDOAnalysis.h.

◆ m_h_emOffID

TH1* LArRDOAnalysis::m_h_emOffID
private

Definition at line 72 of file LArRDOAnalysis.h.

◆ m_h_emOnID

TH1* LArRDOAnalysis::m_h_emOnID
private

Definition at line 71 of file LArRDOAnalysis.h.

◆ m_h_emSamples

TH1* LArRDOAnalysis::m_h_emSamples
private

Definition at line 73 of file LArRDOAnalysis.h.

◆ m_h_energy

TH1* LArRDOAnalysis::m_h_energy
private

Definition at line 63 of file LArRDOAnalysis.h.

◆ m_h_gain

TH1* LArRDOAnalysis::m_h_gain
private

Definition at line 67 of file LArRDOAnalysis.h.

◆ m_h_hadOffID

TH1* LArRDOAnalysis::m_h_hadOffID
private

Definition at line 69 of file LArRDOAnalysis.h.

◆ m_h_hadOnID

TH1* LArRDOAnalysis::m_h_hadOnID
private

Definition at line 68 of file LArRDOAnalysis.h.

◆ m_h_hadSamples

TH1* LArRDOAnalysis::m_h_hadSamples
private

Definition at line 70 of file LArRDOAnalysis.h.

◆ m_h_larID

TH1* LArRDOAnalysis::m_h_larID
private

Definition at line 62 of file LArRDOAnalysis.h.

◆ m_h_prov

TH1* LArRDOAnalysis::m_h_prov
private

Definition at line 66 of file LArRDOAnalysis.h.

◆ m_h_qual

TH1* LArRDOAnalysis::m_h_qual
private

Definition at line 65 of file LArRDOAnalysis.h.

◆ m_h_time

TH1* LArRDOAnalysis::m_h_time
private

Definition at line 64 of file LArRDOAnalysis.h.

◆ m_hadOffID

std::vector<unsigned long long>* LArRDOAnalysis::m_hadOffID
private

Definition at line 51 of file LArRDOAnalysis.h.

◆ m_hadOnID

std::vector<unsigned long long>* LArRDOAnalysis::m_hadOnID
private

Definition at line 50 of file LArRDOAnalysis.h.

◆ m_hadSamples

std::vector<float>* LArRDOAnalysis::m_hadSamples
private

Definition at line 52 of file LArRDOAnalysis.h.

◆ m_inputDigitKey

SG::ReadHandleKey<LArDigitContainer> LArRDOAnalysis::m_inputDigitKey
private

Definition at line 39 of file LArRDOAnalysis.h.

◆ m_inputRawChannelKey

SG::ReadHandleKey<LArRawChannelContainer> LArRDOAnalysis::m_inputRawChannelKey
private

Definition at line 36 of file LArRDOAnalysis.h.

◆ m_inputTTL1EMKey

SG::ReadHandleKey<LArTTL1Container> LArRDOAnalysis::m_inputTTL1EMKey
private

Definition at line 38 of file LArRDOAnalysis.h.

◆ m_inputTTL1HADKey

SG::ReadHandleKey<LArTTL1Container> LArRDOAnalysis::m_inputTTL1HADKey
private

Definition at line 37 of file LArRDOAnalysis.h.

◆ m_larID

std::vector<unsigned long long>* LArRDOAnalysis::m_larID
private

Definition at line 43 of file LArRDOAnalysis.h.

◆ m_ntupleDirName

std::string LArRDOAnalysis::m_ntupleDirName
private

Definition at line 80 of file LArRDOAnalysis.h.

◆ m_ntupleFileName

std::string LArRDOAnalysis::m_ntupleFileName
private

Definition at line 79 of file LArRDOAnalysis.h.

◆ m_ntupleTreeName

std::string LArRDOAnalysis::m_ntupleTreeName
private

Definition at line 81 of file LArRDOAnalysis.h.

◆ m_path

std::string LArRDOAnalysis::m_path
private

Definition at line 82 of file LArRDOAnalysis.h.

◆ m_presampling

BooleanProperty LArRDOAnalysis::m_presampling {this, "PreSampling", false}
private

Definition at line 40 of file LArRDOAnalysis.h.

◆ m_prov

std::vector<uint16_t>* LArRDOAnalysis::m_prov
private

Definition at line 47 of file LArRDOAnalysis.h.

◆ m_qual

std::vector<uint16_t>* LArRDOAnalysis::m_qual
private

Definition at line 46 of file LArRDOAnalysis.h.

◆ m_thistSvc

ServiceHandle<ITHistSvc> LArRDOAnalysis::m_thistSvc
private

Definition at line 83 of file LArRDOAnalysis.h.

◆ m_time

std::vector<int>* LArRDOAnalysis::m_time
private

Definition at line 45 of file LArRDOAnalysis.h.

◆ m_tree

TTree* LArRDOAnalysis::m_tree
private

Definition at line 78 of file LArRDOAnalysis.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:
LArRDOAnalysis::m_gain
std::vector< int > * m_gain
Definition: LArRDOAnalysis.h:48
LArRDOAnalysis::m_h_qual
TH1 * m_h_qual
Definition: LArRDOAnalysis.h:65
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
LArRDOAnalysis::m_hadOnID
std::vector< unsigned long long > * m_hadOnID
Definition: LArRDOAnalysis.h:50
LArRDOAnalysis::m_inputTTL1EMKey
SG::ReadHandleKey< LArTTL1Container > m_inputTTL1EMKey
Definition: LArRDOAnalysis.h:38
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
LArRDOAnalysis::m_h_emOffID
TH1 * m_h_emOffID
Definition: LArRDOAnalysis.h:72
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
LArRDOAnalysis::m_qual
std::vector< uint16_t > * m_qual
Definition: LArRDOAnalysis.h:46
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
LArRDOAnalysis::m_h_time
TH1 * m_h_time
Definition: LArRDOAnalysis.h:64
LArRDOAnalysis::m_time
std::vector< int > * m_time
Definition: LArRDOAnalysis.h:45
LArRDOAnalysis::m_prov
std::vector< uint16_t > * m_prov
Definition: LArRDOAnalysis.h:47
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LArRDOAnalysis::m_h_hadOffID
TH1 * m_h_hadOffID
Definition: LArRDOAnalysis.h:69
LArRDOAnalysis::m_hadOffID
std::vector< unsigned long long > * m_hadOffID
Definition: LArRDOAnalysis.h:51
LArRDOAnalysis::m_h_emSamples
TH1 * m_h_emSamples
Definition: LArRDOAnalysis.h:73
HWIdentifier
Definition: HWIdentifier.h:13
LArRDOAnalysis::m_hadSamples
std::vector< float > * m_hadSamples
Definition: LArRDOAnalysis.h:52
LArRDOAnalysis::m_h_emOnID
TH1 * m_h_emOnID
Definition: LArRDOAnalysis.h:71
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
LArRDOAnalysis::m_h_hadSamples
TH1 * m_h_hadSamples
Definition: LArRDOAnalysis.h:70
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
LArRDOAnalysis::m_h_digiID
TH1 * m_h_digiID
Definition: LArRDOAnalysis.h:74
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
LArRDOAnalysis::m_inputTTL1HADKey
SG::ReadHandleKey< LArTTL1Container > m_inputTTL1HADKey
Definition: LArRDOAnalysis.h:37
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
LArRDOAnalysis::m_emOffID
std::vector< unsigned long long > * m_emOffID
Definition: LArRDOAnalysis.h:54
lumiFormat.i
int i
Definition: lumiFormat.py:85
LArRDOAnalysis::m_h_digiGain
TH1 * m_h_digiGain
Definition: LArRDOAnalysis.h:75
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArRDOAnalysis::m_inputRawChannelKey
SG::ReadHandleKey< LArRawChannelContainer > m_inputRawChannelKey
Definition: LArRDOAnalysis.h:36
LArRDOAnalysis::m_larID
std::vector< unsigned long long > * m_larID
Definition: LArRDOAnalysis.h:43
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
LArRDOAnalysis::m_emOnID
std::vector< unsigned long long > * m_emOnID
Definition: LArRDOAnalysis.h:53
LArRDOAnalysis::m_energy
std::vector< int > * m_energy
Definition: LArRDOAnalysis.h:44
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
LArRDOAnalysis::m_path
std::string m_path
Definition: LArRDOAnalysis.h:82
LArRDOAnalysis::m_ntupleDirName
std::string m_ntupleDirName
Definition: LArRDOAnalysis.h:80
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
LArRDOAnalysis::m_ntupleFileName
std::string m_ntupleFileName
Definition: LArRDOAnalysis.h:79
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
LArRDOAnalysis::m_tree
TTree * m_tree
Definition: LArRDOAnalysis.h:78
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArRDOAnalysis::m_presampling
BooleanProperty m_presampling
Definition: LArRDOAnalysis.h:40
LArRDOAnalysis::m_h_larID
TH1 * m_h_larID
Definition: LArRDOAnalysis.h:62
CaloGain::CaloGain
CaloGain
Definition: CaloGain.h:11
LArRDOAnalysis::m_h_energy
TH1 * m_h_energy
Definition: LArRDOAnalysis.h:63
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
LArRDOAnalysis::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition: LArRDOAnalysis.h:83
LArRDOAnalysis::m_inputDigitKey
SG::ReadHandleKey< LArDigitContainer > m_inputDigitKey
Definition: LArRDOAnalysis.h:39
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
LArRDOAnalysis::m_h_digiSamples
TH1 * m_h_digiSamples
Definition: LArRDOAnalysis.h:76
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
LArRDOAnalysis::m_digiGain
std::vector< int > * m_digiGain
Definition: LArRDOAnalysis.h:58
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LArRDOAnalysis::m_h_prov
TH1 * m_h_prov
Definition: LArRDOAnalysis.h:66
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LArRDOAnalysis::m_h_gain
TH1 * m_h_gain
Definition: LArRDOAnalysis.h:67
LArRDOAnalysis::m_emSamples
std::vector< float > * m_emSamples
Definition: LArRDOAnalysis.h:55
SG::AllowEmpty
@ AllowEmpty
Definition: StoreGate/StoreGate/VarHandleKey.h:30
LArRDOAnalysis::m_digiSamples
std::vector< short > * m_digiSamples
Definition: LArRDOAnalysis.h:59
LArRDOAnalysis::m_h_hadOnID
TH1 * m_h_hadOnID
Definition: LArRDOAnalysis.h:68
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
LArRDOAnalysis::m_digiID
std::vector< unsigned long long > * m_digiID
Definition: LArRDOAnalysis.h:57
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >
LArRDOAnalysis::m_ntupleTreeName
std::string m_ntupleTreeName
Definition: LArRDOAnalysis.h:81
Identifier
Definition: IdentifierFieldParser.cxx:14