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

#include <LArHECNoise.h>

Inheritance diagram for LArHECNoise:
Collaboration diagram for LArHECNoise:

Public Member Functions

 LArHECNoise (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor. More...
 
 ~LArHECNoise ()
 
virtual StatusCode initialize () override
 
virtual StatusCode finalize () override
 
virtual StatusCode execute () override
 
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

ITHistSvc * m_thistSvc
 
TTree * m_tree
 
SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"}
 
SG::ReadCondHandleKey< ILArPedestalm_pedKey {this,"PedestalKey","LArPedestal","SG Key of Pedestal obj"}
 
PublicToolHandle< Trig::TrigDecisionToolm_trigDec {this, "TrigDecisionTool", "", "Handle to the TrigDecisionTool"}
 
const LArOnlineIDm_LArOnlineIDHelper
 
SG::ReadCondHandleKey< CaloDetDescrManagerm_caloMgrKey
 
const CaloCell_IDm_calocell_id
 
int m_nt_run
 
int m_nt_evtId
 
int m_nt_evtCount
 
int m_nt_evtTime
 
int m_nt_evtTime_ns
 
int m_nt_lb
 
int m_nt_bcid
 
int m_nt_gain
 
int m_nt_side
 
int m_nt_samp
 
int m_nt_reg
 
int m_nt_ieta
 
int m_nt_iphi
 
int m_nt_quality
 
short m_nt_digi [32]
 
int m_nt_max
 
int m_nt_min
 
long m_nt_OID
 
float m_nt_avgMu
 
float m_nt_actMu
 
float m_nt_e
 
float m_nt_t
 
float m_nt_eta
 
float m_nt_phi
 
float m_nt_z
 
float m_nt_r
 
float m_nt_ped
 
float m_nt_pedRMS
 
float * m_nt_prescale
 
bool * m_nt_trigger
 
std::vector< std::string > m_TriggerLines
 
int m_MinDigitADC
 
int m_MaxDeltaT
 
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 47 of file LArHECNoise.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

◆ LArHECNoise()

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

Constructor.

switches to control the analysis through job options

Definition at line 59 of file LArHECNoise.cxx.

61  : AthAlgorithm(name, pSvcLocator),
62  m_thistSvc(nullptr),
63  m_tree(nullptr),
64  m_LArOnlineIDHelper(nullptr),
65  m_calocell_id(nullptr),
66  m_nt_run(0),
67  m_nt_evtId(0),
68  m_nt_evtCount(0),
69  m_nt_evtTime(0),
70  m_nt_evtTime_ns(0),
71  m_nt_lb(0),
72  m_nt_bcid(0),
73  m_nt_gain(0),
74  m_nt_side(0),
75  m_nt_samp(0),
76  m_nt_reg(0),
77  m_nt_ieta(0),
78  m_nt_iphi(0),
79  m_nt_quality(0),
80  m_nt_digi(),
81  m_nt_max(0),
82  m_nt_min(0),
83  m_nt_OID(0),
84  m_nt_avgMu(0),
85  m_nt_actMu(0),
86  m_nt_e(0),
87  m_nt_t(0),
88  m_nt_eta(0),
89  m_nt_phi(0),
90  m_nt_z(0),
91  m_nt_r(0),
92  m_nt_ped(0),
93  m_nt_pedRMS(0)
94  {
95 
96  // Trigger
97 
100  declareProperty("TriggerLines",m_TriggerLines={"L1_J5", "L1_J10", "L1_J12", "L1_J30", "L1_TAU5", "L1_TAU8", "L1_J5_EMPTY", "L1_J10_EMPTY", "L1_J12_EMPTY", "L1_J30_EMPTY", "L1_TAU5_EMPTY", "L1_TAU8_EMPTY", "L1_J5_FIRSTEMPTY", "L1_J10_FIRSTEMPTY", "L1_J12_FIRSTEMPTY", "L1_J30_FIRSTEMPTY", "L1_TAU5_FIRSTEMPTY", "L1_TAU8_FIRSTEMPTY"});
101 
102  declareProperty("MinDigitADC",m_MinDigitADC=20);
103  declareProperty("MaxDeltaT",m_MaxDeltaT=5);
104 
105  m_nt_prescale = new float[m_TriggerLines.size()];
106  m_nt_trigger = new bool[m_TriggerLines.size()];
107  }

◆ ~LArHECNoise()

LArHECNoise::~LArHECNoise ( )

Definition at line 110 of file LArHECNoise.cxx.

110 {}

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 LArHECNoise::execute ( )
overridevirtual

Define iterators to loop over Digits containers

Definition at line 193 of file LArHECNoise.cxx.

193  {
194 
195  ATH_MSG_DEBUG ( "in execute()" );
196 
197  for(unsigned i=0; i<m_TriggerLines.size(); ++i){
198  m_nt_prescale[i] = m_trigDec->getPrescale(m_TriggerLines[i]);
199  if (m_trigDec->isPassed(m_TriggerLines[i])){
200  m_nt_trigger[i] = true;
201  } else {
202  m_nt_trigger[i] = false;
203  }
204  }
205 
206  const xAOD::EventInfo* eventInfo = nullptr;
207  ATH_CHECK( evtStore()->retrieve(eventInfo) );
208 
209  m_nt_evtCount = 0;
210  const CaloCellContainer* cc = nullptr;
211  const LArRawChannelContainer* lraw = nullptr;
212  if (evtStore()->contains<CaloCellContainer>("AllCalo")) {
213  ATH_CHECK(evtStore()->retrieve(cc, "AllCalo"));
214  } else if (evtStore()->contains<LArRawChannelContainer>("LArRawChannels")){
215  ATH_CHECK(evtStore()->retrieve(lraw, "LArRawChannels"));
216  }
217 
219  const LArOnOffIdMapping* cabling{*cablingHdl};
220  if(!cabling) {
221  ATH_MSG_ERROR("Do not have mapping object " << m_cablingKey.key() );
222  return StatusCode::FAILURE;
223  }
224 
225 
227  const ILArPedestal* ped{*pedHdl};
228  if(!ped) {
229  ATH_MSG_ERROR("Do not have pedestal object " << m_pedKey.key() );
230  return StatusCode::FAILURE;
231  }
232 
234  ATH_CHECK(caloMgrHandle.isValid());
235  const CaloDetDescrManager* caloMgr = *caloMgrHandle;
236 
237 
238  const LArDigitContainer* ld = nullptr;
239  if (evtStore()->contains<LArDigitContainer>("LArDigitContainer")) {
240  ATH_CHECK(evtStore()->retrieve(ld, "LArDigitContainer"));
241  } else if (evtStore()->contains<LArDigitContainer>("LArDigitContainer_Thinned")) {
242  ATH_CHECK(evtStore()->retrieve(ld, "LArDigitContainer_Thinned"));
243  } else if (evtStore()->contains<LArDigitContainer>("FREE")) {
244  ATH_CHECK(evtStore()->retrieve(ld, "FREE"));
245  } else {
246  msg(MSG::WARNING) << "Neither LArDigitContainer nor LArDigitContainer_Thinned nor FREE present, not filling anything "<<endmsg;
247  return StatusCode::SUCCESS;
248  }
250  LArDigitContainer::const_iterator itDig = ld->begin();
251  LArDigitContainer::const_iterator itDig_e= ld->end();
252  const LArDigit* pLArDigit;
253 
254  for ( ; itDig!=itDig_e;++itDig) {
255  pLArDigit = *itDig;
256  HWIdentifier hid = pLArDigit->hardwareID();
257  if(! m_LArOnlineIDHelper->isHECchannel(hid)) continue; //and ld.gain() == 2:
258  int sigmax=0;
259  int sigmin=0;
260  int imax=0;
261  int imin=0;
262  short samp0= pLArDigit->samples()[0];
263  for(unsigned i=0; i<(pLArDigit->samples()).size(); ++i){
264  short samp=pLArDigit->samples()[i];
265  if( i < 32) m_nt_digi[i] = samp;
266  if(samp-samp0 > sigmax) {
267  sigmax = samp-samp0;
268  imax=i;
269  }
270  if( samp-samp0 < sigmin) {
271  sigmin = samp-samp0;
272  imin=i;
273  }
274  }
275  if( sigmax > m_MinDigitADC && sigmin < -m_MinDigitADC && ( (imin-imax) < m_MaxDeltaT || imin < imax)) {
276  m_nt_run = eventInfo->runNumber();
277  m_nt_evtId = eventInfo->eventNumber();
278  m_nt_evtTime = eventInfo->timeStamp();
279  m_nt_evtTime_ns = eventInfo->timeStampNSOffset();
280  m_nt_lb = eventInfo->lumiBlock();
281  m_nt_bcid = eventInfo->bcid();
284 
285  m_nt_evtCount += 1;
286  m_nt_gain = pLArDigit->gain();
287  Identifier oid = cabling->cnvToIdentifier(hid);
288  m_nt_OID = pLArDigit->channelID().get_compact();
289  m_nt_ped = ped->pedestal(pLArDigit->channelID(),pLArDigit->gain());
290  m_nt_pedRMS = ped->pedestalRMS(pLArDigit->channelID(),pLArDigit->gain());
291  m_nt_side = m_calocell_id->pos_neg(oid);
292  m_nt_samp = m_calocell_id->sampling(oid);
293  m_nt_reg = m_calocell_id->region(oid);
294  m_nt_ieta = m_calocell_id->eta(oid);
295  m_nt_iphi = m_calocell_id->phi(oid);
296  m_nt_max = imax;
297  m_nt_min = imin;
298  IdentifierHash ihash = m_calocell_id->calo_cell_hash(oid);
299  m_nt_e = 0.0;
300  m_nt_t = 0.0;
301  m_nt_quality = 0;
302  if(cc) {
303  const CaloCell *rcell = cc->findCell(ihash);
304  if(rcell->ID() != oid) {
305  msg(MSG::WARNING) <<"Cell iHash does not match ..."<<endmsg;
306  }else{
307  m_nt_e = rcell->e();
308  m_nt_t = rcell->time();
309  m_nt_quality = rcell->quality();
310  }
311  } else if(lraw) {
312  for(unsigned l=0; l<lraw->size(); ++l) {
313  if((*lraw)[l].identify() == hid) {
314  m_nt_e = (*lraw)[l].energy();
315  m_nt_t = (*lraw)[l].time()*1e-3;
316  m_nt_quality = (*lraw)[l].quality();
317  break;
318  }
319  }
320  }
321  const CaloDetDescrElement *cdde = caloMgr->get_element(oid);
322  if(cdde) {
323  m_nt_eta = cdde->eta();
324  m_nt_phi = cdde->phi();
325  m_nt_z = cdde->z();
326  m_nt_r = cdde->r();
327  }
328  m_tree->Fill();
329  }//found our digit
330  }//over digits
331 
332  return StatusCode::SUCCESS;
333 }

◆ 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 LArHECNoise::finalize ( )
overridevirtual

Definition at line 187 of file LArHECNoise.cxx.

187  {
188  ATH_MSG_DEBUG ( "in finalize()" );
189  return StatusCode::SUCCESS;
190 }

◆ initialize()

StatusCode LArHECNoise::initialize ( )
overridevirtual

get a handle on the NTuple and histogramming service

Prepare TTree

Definition at line 113 of file LArHECNoise.cxx.

113  {
114 
115  ATH_MSG_DEBUG ( "Initializing LArHECNoise" );
116 
117  // Trigger Decision Tool
118  CHECK(m_trigDec.retrieve());
119 
122 
123  // Retrieve online ID helper
124  const LArOnlineID* LArOnlineIDHelper = nullptr;
125  ATH_CHECK( detStore()->retrieve(LArOnlineIDHelper, "LArOnlineID") );
126  m_LArOnlineIDHelper = LArOnlineIDHelper;
127  ATH_MSG_DEBUG( " Found LArOnline Helper");
128 
129  // Retrieve ID helpers
130  ATH_CHECK( detStore()->retrieve (m_calocell_id, "CaloCell_ID") );
132 
134  ATH_CHECK( service("THistSvc", m_thistSvc) );
135 
137  m_tree = new TTree( "HECNoise", "HECNoise" );
138 
139  // General properties of events
140  m_tree->Branch("iRun",&m_nt_run,"iRun/I");// Event ID
141  m_tree->Branch("iEvent",&m_nt_evtId,"iEvent/I");// Event ID
142  m_tree->Branch("iEventCount",&m_nt_evtCount,"iEventCount/I");
143  m_tree->Branch("iTime",&m_nt_evtTime,"iTime/I");// Event time
144  m_tree->Branch("iTime_ns",&m_nt_evtTime_ns,"iTime_ns/I");// Event time in nanosecond
145  m_tree->Branch("iLB",&m_nt_lb,"iLB/I"); // LB
146  m_tree->Branch("iBCID",&m_nt_bcid,"iBCID/I"); // BCID
147  // prescale and trigger here
148  //const std::vector<float> &tp = m_nt_prescale;
149  //const std::vector<bool> &tt = m_nt_trigger;
150  for(unsigned i=0; i<m_TriggerLines.size(); ++i) {
151  //m_tree->Branch((m_TriggerLines[i]+"_Prescale").c_str(),&(tp[i]),(m_TriggerLines[i]+"_Prescale/F").c_str());
152  //m_tree->Branch((m_TriggerLines[i]+"_Trigger").c_str(),tt[i],(m_TriggerLines[i]+"_Trigger/O").c_str());
153  m_tree->Branch((m_TriggerLines[i]+"_Prescale").c_str(),&(m_nt_prescale[i]),(m_TriggerLines[i]+"_Prescale/F").c_str());
154  m_tree->Branch((m_TriggerLines[i]+"_Trigger").c_str(),&(m_nt_trigger[i]),(m_TriggerLines[i]+"_Trigger/I").c_str());
155  }
156  m_tree->Branch("avgMu",&m_nt_avgMu,"avgMu/F");
157  m_tree->Branch("actMu",&m_nt_actMu,"actMu/F");
158  m_tree->Branch("iGain",&m_nt_gain,"iGain/I");
159  m_tree->Branch("iOID",&m_nt_OID,"iOID/L");
160  m_tree->Branch("iSide",&m_nt_side,"iSide/I");
161  m_tree->Branch("iSamp",&m_nt_samp,"iSamp/I");
162  m_tree->Branch("iReg",&m_nt_reg,"iReg/I");
163  m_tree->Branch("iEta",&m_nt_ieta,"iEta/I");
164  m_tree->Branch("iPhi",&m_nt_iphi,"iPhi/I");
165  m_tree->Branch("iQuality",&m_nt_quality,"iQuality/I");
166  m_tree->Branch("e",&m_nt_e,"e/F");
167  m_tree->Branch("t",&m_nt_t,"t/F");
168  m_tree->Branch("eta",&m_nt_eta,"eta/F");
169  m_tree->Branch("phi",&m_nt_phi,"phi/F");
170  m_tree->Branch("z",&m_nt_z,"z/F");
171  m_tree->Branch("r",&m_nt_r,"r/F");
172  m_tree->Branch("Ped",&m_nt_ped,"Ped/F");
173  m_tree->Branch("PedRMS",&m_nt_pedRMS,"PedRMS/F");
174  m_tree->Branch("iDigi",m_nt_digi,"iDigi[32]/S");
175  m_tree->Branch("iMax",&m_nt_max,"iMax/I");
176  m_tree->Branch("iMin",&m_nt_min,"iMin/I");
177 
178  std::string treeName = "/HEC/HECNoise" ;
179  ATH_CHECK( m_thistSvc->regTree(treeName, m_tree) );
180 
181 
182  ATH_MSG_DEBUG ( "End of Initializing LArHECNoise" );
183 
184  return StatusCode::SUCCESS;
185 }

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

SG::ReadCondHandleKey<LArOnOffIdMapping> LArHECNoise::m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"}
private

Definition at line 64 of file LArHECNoise.h.

◆ m_calocell_id

const CaloCell_ID* LArHECNoise::m_calocell_id
private

Definition at line 77 of file LArHECNoise.h.

◆ m_caloMgrKey

SG::ReadCondHandleKey<CaloDetDescrManager> LArHECNoise::m_caloMgrKey
private
Initial value:
{ this
, "CaloDetDescrManager"
, "CaloDetDescrManager"
, "SG Key for CaloDetDescrManager in the Condition Store" }

Definition at line 72 of file LArHECNoise.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_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_LArOnlineIDHelper

const LArOnlineID* LArHECNoise::m_LArOnlineIDHelper
private

Definition at line 71 of file LArHECNoise.h.

◆ m_MaxDeltaT

int LArHECNoise::m_MaxDeltaT
private

Definition at line 114 of file LArHECNoise.h.

◆ m_MinDigitADC

int LArHECNoise::m_MinDigitADC
private

Definition at line 113 of file LArHECNoise.h.

◆ m_nt_actMu

float LArHECNoise::m_nt_actMu
private

Definition at line 99 of file LArHECNoise.h.

◆ m_nt_avgMu

float LArHECNoise::m_nt_avgMu
private

Definition at line 98 of file LArHECNoise.h.

◆ m_nt_bcid

int LArHECNoise::m_nt_bcid
private

Definition at line 86 of file LArHECNoise.h.

◆ m_nt_digi

short LArHECNoise::m_nt_digi[32]
private

Definition at line 94 of file LArHECNoise.h.

◆ m_nt_e

float LArHECNoise::m_nt_e
private

Definition at line 100 of file LArHECNoise.h.

◆ m_nt_eta

float LArHECNoise::m_nt_eta
private

Definition at line 102 of file LArHECNoise.h.

◆ m_nt_evtCount

int LArHECNoise::m_nt_evtCount
private

Definition at line 82 of file LArHECNoise.h.

◆ m_nt_evtId

int LArHECNoise::m_nt_evtId
private

Definition at line 81 of file LArHECNoise.h.

◆ m_nt_evtTime

int LArHECNoise::m_nt_evtTime
private

Definition at line 83 of file LArHECNoise.h.

◆ m_nt_evtTime_ns

int LArHECNoise::m_nt_evtTime_ns
private

Definition at line 84 of file LArHECNoise.h.

◆ m_nt_gain

int LArHECNoise::m_nt_gain
private

Definition at line 87 of file LArHECNoise.h.

◆ m_nt_ieta

int LArHECNoise::m_nt_ieta
private

Definition at line 91 of file LArHECNoise.h.

◆ m_nt_iphi

int LArHECNoise::m_nt_iphi
private

Definition at line 92 of file LArHECNoise.h.

◆ m_nt_lb

int LArHECNoise::m_nt_lb
private

Definition at line 85 of file LArHECNoise.h.

◆ m_nt_max

int LArHECNoise::m_nt_max
private

Definition at line 95 of file LArHECNoise.h.

◆ m_nt_min

int LArHECNoise::m_nt_min
private

Definition at line 96 of file LArHECNoise.h.

◆ m_nt_OID

long LArHECNoise::m_nt_OID
private

Definition at line 97 of file LArHECNoise.h.

◆ m_nt_ped

float LArHECNoise::m_nt_ped
private

Definition at line 106 of file LArHECNoise.h.

◆ m_nt_pedRMS

float LArHECNoise::m_nt_pedRMS
private

Definition at line 107 of file LArHECNoise.h.

◆ m_nt_phi

float LArHECNoise::m_nt_phi
private

Definition at line 103 of file LArHECNoise.h.

◆ m_nt_prescale

float* LArHECNoise::m_nt_prescale
private

Definition at line 108 of file LArHECNoise.h.

◆ m_nt_quality

int LArHECNoise::m_nt_quality
private

Definition at line 93 of file LArHECNoise.h.

◆ m_nt_r

float LArHECNoise::m_nt_r
private

Definition at line 105 of file LArHECNoise.h.

◆ m_nt_reg

int LArHECNoise::m_nt_reg
private

Definition at line 90 of file LArHECNoise.h.

◆ m_nt_run

int LArHECNoise::m_nt_run
private

Definition at line 80 of file LArHECNoise.h.

◆ m_nt_samp

int LArHECNoise::m_nt_samp
private

Definition at line 89 of file LArHECNoise.h.

◆ m_nt_side

int LArHECNoise::m_nt_side
private

Definition at line 88 of file LArHECNoise.h.

◆ m_nt_t

float LArHECNoise::m_nt_t
private

Definition at line 101 of file LArHECNoise.h.

◆ m_nt_trigger

bool* LArHECNoise::m_nt_trigger
private

Definition at line 109 of file LArHECNoise.h.

◆ m_nt_z

float LArHECNoise::m_nt_z
private

Definition at line 104 of file LArHECNoise.h.

◆ m_pedKey

SG::ReadCondHandleKey<ILArPedestal> LArHECNoise::m_pedKey {this,"PedestalKey","LArPedestal","SG Key of Pedestal obj"}
private

Definition at line 65 of file LArHECNoise.h.

◆ m_thistSvc

ITHistSvc* LArHECNoise::m_thistSvc
private

Definition at line 60 of file LArHECNoise.h.

◆ m_tree

TTree* LArHECNoise::m_tree
private

Definition at line 62 of file LArHECNoise.h.

◆ m_trigDec

PublicToolHandle< Trig::TrigDecisionTool > LArHECNoise::m_trigDec {this, "TrigDecisionTool", "", "Handle to the TrigDecisionTool"}
private

Definition at line 68 of file LArHECNoise.h.

◆ m_TriggerLines

std::vector<std::string> LArHECNoise::m_TriggerLines
private

Definition at line 112 of file LArHECNoise.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:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
LArHECNoise::m_nt_OID
long m_nt_OID
Definition: LArHECNoise.h:97
LArHECNoise::m_nt_e
float m_nt_e
Definition: LArHECNoise.h:100
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
LArHECNoise::m_LArOnlineIDHelper
const LArOnlineID * m_LArOnlineIDHelper
Definition: LArHECNoise.h:71
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
LArHECNoise::m_nt_ped
float m_nt_ped
Definition: LArHECNoise.h:106
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
xAOD::EventInfo_v1::eventNumber
uint64_t eventNumber() const
The current event's event number.
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
ILArPedestal
Definition: ILArPedestal.h:12
CaloDetDescrElement
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:66
CaloDetDescrManager_Base::get_element
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
Definition: CaloDetDescrManager.cxx:159
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
LArHECNoise::m_nt_reg
int m_nt_reg
Definition: LArHECNoise.h:90
LArDigit::samples
const std::vector< short > & samples() const
Definition: LArDigit.h:78
LArDigit::hardwareID
const HWIdentifier & hardwareID() const
Definition: LArDigit.h:66
LArHECNoise::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: LArHECNoise.h:72
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
CaloCell::e
virtual double e() const override final
get energy (data member) (synonym to method energy()
Definition: CaloCell.h:317
LArHECNoise::m_nt_t
float m_nt_t
Definition: LArHECNoise.h:101
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
LArHECNoise::m_nt_phi
float m_nt_phi
Definition: LArHECNoise.h:103
LArHECNoise::m_nt_min
int m_nt_min
Definition: LArHECNoise.h:96
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
xAOD::EventInfo_v1::timeStampNSOffset
uint32_t timeStampNSOffset() const
Nanosecond time offset wrt. the time stamp.
CaloCell::time
float time() const
get time (data member)
Definition: CaloCell.h:352
LArHECNoise::m_nt_bcid
int m_nt_bcid
Definition: LArHECNoise.h:86
LArHECNoise::m_TriggerLines
std::vector< std::string > m_TriggerLines
Definition: LArHECNoise.h:112
xAOD::EventInfo_v1::runNumber
uint32_t runNumber() const
The current event's run number.
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
LArHECNoise::m_nt_evtTime_ns
int m_nt_evtTime_ns
Definition: LArHECNoise.h:84
AthCommonDataStore< AthCommonMsg< Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
AthCommonDataStore< AthCommonMsg< Algorithm > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
LArHECNoise::m_tree
TTree * m_tree
Definition: LArHECNoise.h:62
LArHECNoise::m_nt_gain
int m_nt_gain
Definition: LArHECNoise.h:87
AthCommonDataStore
Definition: AthCommonDataStore.h:52
LArHECNoise::m_nt_ieta
int m_nt_ieta
Definition: LArHECNoise.h:91
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
LArHECNoise::m_pedKey
SG::ReadCondHandleKey< ILArPedestal > m_pedKey
Definition: LArHECNoise.h:65
LArHECNoise::m_nt_z
float m_nt_z
Definition: LArHECNoise.h:104
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
LArHECNoise::m_nt_r
float m_nt_r
Definition: LArHECNoise.h:105
LArDigit
Liquid Argon digit base class.
Definition: LArDigit.h:25
lumiFormat.i
int i
Definition: lumiFormat.py:92
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
LArHECNoise::m_nt_evtTime
int m_nt_evtTime
Definition: LArHECNoise.h:83
dumpFileToPlots.treeName
string treeName
Definition: dumpFileToPlots.py:20
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
imax
int imax(int i, int j)
Definition: TileLaserTimingTool.cxx:33
xAOD::EventInfo_v1::lumiBlock
uint32_t lumiBlock() const
The current event's luminosity block number.
CaloCell::quality
uint16_t quality() const
get quality (data member)
Definition: CaloCell.h:332
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
LArHECNoise::m_nt_avgMu
float m_nt_avgMu
Definition: LArHECNoise.h:98
xAOD::EventInfo_v1::averageInteractionsPerCrossing
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
Definition: EventInfo_v1.cxx:397
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArHECNoise::m_nt_evtCount
int m_nt_evtCount
Definition: LArHECNoise.h:82
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
LArOnlineID
Definition: LArOnlineID.h:20
CaloCell::ID
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition: CaloCell.h:279
LArHECNoise::m_nt_lb
int m_nt_lb
Definition: LArHECNoise.h:85
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
LArHECNoise::m_MaxDeltaT
int m_MaxDeltaT
Definition: LArHECNoise.h:114
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
LArHECNoise::m_nt_eta
float m_nt_eta
Definition: LArHECNoise.h:102
Example_ReadSampleNoise.ped
ped
Definition: Example_ReadSampleNoise.py:45
LArHECNoise::m_nt_side
int m_nt_side
Definition: LArHECNoise.h:88
LArHECNoise::m_nt_run
int m_nt_run
Definition: LArHECNoise.h:80
LArHECNoise::m_MinDigitADC
int m_MinDigitADC
Definition: LArHECNoise.h:113
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
LArHECNoise::m_nt_iphi
int m_nt_iphi
Definition: LArHECNoise.h:92
LArDigit::gain
CaloGain::CaloGain gain() const
Definition: LArDigit.h:72
LArHECNoise::m_nt_pedRMS
float m_nt_pedRMS
Definition: LArHECNoise.h:107
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
a
TList * a
Definition: liststreamerinfos.cxx:10
h
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
CaloCell
Data object for each calorimeter readout cell.
Definition: CaloCell.h:57
LArHECNoise::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition: LArHECNoise.h:77
LArHECNoise::m_trigDec
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
Definition: LArHECNoise.h:68
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
CaloDetDescrElement::z
float z() const
cell z
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:367
LArHECNoise::m_nt_max
int m_nt_max
Definition: LArHECNoise.h:95
AthCommonMsg< Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
LArDigitContainer
Container class for LArDigit.
Definition: LArDigitContainer.h:24
xAOD::EventInfo_v1::timeStamp
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
LArDigit::channelID
const HWIdentifier & channelID() const
Definition: LArDigit.h:69
CaloDetDescrElement::eta
float eta() const
cell eta
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:344
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
LArHECNoise::m_nt_evtId
int m_nt_evtId
Definition: LArHECNoise.h:81
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LArHECNoise::m_thistSvc
ITHistSvc * m_thistSvc
Definition: LArHECNoise.h:60
CaloDetDescrElement::phi
float phi() const
cell phi
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:346
LArHECNoise::m_nt_digi
short m_nt_digi[32]
Definition: LArHECNoise.h:94
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LArOnlineID::isHECchannel
bool isHECchannel(const HWIdentifier id) const override final
Definition: LArOnlineID.cxx:734
CaloDetDescrElement::r
float r() const
cell r
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:348
LArHECNoise::m_nt_quality
int m_nt_quality
Definition: LArHECNoise.h:93
LArHECNoise::m_nt_actMu
float m_nt_actMu
Definition: LArHECNoise.h:99
LArHECNoise::m_nt_trigger
bool * m_nt_trigger
Definition: LArHECNoise.h:109
xAOD::EventInfo_v1::bcid
uint32_t bcid() const
The bunch crossing ID of the event.
LArHECNoise::m_nt_samp
int m_nt_samp
Definition: LArHECNoise.h:89
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
geometry_dat_to_json.ld
ld
Definition: geometry_dat_to_json.py:14
LArHECNoise::m_nt_prescale
float * m_nt_prescale
Definition: LArHECNoise.h:108
fitman.k
k
Definition: fitman.py:528
python.handimod.cc
int cc
Definition: handimod.py:523
LArHECNoise::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArHECNoise.h:64
LArRawChannelContainer
Container for LArRawChannel (IDC using LArRawChannelCollection)
Definition: LArRawChannelContainer.h:26
xAOD::EventInfo_v1::actualInteractionsPerCrossing
float actualInteractionsPerCrossing() const
Average interactions per crossing for the current BCID - for in-time pile-up.
Definition: EventInfo_v1.cxx:380
ServiceHandle< ICondSvc >