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

#include <LArDigits2Ntuple.h>

Inheritance diagram for LArDigits2Ntuple:
Collaboration diagram for LArDigits2Ntuple:

Public Member Functions

 LArDigits2Ntuple (const std::string &name, ISvcLocator *pSvcLocator)
 ~LArDigits2Ntuple ()
virtual StatusCode initialize ()
virtual StatusCode execute (const EventContext &ctx)
 Execute method.
bool fillFromIdentifier (const HWIdentifier &id)
const SG::ReadCondHandleKey< LArOnOffIdMapping > & cablingKey () const
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
bool filterPassed (const EventContext &ctx) const
void setFilterPassed (bool state, const EventContext &ctx) const
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
const EventContext & getContext () const
 Deprecated methods (use the ones with EventContext).
bool filterPassed () const
void setFilterPassed (bool state) const

Protected Types

enum  { NOT_VALID = -999 }

Protected Member Functions

virtual bool isReEntrant () const override final
 Legacy algorithms are not thread-safe.
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.

Protected Attributes

int m_ipass
long m_event
Gaudi::Property< unsigned int > m_Nsamples {this, "NSamples", 32, "number of samples to store"}
Gaudi::Property< std::vector< unsigned int > > m_FTlist {this, "FTlist", {}, "which FT to dump"}
Gaudi::Property< std::vector< unsigned int > > m_Slotlist {this, "Slotlist", {}, "which Slot to dump"}
Gaudi::Property< std::vector< unsigned int > > m_Sidelist {this, "Sidelist", {}, "which side to dump"}
Gaudi::Property< std::vector< unsigned int > > m_BElist {this, "BElist", {}, "which B or E to dump"}
Gaudi::Property< bool > m_fillEMB {this, "FillEMB", true, "if to fill EMB"}
Gaudi::Property< bool > m_fillEndcap {this, "FillEndcap", true, "if to fill Eendcap"}
Gaudi::Property< bool > m_fillBCID {this, "FillBCID", false, "if to fill BCID"}
Gaudi::Property< bool > m_fillLB {this, "FillLB", false, "if to fill LB in Evnt tree"}
NTuple::Item< long > m_ntNsamples
NTuple::Item< short > m_gain
NTuple::Item< short > m_bcid
NTuple::Item< unsigned long > m_ELVL1Id
NTuple::Item< unsigned long long > m_IEvent
NTuple::Array< short > m_samples
NTuple::Array< float > m_mean
NTuple::Array< float > m_RMS
NTuple::Item< unsigned int > m_dac
NTuple::Item< unsigned int > m_delay
NTuple::Item< unsigned int > m_pulsed
NTuple::Tuple * m_evt_nt = nullptr
NTuple::Item< unsigned long long > m_IEventEvt
NTuple::Item< short > m_LB
SG::ReadHandleKey< LArDigitContainerm_contKey {this, "ContainerKey", "", "key for LArDigitContainer"}
SG::ReadHandleKey< LArAccumulatedCalibDigitContainerm_accCalibContKey {this, "AccCalibContainerKey", "", "key for LArAccumulatedCalibDigitDigitContainer"}
SG::ReadHandleKey< LArAccumulatedDigitContainerm_accContKey {this, "AccContainerKey", "", "key for LArAccumulatedDigitDigitContainer"}
SG::ReadHandleKey< LArFebHeaderContainerm_LArFebHeaderContainerKey { this, "LArFebHeaderKey", "LArFebHeader" }
Gaudi::Property< bool > m_addBC {this, "AddBadChannelInfo", true, "dump BadChan info ?"}
Gaudi::Property< bool > m_addFEBTemp {this, "AddFEBTempInfo", false, "dump FEB temperature info ?"}
Gaudi::Property< bool > m_isSC {this, "isSC", false, "are we working with SC?"}
Gaudi::Property< bool > m_isFlat {this, "isFlat", false, "are we working with Flat conditions ?"}
Gaudi::Property< bool > m_OffId {this, "OffId", false, "dump also offline ID ?"}
Gaudi::Property< bool > m_addHash {this, "AddHash", false, "add also ID hash info ?"}
Gaudi::Property< bool > m_addCalib {this, "AddCalib", false, "add also calib line info info ?"}
Gaudi::Property< bool > m_realgeom {this, "RealGeometry", false, "add real geometry values ?"}
Gaudi::Property< bool > m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"}
Gaudi::Property< int > m_NGains {this,"nGains", CaloGain::LARNGAIN,"Number of gains"}
std::string m_ntpath
std::string m_ntTitle
NTuple::Tuple * m_nt
NTuple::Item< long > m_detector
NTuple::Item< long > m_region
NTuple::Item< long > m_layer
NTuple::Item< long > m_eta
NTuple::Item< long > m_phi
NTuple::Item< long > m_onlChanId
NTuple::Item< long > m_oflChanId
NTuple::Item< long > m_pos_neg
NTuple::Item< long > m_barrel_ec
NTuple::Item< long > m_FT
NTuple::Item< long > m_slot
NTuple::Item< long > m_channel
NTuple::Item< long > m_calibLine
NTuple::Item< long > m_badChanWord
NTuple::Item< long > m_isConnected
NTuple::Item< long > m_chanHash
NTuple::Item< long > m_febHash
NTuple::Item< long > m_oflHash
NTuple::Item< float > m_reta
NTuple::Item< float > m_rphi
NTuple::Item< float > m_FEBTemp1
NTuple::Item< float > m_FEBTemp2
StoreGateSvcm_detStore
const LArEM_Base_IDm_emId
const LArHEC_Base_IDm_hecId
const LArFCAL_Base_IDm_fcalId
const LArOnlineID_Basem_onlineId
const CaloCell_Base_IDm_caloId
ToolHandle< ILArFEBTempToolm_FEBTempTool
SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"}
SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingSCKey {this,"CablingSCKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"}
SG::ReadCondHandleKey< LArBadChannelContm_BCKey {this, "BadChanKey", "LArBadChannel", "SG bad channels key"}
SG::ReadCondHandleKey< LArCalibLineMappingm_calibMapKey {this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"}
SG::ReadCondHandleKey< LArCalibLineMappingm_calibMapSCKey {this,"CalibMapSCKey","LArCalibIdMapSC","SG Key of calib line mapping object"}
SG::ReadCondHandleKey< CaloDetDescrManagerm_caloMgrKey {this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store"}
SG::ReadCondHandleKey< CaloSuperCellDetDescrManagerm_caloSuperCellMgrKey {this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG key of the resulting CaloSuperCellDetDescrManager" }

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

bool m_initialized
DataObjIDColl m_extendedExtraObjects
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 16 of file LArDigits2Ntuple.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
NOT_VALID 

Definition at line 65 of file LArCond2NtupleBase.h.

Constructor & Destructor Documentation

◆ LArDigits2Ntuple()

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

Definition at line 10 of file LArDigits2Ntuple.cxx.

10 :
11 LArCond2NtupleBase(name, pSvcLocator),
12 m_ipass(0),
13 m_event(0)
14{
15 m_ntTitle = "LArDigits";
16 m_ntpath = "/NTUPLES/FILE1/LARDIGITS";
17}
LArCond2NtupleBase(const std::string &name, ISvcLocator *pSvcLocator)

◆ ~LArDigits2Ntuple()

LArDigits2Ntuple::~LArDigits2Ntuple ( )
default

Member Function Documentation

◆ cablingKey()

const SG::ReadCondHandleKey< LArOnOffIdMapping > & LArCond2NtupleBase::cablingKey ( ) const
inherited

Definition at line 458 of file LArCond2NtupleBase.cxx.

459{
460 if(m_isSC) return m_cablingSCKey;
461 return m_cablingKey;
462}
Gaudi::Property< bool > m_isSC
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingSCKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::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 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::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< Gaudi::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< Gaudi::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 LArDigits2Ntuple::execute ( const EventContext & ctx)
virtual

Execute method.

Provides access to the EventContext if needed but is non-const as opposed to AthReentrantAlgorithm.

Reimplemented from LArCond2NtupleBase.

Reimplemented in LArSC2Ntuple.

Definition at line 145 of file LArDigits2Ntuple.cxx.

146{
147
148 if(!m_contKey.key().size() && !m_accContKey.key().size() && !m_accCalibContKey.key().size()) return StatusCode::SUCCESS;
149
151
152 ATH_MSG_DEBUG( "LArDigits2Ntuple in execute" );
153 m_event++;
154 unsigned long long thisevent;
155 unsigned long thisbcid = 0;
156 unsigned long thisELVL1Id = 0;
157
158 thisevent = ctx.eventID().event_number();
159
160 // Get BCID from FEB header
161 if ( !m_isSC ){ // we are not processing SC data, Feb header could be accessed
162 SG::ReadHandle<LArFebHeaderContainer> hdrCont(m_LArFebHeaderContainerKey, ctx);
163 if (! hdrCont.isValid()) {
164 ATH_MSG_WARNING( "No LArFEB container found in TDS" );
165 }
166 else {
167 ATH_MSG_DEBUG( "LArFEB container found");
168 if(m_fillBCID) thisbcid = (*hdrCont->begin())->BCId() ;
169 ATH_MSG_DEBUG( "BCID FROM FEB HEADER " << thisbcid );
170 thisELVL1Id = (*hdrCont->begin())->ELVL1Id();
171 ATH_MSG_DEBUG( "NSAMPLES FROM FEB HEADER " << (*hdrCont->begin())->NbSamples() );
172 }
173 }else{
174 // This should be used for main readout later, once TDAQ fill event headers also in calib. runs properly
175 thisbcid = ctx.eventID().bunch_crossing_id();
176 }
177
178 if( m_contKey.key().size() ) { // fill from standard digits
179 SG::ReadHandle<LArDigitContainer> hdlDigit(m_contKey, ctx);
180 if(!hdlDigit.isValid()) {
181 ATH_MSG_WARNING( "Unable to retrieve LArDigitContainer with key " << m_contKey << " from DetectorStore. " );
182 return StatusCode::SUCCESS;
183 } else
184 ATH_MSG_DEBUG( "Got LArDigitContainer with key " << m_contKey.key() );
185
186 const LArDigitContainer DigitContainer = *hdlDigit;
187
188 if(!hdlDigit.cptr()) {
189 ATH_MSG_WARNING( "No digits in this event ?");
190 return StatusCode::SUCCESS;
191 }
192
193 for( const LArDigit *digi : DigitContainer ){
194
195 if(m_fillBCID) m_bcid = thisbcid;
196 m_ELVL1Id = thisELVL1Id;
197 m_IEvent = thisevent;
198
199 unsigned int trueMaxSample = digi->nsamples();
200
201 if (!m_isSC){
202 m_gain = digi->gain();
204 }
205 if(trueMaxSample>m_Nsamples){
206 if(!m_ipass){
207 ATH_MSG_WARNING( "The number of digi samples in data is larger than the one specified by JO: " << trueMaxSample << " > " << m_Nsamples << " --> only " << m_Nsamples << " will be available in the ntuple " );
208 m_ipass = 1;
209 }
210 trueMaxSample = m_Nsamples;
211 }
212 else if(trueMaxSample<m_Nsamples){
213 if(!m_ipass){
214 ATH_MSG_WARNING( "The number of digi samples in data is lower than the one specified by JO: " << trueMaxSample << " > " << m_Nsamples << " --> only " << trueMaxSample << " will be available in the ntuple " );
215 m_ipass = 1;
216 }
217 }
218 m_ntNsamples = trueMaxSample;
219 ATH_MSG_DEBUG( "The number of digi samples in data "<< m_Nsamples );
220
221 fillFromIdentifier(digi->hardwareID());
222
223 if(m_isSC && m_fillEMB && m_barrel_ec !=0) continue;
224 if(m_isSC && m_fillEndcap && m_barrel_ec !=1) continue;
225
226 if(m_FTlist.size() > 0) { // should do a selection
227 if(std::find(std::begin(m_FTlist), std::end(m_FTlist), m_FT) == std::end(m_FTlist)) { // is our FT in list ?
228 continue;
229 }
230 }
231
232 if(m_Slotlist.size() > 0) { // should do a selection
233 if(std::find(std::begin(m_Slotlist), std::end(m_Slotlist), m_slot) == std::end(m_Slotlist)) { // is our slot in list ?
234 continue;
235 }
236 }
237
238 if(m_Sidelist.size() > 0) { // should do a selection
239 if(std::find(std::begin(m_Sidelist), std::end(m_Sidelist), m_pos_neg) == std::end(m_Sidelist)) { // is our side in list ?
240 continue;
241 }
242 }
243
244 if(m_BElist.size() > 0) { // should do a selection
245 if(std::find(std::begin(m_BElist), std::end(m_BElist), m_barrel_ec) == std::end(m_BElist)) { // is our BE in list ?
246 continue;
247 }
248 }
249
250 for(unsigned i = 0; i<trueMaxSample;++i) m_samples[i] = digi->samples().at(i);
251
252
253 ATH_CHECK( ntupleSvc()->writeRecord(m_nt) );
254 }// over cells
255 }// standard digits
256
257 if( m_accCalibContKey.key().size() ) { // fill from acc. calib digits
258 SG::ReadHandle<LArAccumulatedCalibDigitContainer> hdlDigit(m_accCalibContKey, ctx);
259 if(!hdlDigit.isValid()) {
260 ATH_MSG_WARNING( "Unable to retrieve LArAccumulatedCalibDigitContainer with key " << m_accCalibContKey << " from DetectorStore. " );
261 return StatusCode::SUCCESS;
262 } else
263 ATH_MSG_DEBUG( "Got LArAccumulatedCalibDigitContainer with key " << m_accCalibContKey.key() );
264
265 const LArAccumulatedCalibDigitContainer DigitContainer = *hdlDigit;
266
267 if(!hdlDigit.cptr()) {
268 ATH_MSG_WARNING( "No digits in this event ?");
269 return StatusCode::SUCCESS;
270 }
271
272 for( const LArAccumulatedCalibDigit *digi : DigitContainer ){
273
274 if(m_fillBCID) m_bcid = thisbcid;
275 m_ELVL1Id = thisELVL1Id;
276 m_IEvent = thisevent;
277
278 unsigned int trueMaxSample = digi->nsamples();
279
280 if (!m_isSC){
281 m_gain = digi->gain();
283 }
284 if(trueMaxSample>m_Nsamples){
285 if(!m_ipass){
286 ATH_MSG_WARNING( "The number of digi samples in data is larger than the one specified by JO: " << trueMaxSample << " > " << m_Nsamples << " --> only " << m_Nsamples << " will be available in the ntuple " );
287 m_ipass = 1;
288 }
289 trueMaxSample = m_Nsamples;
290 }
291 else if(trueMaxSample<m_Nsamples){
292 if(!m_ipass){
293 ATH_MSG_WARNING( "The number of digi samples in data is lower than the one specified by JO: " << trueMaxSample << " > " << m_Nsamples << " --> only " << trueMaxSample << " will be available in the ntuple " );
294 m_ipass = 1;
295 }
296 }
297 m_ntNsamples = trueMaxSample;
298 ATH_MSG_DEBUG( "The number of acc. calib digi samples in data "<< m_Nsamples );
299
300 fillFromIdentifier(digi->hardwareID());
301
302 if(m_isSC && m_fillEMB && m_barrel_ec !=0) continue;
303 if(m_isSC && m_fillEndcap && m_barrel_ec !=1) continue;
304
305 if(m_FTlist.size() > 0) { // should do a selection
306 if(std::find(std::begin(m_FTlist), std::end(m_FTlist), m_FT) == std::end(m_FTlist)) { // is our FT in list ?
307 continue;
308 }
309 }
310
311 if(m_Slotlist.size() > 0) { // should do a selection
312 if(std::find(std::begin(m_Slotlist), std::end(m_Slotlist), m_slot) == std::end(m_Slotlist)) { // is our slot in list ?
313 continue;
314 }
315 }
316 for(unsigned i = 0; i<trueMaxSample;++i) {
317 m_mean[i] = digi->mean(i);
318 m_RMS[i] = digi->RMS(i);
319 }
320 //m_nTriggers = digi->nTriggers();
321 m_dac = digi->DAC();
322 m_delay = digi->delay();
323 m_pulsed = digi->getIsPulsedInt();
324
325
326 ATH_CHECK( ntupleSvc()->writeRecord(m_nt) );
327 }// over cells
328 }// acc calib. digits
329
330 if( m_accContKey.key().size() ) { // fill from acc digits
331 SG::ReadHandle<LArAccumulatedDigitContainer> hdlDigit(m_accContKey, ctx);
332 if(!hdlDigit.isValid()) {
333 ATH_MSG_WARNING( "Unable to retrieve LArAccumulatedDigitContainer with key " << m_accContKey << " from DetectorStore. " );
334 return StatusCode::SUCCESS;
335 } else
336 ATH_MSG_DEBUG( "Got LArAccumulatedDigitContainer with key " << m_accContKey.key() << " size: " << hdlDigit->size());
337
338 const LArAccumulatedDigitContainer DigitContainer = *hdlDigit;
339
340 if(!hdlDigit.cptr()) {
341 ATH_MSG_WARNING( "No digits in this event ?");
342 return StatusCode::SUCCESS;
343 }
344
345 for( const LArAccumulatedDigit *digi : DigitContainer ){
346
347 if(m_fillBCID) m_bcid = thisbcid;
348 m_ELVL1Id = thisELVL1Id;
349 m_IEvent = thisevent;
350
351 unsigned int trueMaxSample = digi->nsample();
352
353 if (!m_isSC){
354 m_gain = digi->gain();
356 }
357
358 if(trueMaxSample>m_Nsamples){
359 if(!m_ipass){
360 ATH_MSG_WARNING( "The number of digi samples in data is larger than the one specified by JO: " << trueMaxSample << " > " << m_Nsamples << " --> only " << m_Nsamples << " will be available in the ntuple " );
361 m_ipass = 1;
362 }
363 trueMaxSample = m_Nsamples;
364 } else if(trueMaxSample<m_Nsamples){
365 if(!m_ipass){
366 ATH_MSG_WARNING( "The number of digi samples in data is lower than the one specified by JO: " << trueMaxSample << " > " << m_Nsamples << " --> only " << trueMaxSample << " will be available in the ntuple " );
367 m_ipass = 1;
368 }
369 }
370 m_ntNsamples = trueMaxSample;
371 ATH_MSG_DEBUG( "The number of acc. digi samples in data "<< m_Nsamples );
372
373 fillFromIdentifier(digi->hardwareID());
374
375 if(m_isSC && m_fillEMB && m_barrel_ec !=0) continue;
376 if(m_isSC && m_fillEndcap && m_barrel_ec !=1) continue;
377
378 if(m_FTlist.size() > 0) { // should do a selection
379 if(std::find(std::begin(m_FTlist), std::end(m_FTlist), m_FT) == std::end(m_FTlist)) { // is our FT in list ?
380 continue;
381 }
382 }
383
384 if(m_Slotlist.size() > 0) { // should do a selection
385 if(std::find(std::begin(m_Slotlist), std::end(m_Slotlist), m_slot) == std::end(m_Slotlist)) { // is our slot in list ?
386 continue;
387 }
388 }
389 for(unsigned i = 0; i<trueMaxSample;++i) {
390 m_mean[i] = digi->mean(i);
391 m_RMS[i] = digi->RMS(i);
392 }
393
394 ATH_CHECK( ntupleSvc()->writeRecord(m_nt) );
395 }// over cells
396 }// acc digits
397
398 if(m_fillLB) {
399 m_IEventEvt = thisevent;
400 m_LB = ctx.eventID().lumi_block();
401
402 sc = ntupleSvc()->writeRecord(m_evt_nt);
403 if (sc != StatusCode::SUCCESS) {
404 ATH_MSG_ERROR( "writeRecord failed" );
405 return sc;
406 }
407 }
408
409 ATH_MSG_DEBUG( "LArDigits2Ntuple has finished." );
410 return StatusCode::SUCCESS;
411}// end finalize-method.
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
static Double_t sc
INTupleSvc * ntupleSvc()
NTuple::Item< long > m_barrel_ec
NTuple::Item< long > m_FT
NTuple::Item< long > m_slot
NTuple::Item< long > m_pos_neg
bool fillFromIdentifier(const HWIdentifier &id)
NTuple::Array< short > m_samples
Gaudi::Property< bool > m_fillLB
Gaudi::Property< bool > m_fillBCID
NTuple::Item< unsigned int > m_delay
SG::ReadHandleKey< LArDigitContainer > m_contKey
NTuple::Array< float > m_RMS
NTuple::Item< short > m_LB
Gaudi::Property< std::vector< unsigned int > > m_BElist
Gaudi::Property< std::vector< unsigned int > > m_Slotlist
NTuple::Array< float > m_mean
Gaudi::Property< std::vector< unsigned int > > m_Sidelist
Gaudi::Property< std::vector< unsigned int > > m_FTlist
SG::ReadHandleKey< LArFebHeaderContainer > m_LArFebHeaderContainerKey
Gaudi::Property< unsigned int > m_Nsamples
NTuple::Item< long > m_ntNsamples
Gaudi::Property< bool > m_fillEMB
NTuple::Item< short > m_bcid
NTuple::Item< unsigned long long > m_IEvent
SG::ReadHandleKey< LArAccumulatedDigitContainer > m_accContKey
NTuple::Item< unsigned long > m_ELVL1Id
NTuple::Item< unsigned int > m_pulsed
Gaudi::Property< bool > m_fillEndcap
NTuple::Tuple * m_evt_nt
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > m_accCalibContKey
NTuple::Item< short > m_gain
NTuple::Item< unsigned long long > m_IEventEvt
NTuple::Item< unsigned int > m_dac
@ LARNGAIN
Definition CaloGain.h:19
::StatusCode StatusCode
StatusCode definition for legacy code.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::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

◆ fillFromIdentifier()

bool LArCond2NtupleBase::fillFromIdentifier ( const HWIdentifier & id)
inherited

Definition at line 290 of file LArCond2NtupleBase.cxx.

290 {
291
292 ATH_MSG_VERBOSE("Starting fillFromIdentifier");
293 const LArBadChannelCont *bcCont = nullptr;
294 if ( m_addBC) {
295 SG::ReadCondHandle<LArBadChannelCont> readHandle{m_BCKey};
296 bcCont =*readHandle;
297 if( !bcCont) {
298 ATH_MSG_WARNING( "Do not have Bad chan container " << m_BCKey.key() );
299 return false;
300 }
301 }
302
303 const LArCalibLineMapping *clCont=nullptr;
304 if(m_addCalib) {
305 if(m_isSC){
306 SG::ReadCondHandle<LArCalibLineMapping> clHdl{m_calibMapSCKey};
307 clCont={*clHdl};
308 }
309 else{
310 SG::ReadCondHandle<LArCalibLineMapping> clHdl{m_calibMapKey};
311 clCont={*clHdl};
312 }
313 if(!clCont) {
314 ATH_MSG_WARNING( "Do not have calib line mapping !!!" );
315 return false;
316 }
317 }
318
319 const LArOnOffIdMapping* cabling=nullptr;
320 if(m_isSC){
321 SG::ReadCondHandle<LArOnOffIdMapping> cablingHdl{m_cablingSCKey};
322 cabling=*cablingHdl;
323 }
324 else{
325 SG::ReadCondHandle<LArOnOffIdMapping> cablingHdl{m_cablingKey};
326 cabling=*cablingHdl;
327 }
328
329 if(!cabling) {
330 ATH_MSG_WARNING( "Do not have cabling !" );
331 return false;
332 }
333
334 m_onlChanId = hwid.get_identifier32().get_compact();
335
336 if(m_expandId) {
337 m_barrel_ec = m_onlineId->barrel_ec(hwid);
338 m_pos_neg = m_onlineId->pos_neg(hwid);
339 m_FT = m_onlineId->feedthrough(hwid);
340 m_slot = m_onlineId->slot(hwid);
341 m_channel = m_onlineId->channel(hwid);
342 }
343
344 if (m_addHash) {
345 m_chanHash=m_onlineId->channel_Hash(hwid);
346 m_febHash=m_onlineId->feb_Hash(m_onlineId->feb_Id(hwid));
347 }
348
349 if(m_addCalib) {
351 const std::vector<HWIdentifier>& calibLineV=clCont->calibSlotLine(hwid);
352 if(!calibLineV.empty()) {
353 if(m_isSC) {
354 //FIXME - that is hacky, but do not have legacy helper in case of SC
355 m_calibLine = ((hwid.get_identifier32().get_compact())>>8)&0x7F;
356 } else {
357 m_calibLine = m_onlineId->channel(calibLineV[0]);
358 }
359 }
360 }
361
362
363 if ( m_OffId ) {
368
369 if(m_realgeom){
372 }
376 }
377
378 if (m_addBC) m_badChanWord=0;
379 bool connected=false;
380
381 const CaloDetDescrManager_Base* dd_man = nullptr;
382 if (m_realgeom) {
383 if(m_isSC) {
384 SG::ReadCondHandle<CaloSuperCellDetDescrManager> caloSuperCellMgrHandle{m_caloSuperCellMgrKey};
385 dd_man = *caloSuperCellMgrHandle;
386 }
387 else {
388 SG::ReadCondHandle<CaloDetDescrManager> caloMgrHandle{m_caloMgrKey};
389 dd_man = *caloMgrHandle;
390 }
391 }
392
393 try {
394 if (cabling->isOnlineConnected(hwid)) {
395 Identifier id=cabling->cnvToIdentifier(hwid);
396 if ( m_OffId ) {
397 m_oflChanId = id.get_identifier32().get_compact();
398 if (m_addHash) m_oflHash=m_caloId->calo_cell_hash(id);
399
400 if (dd_man) {
401 const CaloDetDescrElement *elem = dd_man->get_element(id);
402 if(!elem) {
403 ATH_MSG_WARNING("Do not have CDDE for "<<id.getString());
404 } else {
405 m_reta = elem->eta_raw();
406 m_rphi = elem->phi_raw();
407 }
408 }
409
410 if (m_emId->is_lar_em(id)) {
411 m_eta = m_emId->eta(id);
412 m_phi = m_emId->phi(id);
413 m_layer = m_emId->sampling(id);
414 m_region = m_emId->region(id);
415 m_detector = std::abs(m_emId->barrel_ec(id)) - 1; //0-barrel, 1-EMEC-OW, 2-EMEC-IW
416 }
417 else if (m_hecId->is_lar_hec(id)) {
418 m_eta = m_hecId->eta(id);
419 m_phi = m_hecId->phi(id);
420 m_layer = m_hecId->sampling(id);
421 m_region = m_hecId->region(id);
422 m_detector = 3;
423 }
424 else if (m_fcalId->is_lar_fcal(id)) {
425 m_eta = m_fcalId->eta(id);
426 m_phi = m_fcalId->phi(id);
427 m_layer = m_fcalId->module(id);
428 m_region = 0;
429 m_detector = 4;
430 }
431 } // m_OffId
432 connected=true;
433 }//end if is connected
434 }catch (LArID_Exception & except) {}
435
436 //bad-channel word
437 if (m_addBC) m_badChanWord=bcCont->status(hwid).packedData();
438 // FEB temperatures
439 if (m_addFEBTemp) {
440 FEBTemp tv = m_FEBTempTool->getFebTemp(hwid);
441 if( !tv.empty() ) {
442 FEBTemp::const_iterator itb = tv.begin();
443 FEBTemp::const_iterator ite = tv.end();
444 for(;itb!=ite;++itb) {
445 m_FEBTemp1 = (*itb).first;
446 m_FEBTemp2 = (*itb).second;
447 }
448 }
449 }
450
451 if(m_addCalib) m_isConnected = (long)connected;
452
453 return connected;
454}
#define ATH_MSG_VERBOSE(x)
std::vector< std::pair< float, float > > FEBTemp
LArBadXCont< LArBadChannel > LArBadChannelCont
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
BitWord packedData() const
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
const std::vector< HWIdentifier > & calibSlotLine(const HWIdentifier id) const
NTuple::Item< long > m_isConnected
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
const CaloCell_Base_ID * m_caloId
NTuple::Item< long > m_calibLine
NTuple::Item< long > m_region
NTuple::Item< long > m_layer
NTuple::Item< long > m_chanHash
Gaudi::Property< bool > m_addCalib
NTuple::Item< float > m_reta
const LArEM_Base_ID * m_emId
NTuple::Item< long > m_onlChanId
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
Gaudi::Property< bool > m_addHash
NTuple::Item< long > m_eta
ToolHandle< ILArFEBTempTool > m_FEBTempTool
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
const LArHEC_Base_ID * m_hecId
NTuple::Item< long > m_oflHash
NTuple::Item< float > m_rphi
Gaudi::Property< bool > m_realgeom
NTuple::Item< long > m_febHash
NTuple::Item< long > m_detector
NTuple::Item< float > m_FEBTemp1
NTuple::Item< long > m_oflChanId
NTuple::Item< float > m_FEBTemp2
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
NTuple::Item< long > m_phi
NTuple::Item< long > m_badChanWord
const LArOnlineID_Base * m_onlineId
Gaudi::Property< bool > m_addBC
NTuple::Item< long > m_channel
const LArFCAL_Base_ID * m_fcalId
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapSCKey
Gaudi::Property< bool > m_expandId
Gaudi::Property< bool > m_addFEBTemp
Gaudi::Property< bool > m_OffId

◆ filterPassed() [1/2]

bool AthAlgorithm::filterPassed ( ) const
inherited

Definition at line 94 of file AthAlgorithm.cxx.

94 {
95 return filterPassed( Gaudi::Hive::currentContext() );
96}
bool filterPassed() const

◆ filterPassed() [2/2]

bool AthAlgorithm::filterPassed ( const EventContext & ctx) const
inherited

Definition at line 98 of file AthAlgorithm.cxx.

98 {
99 return execState( ctx ).filterPassed();
100}

◆ getContext()

const EventContext & AthAlgorithm::getContext ( ) const
inherited

Deprecated methods (use the ones with EventContext).

Definition at line 90 of file AthAlgorithm.cxx.

90 {
91 return Gaudi::Hive::currentContext();
92}

◆ initialize()

StatusCode LArDigits2Ntuple::initialize ( )
virtual

Reimplemented in LArSC2Ntuple.

Definition at line 23 of file LArDigits2Ntuple.cxx.

24{
25 ATH_MSG_DEBUG( "in initialize" );
26
27 ATH_MSG_DEBUG(" IS it SC?? " << m_isSC );
28
29 if( (m_contKey.key().size()) && (m_accContKey.key().size() || m_accCalibContKey.key().size()) ){
30 ATH_MSG_FATAL("Could not run with both standard and acc. digits !!!");
31 ATH_MSG_FATAL("m_contKey: "<<m_contKey.key()<<" m_accContKey: "<<m_accContKey.key()<<" m_accCalibContKey: "<<m_accCalibContKey.key());
32 return StatusCode::FAILURE;
33 }
34
36
37 StatusCode sc = m_nt->addItem("IEvent",m_IEvent);
38 if (sc!=StatusCode::SUCCESS) {
39 ATH_MSG_ERROR( "addItem 'IEvent' failed" );
40 return sc;
41 }
42
43 if(m_accContKey.key().size() || m_accCalibContKey.key().size()) {
44 sc = m_nt->addItem("mean",m_Nsamples,m_mean);
45 if (sc!=StatusCode::SUCCESS) {
46 ATH_MSG_ERROR( "addItem 'mean' failed" );
47 return sc;
48 }
49 sc = m_nt->addItem("RMS",m_Nsamples,m_RMS);
50 if (sc!=StatusCode::SUCCESS) {
51 ATH_MSG_ERROR( "addItem 'RMS' failed" );
52 return sc;
53 }
54 if(m_accCalibContKey.key().size()) {
55 sc = m_nt->addItem("DAC",m_dac);
56 if (sc!=StatusCode::SUCCESS) {
57 ATH_MSG_ERROR( "addItem 'DAC' failed" );
58 return sc;
59 }
60 sc = m_nt->addItem("delay",m_delay);
61 if (sc!=StatusCode::SUCCESS) {
62 ATH_MSG_ERROR( "addItem 'delay' failed" );
63 return sc;
64 }
65 sc = m_nt->addItem("Pulsed",m_pulsed);
66 if (sc!=StatusCode::SUCCESS) {
67 ATH_MSG_ERROR( "addItem 'Pulsed' failed" );
68 return sc;
69 }
70 }
71 }
72
73 if(m_contKey.key().size()) {
74 sc = m_nt->addItem("samples",m_Nsamples,m_samples);
75 if (sc!=StatusCode::SUCCESS) {
76 ATH_MSG_ERROR( "addItem 'samples' failed" );
77 return sc;
78 }
79 }
80
81 sc = m_nt->addItem("Nsamples",m_ntNsamples,0,32);
82 if (sc!=StatusCode::SUCCESS) {
83 ATH_MSG_ERROR( "addItem 'Nsamples' failed" );
84 return sc;
85 }
86
87 if(m_fillBCID){
88 sc = m_nt->addItem("BCID",m_bcid);
89 if (sc!=StatusCode::SUCCESS) {
90 ATH_MSG_ERROR( "addItem 'BCID' failed" );
91 return sc;
92 }
93 }
94
95 sc = m_nt->addItem("ELVL1Id",m_ELVL1Id);
96 if (sc!=StatusCode::SUCCESS) {
97 ATH_MSG_ERROR( "addItem 'ELVL1Id' failed" );
98 return sc;
99 }
100
101 if(!m_isSC){
102 sc = m_nt->addItem("Gain",m_gain,-1,3);
103 if (sc!=StatusCode::SUCCESS) {
104 ATH_MSG_ERROR( "addItem 'Gain' failed" );
105 return sc;
106 }
107 }
108
109 if(m_fillLB){
110 NTuplePtr nt(ntupleSvc(),m_ntpath+"Evnt");
111 if (!nt) {
112 nt=ntupleSvc()->book(m_ntpath+"Evnt",CLID_ColumnWiseTuple,m_ntTitle+"Evnt");
113 }
114 if (!nt){
115 ATH_MSG_ERROR( "Booking of NTuple at "<< m_ntpath << " and name " << m_ntTitle << " failed" );
116 return StatusCode::FAILURE;
117 }
118
119 m_evt_nt=nt;
120
121 sc = m_evt_nt->addItem("IEvent",m_IEventEvt);
122 if (sc!=StatusCode::SUCCESS) {
123 ATH_MSG_ERROR( "addItem 'IEvent' failed" );
124 return sc;
125 }
126
127 sc=m_evt_nt->addItem("LB",m_LB);
128 if (sc.isFailure()) {
129 ATH_MSG_ERROR( "addItem 'LB' failed" );
130 return sc;
131 }
132 }
133 ATH_CHECK(m_contKey.initialize(m_contKey.key().size()) );
134 ATH_CHECK(m_accContKey.initialize(m_accContKey.key().size()) );
135 ATH_CHECK(m_accCalibContKey.initialize(m_accCalibContKey.key().size()) );
137
138 m_ipass = 0;
139 m_event = 0;
140
141 return StatusCode::SUCCESS;
142
143}
#define ATH_MSG_FATAL(x)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::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.

◆ isReEntrant()

virtual bool AthAlgorithm::isReEntrant ( ) const
inlinefinaloverrideprotectedvirtualinherited

Legacy algorithms are not thread-safe.

Definition at line 111 of file AthAlgorithm.h.

111{ return false; }

◆ msg()

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msgLvl()

bool AthCommonMsg< Gaudi::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< Gaudi::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< Gaudi::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< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed() [1/2]

void AthAlgorithm::setFilterPassed ( bool state) const
inherited

Definition at line 102 of file AthAlgorithm.cxx.

102 {
103 setFilterPassed( state, Gaudi::Hive::currentContext() );
104}
void setFilterPassed(bool state) const

◆ setFilterPassed() [2/2]

void AthAlgorithm::setFilterPassed ( bool state,
const EventContext & ctx ) const
inherited

Definition at line 106 of file AthAlgorithm.cxx.

106 {
107 execState( ctx ).setFilterPassed(state);
108}

◆ 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< Gaudi::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}
virtual StatusCode sysInitialize() override
Override sysInitialize.
AthCommonDataStore(const std::string &name, T... args)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::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< Gaudi::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 }

Member Data Documentation

◆ m_accCalibContKey

SG::ReadHandleKey<LArAccumulatedCalibDigitContainer> LArDigits2Ntuple::m_accCalibContKey {this, "AccCalibContainerKey", "", "key for LArAccumulatedCalibDigitDigitContainer"}
protected

Definition at line 62 of file LArDigits2Ntuple.h.

62{this, "AccCalibContainerKey", "", "key for LArAccumulatedCalibDigitDigitContainer"};

◆ m_accContKey

SG::ReadHandleKey<LArAccumulatedDigitContainer> LArDigits2Ntuple::m_accContKey {this, "AccContainerKey", "", "key for LArAccumulatedDigitDigitContainer"}
protected

Definition at line 63 of file LArDigits2Ntuple.h.

63{this, "AccContainerKey", "", "key for LArAccumulatedDigitDigitContainer"};

◆ m_addBC

Gaudi::Property< bool > LArCond2NtupleBase::m_addBC {this, "AddBadChannelInfo", true, "dump BadChan info ?"}
protectedinherited

Definition at line 54 of file LArCond2NtupleBase.h.

54{this, "AddBadChannelInfo", true, "dump BadChan info ?"};

◆ m_addCalib

Gaudi::Property< bool > LArCond2NtupleBase::m_addCalib {this, "AddCalib", false, "add also calib line info info ?"}
protectedinherited

Definition at line 60 of file LArCond2NtupleBase.h.

60{this, "AddCalib", false, "add also calib line info info ?"};

◆ m_addFEBTemp

Gaudi::Property< bool > LArCond2NtupleBase::m_addFEBTemp {this, "AddFEBTempInfo", false, "dump FEB temperature info ?"}
protectedinherited

Definition at line 55 of file LArCond2NtupleBase.h.

55{this, "AddFEBTempInfo", false, "dump FEB temperature info ?"};

◆ m_addHash

Gaudi::Property< bool > LArCond2NtupleBase::m_addHash {this, "AddHash", false, "add also ID hash info ?"}
protectedinherited

Definition at line 59 of file LArCond2NtupleBase.h.

59{this, "AddHash", false, "add also ID hash info ?"};

◆ m_badChanWord

NTuple::Item<long> LArCond2NtupleBase::m_badChanWord
protectedinherited

Definition at line 75 of file LArCond2NtupleBase.h.

◆ m_barrel_ec

NTuple::Item<long> LArCond2NtupleBase::m_barrel_ec
protectedinherited

Definition at line 74 of file LArCond2NtupleBase.h.

◆ m_bcid

NTuple::Item<short> LArDigits2Ntuple::m_bcid
protected

Definition at line 43 of file LArDigits2Ntuple.h.

◆ m_BCKey

SG::ReadCondHandleKey<LArBadChannelCont> LArCond2NtupleBase::m_BCKey {this, "BadChanKey", "LArBadChannel", "SG bad channels key"}
protectedinherited

Definition at line 94 of file LArCond2NtupleBase.h.

94{this, "BadChanKey", "LArBadChannel", "SG bad channels key"};

◆ m_BElist

Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_BElist {this, "BElist", {}, "which B or E to dump"}
protected

Definition at line 35 of file LArDigits2Ntuple.h.

35{this, "BElist", {}, "which B or E to dump"};

◆ m_cablingKey

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

Definition at line 91 of file LArCond2NtupleBase.h.

91{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};

◆ m_cablingSCKey

SG::ReadCondHandleKey<LArOnOffIdMapping> LArCond2NtupleBase::m_cablingSCKey {this,"CablingSCKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"}
protectedinherited

Definition at line 92 of file LArCond2NtupleBase.h.

92{this,"CablingSCKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"};

◆ m_calibLine

NTuple::Item<long> LArCond2NtupleBase::m_calibLine
protectedinherited

Definition at line 75 of file LArCond2NtupleBase.h.

◆ m_calibMapKey

SG::ReadCondHandleKey<LArCalibLineMapping> LArCond2NtupleBase::m_calibMapKey {this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"}
protectedinherited

Definition at line 95 of file LArCond2NtupleBase.h.

95{this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"};

◆ m_calibMapSCKey

SG::ReadCondHandleKey<LArCalibLineMapping> LArCond2NtupleBase::m_calibMapSCKey {this,"CalibMapSCKey","LArCalibIdMapSC","SG Key of calib line mapping object"}
protectedinherited

Definition at line 96 of file LArCond2NtupleBase.h.

96{this,"CalibMapSCKey","LArCalibIdMapSC","SG Key of calib line mapping object"};

◆ m_caloId

const CaloCell_Base_ID* LArCond2NtupleBase::m_caloId
protectedinherited

Definition at line 88 of file LArCond2NtupleBase.h.

◆ m_caloMgrKey

SG::ReadCondHandleKey<CaloDetDescrManager> LArCond2NtupleBase::m_caloMgrKey {this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store"}
protectedinherited

Definition at line 98 of file LArCond2NtupleBase.h.

98{this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store"};

◆ m_caloSuperCellMgrKey

SG::ReadCondHandleKey<CaloSuperCellDetDescrManager> LArCond2NtupleBase::m_caloSuperCellMgrKey {this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG key of the resulting CaloSuperCellDetDescrManager" }
protectedinherited

Definition at line 99 of file LArCond2NtupleBase.h.

99{this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG key of the resulting CaloSuperCellDetDescrManager" };

◆ m_chanHash

NTuple::Item<long> LArCond2NtupleBase::m_chanHash
protectedinherited

Definition at line 77 of file LArCond2NtupleBase.h.

◆ m_channel

NTuple::Item<long> LArCond2NtupleBase::m_channel
protectedinherited

Definition at line 74 of file LArCond2NtupleBase.h.

◆ m_contKey

SG::ReadHandleKey<LArDigitContainer> LArDigits2Ntuple::m_contKey {this, "ContainerKey", "", "key for LArDigitContainer"}
protected

Definition at line 61 of file LArDigits2Ntuple.h.

61{this, "ContainerKey", "", "key for LArDigitContainer"};

◆ m_dac

NTuple::Item<unsigned int> LArDigits2Ntuple::m_dac
protected

Definition at line 50 of file LArDigits2Ntuple.h.

◆ m_delay

NTuple::Item<unsigned int> LArDigits2Ntuple::m_delay
protected

Definition at line 51 of file LArDigits2Ntuple.h.

◆ m_detector

NTuple::Item<long> LArCond2NtupleBase::m_detector
protectedinherited

Definition at line 73 of file LArCond2NtupleBase.h.

◆ m_detStore

StoreGateSvc* LArCond2NtupleBase::m_detStore
protectedinherited

Definition at line 83 of file LArCond2NtupleBase.h.

◆ m_ELVL1Id

NTuple::Item<unsigned long> LArDigits2Ntuple::m_ELVL1Id
protected

Definition at line 44 of file LArDigits2Ntuple.h.

◆ m_emId

const LArEM_Base_ID* LArCond2NtupleBase::m_emId
protectedinherited

Definition at line 84 of file LArCond2NtupleBase.h.

◆ m_eta

NTuple::Item<long> LArCond2NtupleBase::m_eta
protectedinherited

Definition at line 73 of file LArCond2NtupleBase.h.

◆ m_event

long LArDigits2Ntuple::m_event
protected

Definition at line 29 of file LArDigits2Ntuple.h.

◆ m_evt_nt

NTuple::Tuple* LArDigits2Ntuple::m_evt_nt = nullptr
protected

Definition at line 56 of file LArDigits2Ntuple.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_expandId

Gaudi::Property< bool > LArCond2NtupleBase::m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"}
protectedinherited

Definition at line 62 of file LArCond2NtupleBase.h.

62{this,"ExpandId", true ,"add online Id decoded fields ?"};

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 114 of file AthAlgorithm.h.

◆ m_fcalId

const LArFCAL_Base_ID* LArCond2NtupleBase::m_fcalId
protectedinherited

Definition at line 86 of file LArCond2NtupleBase.h.

◆ m_febHash

NTuple::Item<long> LArCond2NtupleBase::m_febHash
protectedinherited

Definition at line 77 of file LArCond2NtupleBase.h.

◆ m_FEBTemp1

NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp1
protectedinherited

Definition at line 80 of file LArCond2NtupleBase.h.

◆ m_FEBTemp2

NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp2
protectedinherited

Definition at line 80 of file LArCond2NtupleBase.h.

◆ m_FEBTempTool

ToolHandle<ILArFEBTempTool> LArCond2NtupleBase::m_FEBTempTool
protectedinherited

Definition at line 89 of file LArCond2NtupleBase.h.

◆ m_fillBCID

Gaudi::Property< bool > LArDigits2Ntuple::m_fillBCID {this, "FillBCID", false, "if to fill BCID"}
protected

Definition at line 38 of file LArDigits2Ntuple.h.

38{this, "FillBCID", false, "if to fill BCID"};

◆ m_fillEMB

Gaudi::Property< bool > LArDigits2Ntuple::m_fillEMB {this, "FillEMB", true, "if to fill EMB"}
protected

Definition at line 36 of file LArDigits2Ntuple.h.

36{this, "FillEMB", true, "if to fill EMB"};

◆ m_fillEndcap

Gaudi::Property< bool > LArDigits2Ntuple::m_fillEndcap {this, "FillEndcap", true, "if to fill Eendcap"}
protected

Definition at line 37 of file LArDigits2Ntuple.h.

37{this, "FillEndcap", true, "if to fill Eendcap"};

◆ m_fillLB

Gaudi::Property< bool > LArDigits2Ntuple::m_fillLB {this, "FillLB", false, "if to fill LB in Evnt tree"}
protected

Definition at line 39 of file LArDigits2Ntuple.h.

39{this, "FillLB", false, "if to fill LB in Evnt tree"};

◆ m_FT

NTuple::Item<long> LArCond2NtupleBase::m_FT
protectedinherited

Definition at line 74 of file LArCond2NtupleBase.h.

◆ m_FTlist

Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_FTlist {this, "FTlist", {}, "which FT to dump"}
protected

Definition at line 32 of file LArDigits2Ntuple.h.

32{this, "FTlist", {}, "which FT to dump"};

◆ m_gain

NTuple::Item<short> LArDigits2Ntuple::m_gain
protected

Definition at line 42 of file LArDigits2Ntuple.h.

◆ m_hecId

const LArHEC_Base_ID* LArCond2NtupleBase::m_hecId
protectedinherited

Definition at line 85 of file LArCond2NtupleBase.h.

◆ m_IEvent

NTuple::Item<unsigned long long> LArDigits2Ntuple::m_IEvent
protected

Definition at line 45 of file LArDigits2Ntuple.h.

◆ m_IEventEvt

NTuple::Item<unsigned long long> LArDigits2Ntuple::m_IEventEvt
protected

Definition at line 58 of file LArDigits2Ntuple.h.

◆ m_initialized

bool LArCond2NtupleBase::m_initialized
privateinherited

Definition at line 51 of file LArCond2NtupleBase.h.

◆ m_ipass

int LArDigits2Ntuple::m_ipass
protected

Definition at line 28 of file LArDigits2Ntuple.h.

◆ m_isConnected

NTuple::Item<long> LArCond2NtupleBase::m_isConnected
protectedinherited

Definition at line 76 of file LArCond2NtupleBase.h.

◆ m_isFlat

Gaudi::Property< bool > LArCond2NtupleBase::m_isFlat {this, "isFlat", false, "are we working with Flat conditions ?"}
protectedinherited

Definition at line 57 of file LArCond2NtupleBase.h.

57{this, "isFlat", false, "are we working with Flat conditions ?"};

◆ m_isSC

Gaudi::Property< bool > LArCond2NtupleBase::m_isSC {this, "isSC", false, "are we working with SC?"}
protectedinherited

Definition at line 56 of file LArCond2NtupleBase.h.

56{this, "isSC", false, "are we working with SC?"};

◆ m_LArFebHeaderContainerKey

SG::ReadHandleKey<LArFebHeaderContainer> LArDigits2Ntuple::m_LArFebHeaderContainerKey { this, "LArFebHeaderKey", "LArFebHeader" }
protected

Definition at line 64 of file LArDigits2Ntuple.h.

64{ this, "LArFebHeaderKey", "LArFebHeader" };

◆ m_layer

NTuple::Item<long> LArCond2NtupleBase::m_layer
protectedinherited

Definition at line 73 of file LArCond2NtupleBase.h.

◆ m_LB

NTuple::Item<short> LArDigits2Ntuple::m_LB
protected

Definition at line 59 of file LArDigits2Ntuple.h.

◆ m_mean

NTuple::Array<float> LArDigits2Ntuple::m_mean
protected

Definition at line 48 of file LArDigits2Ntuple.h.

◆ m_NGains

Gaudi::Property< int > LArCond2NtupleBase::m_NGains {this,"nGains", CaloGain::LARNGAIN,"Number of gains"}
protectedinherited

Definition at line 63 of file LArCond2NtupleBase.h.

63{this,"nGains", CaloGain::LARNGAIN,"Number of gains"};

◆ m_Nsamples

Gaudi::Property< unsigned int > LArDigits2Ntuple::m_Nsamples {this, "NSamples", 32, "number of samples to store"}
protected

Definition at line 31 of file LArDigits2Ntuple.h.

31{this, "NSamples", 32, "number of samples to store"};

◆ m_nt

NTuple::Tuple* LArCond2NtupleBase::m_nt
protectedinherited

Definition at line 70 of file LArCond2NtupleBase.h.

◆ m_ntNsamples

NTuple::Item<long> LArDigits2Ntuple::m_ntNsamples
protected

Definition at line 41 of file LArDigits2Ntuple.h.

◆ m_ntpath

std::string LArCond2NtupleBase::m_ntpath
protectedinherited

Definition at line 67 of file LArCond2NtupleBase.h.

◆ m_ntTitle

std::string LArCond2NtupleBase::m_ntTitle
protectedinherited

Definition at line 67 of file LArCond2NtupleBase.h.

◆ m_OffId

Gaudi::Property< bool > LArCond2NtupleBase::m_OffId {this, "OffId", false, "dump also offline ID ?"}
protectedinherited

Definition at line 58 of file LArCond2NtupleBase.h.

58{this, "OffId", false, "dump also offline ID ?"};

◆ m_oflChanId

NTuple::Item<long> LArCond2NtupleBase::m_oflChanId
protectedinherited

Definition at line 73 of file LArCond2NtupleBase.h.

◆ m_oflHash

NTuple::Item<long> LArCond2NtupleBase::m_oflHash
protectedinherited

Definition at line 77 of file LArCond2NtupleBase.h.

◆ m_onlChanId

NTuple::Item<long> LArCond2NtupleBase::m_onlChanId
protectedinherited

Definition at line 73 of file LArCond2NtupleBase.h.

◆ m_onlineId

const LArOnlineID_Base* LArCond2NtupleBase::m_onlineId
protectedinherited

Definition at line 87 of file LArCond2NtupleBase.h.

◆ m_phi

NTuple::Item<long> LArCond2NtupleBase::m_phi
protectedinherited

Definition at line 73 of file LArCond2NtupleBase.h.

◆ m_pos_neg

NTuple::Item<long> LArCond2NtupleBase::m_pos_neg
protectedinherited

Definition at line 74 of file LArCond2NtupleBase.h.

◆ m_pulsed

NTuple::Item<unsigned int> LArDigits2Ntuple::m_pulsed
protected

Definition at line 52 of file LArDigits2Ntuple.h.

◆ m_realgeom

Gaudi::Property< bool > LArCond2NtupleBase::m_realgeom {this, "RealGeometry", false, "add real geometry values ?"}
protectedinherited

Definition at line 61 of file LArCond2NtupleBase.h.

61{this, "RealGeometry", false, "add real geometry values ?"};

◆ m_region

NTuple::Item<long> LArCond2NtupleBase::m_region
protectedinherited

Definition at line 73 of file LArCond2NtupleBase.h.

◆ m_reta

NTuple::Item<float> LArCond2NtupleBase::m_reta
protectedinherited

Definition at line 79 of file LArCond2NtupleBase.h.

◆ m_RMS

NTuple::Array<float> LArDigits2Ntuple::m_RMS
protected

Definition at line 49 of file LArDigits2Ntuple.h.

◆ m_rphi

NTuple::Item<float> LArCond2NtupleBase::m_rphi
protectedinherited

Definition at line 79 of file LArCond2NtupleBase.h.

◆ m_samples

NTuple::Array<short> LArDigits2Ntuple::m_samples
protected

Definition at line 46 of file LArDigits2Ntuple.h.

◆ m_Sidelist

Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_Sidelist {this, "Sidelist", {}, "which side to dump"}
protected

Definition at line 34 of file LArDigits2Ntuple.h.

34{this, "Sidelist", {}, "which side to dump"};

◆ m_slot

NTuple::Item<long> LArCond2NtupleBase::m_slot
protectedinherited

Definition at line 74 of file LArCond2NtupleBase.h.

◆ m_Slotlist

Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_Slotlist {this, "Slotlist", {}, "which Slot to dump"}
protected

Definition at line 33 of file LArDigits2Ntuple.h.

33{this, "Slotlist", {}, "which Slot to dump"};

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


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