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

#include <LArSC2NtupleEB.h>

Inheritance diagram for LArSC2NtupleEB:
Collaboration diagram for LArSC2NtupleEB:

Public Member Functions

 LArSC2NtupleEB (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) override
 Execute method.
bool fillFromIdentifier (const HWIdentifier &id, int C)
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

typedef std::map< HWIdentifier, const LArRawChannel * > rawChanMap_t
typedef std::map< HWIdentifier, const LArRawSC * > rawSCMap_t
enum  { NOT_VALID = -999 }

Protected Member Functions

void fillRODEnergy (HWIdentifier SCId, unsigned cell, rawChanMap_t &rawChanMap, const LArOnOffIdMapping *cabling, const LArOnOffIdMapping *cablingROD)
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

Gaudi::Property< unsigned int > m_scNet {this, "scNet", 5, "number of energies from raw"}
Gaudi::Property< unsigned int > m_recoNet {this, "recoNet", 5, "number of energies from reco"}
Gaudi::Property< bool > m_fillBCID {this, "FillBCID", false, "if to fill BCID"}
Gaudi::Property< float > m_eCut {this, "EnergyCut", 0., "when to fll"}
NTuple::Item< unsigned long long > m_IEvent
NTuple::Item< short > m_bcid
NTuple::Matrix< float > m_energyVec_ET
NTuple::Matrix< float > m_bcidVec_ET
NTuple::Matrix< bool > m_saturVec_ET
NTuple::Matrix< bool > m_passVec_ET
NTuple::Matrix< float > m_energyVec_Reco
NTuple::Matrix< float > m_tauVec_Reco
NTuple::Matrix< float > m_bcidVec_Reco
NTuple::Matrix< bool > m_passVec_Reco
NTuple::Matrix< bool > m_saturVec_Reco
NTuple::Matrix< float > m_ROD_energy
NTuple::Matrix< float > m_ROD_time
NTuple::Matrix< float > m_ROD_id
SG::ReadHandleKey< LArRawSCContainerm_sccontKey {this, "EnergyContainerKey", "", "key for LArRawSCContainer from bytestream"}
SG::ReadHandleKey< LArRawSCContainerm_reccontKey {this, "RecoContainerKey", "", "key for LArRawSCContainer reconstructed from digits"}
SG::ReadHandleKey< LArRawChannelContainerm_rawcontKey {this, "RawChanContainerKey", "", "key for LArRawChannelsContainer"}
SG::ReadHandleKey< xAOD::EventInfom_evtInfoKey { this, "EventInfoKey", "EventInfo", "SG for EventInfo Key" }
SG::ReadCondHandleKey< LArOnOffIdMappingm_cablingKeyAdditional {this,"CablingKeyAdditional","LArOnOffIdMap","SG Key of LArOnOffIdMapping object for standard cells"}
ToolHandle< ICaloSuperCellIDToolm_scidtool {this, "CaloSuperCellIDTool", "CaloSuperCellIDTool", "Offline / SuperCell ID mapping tool"}
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 ?"}
std::string m_ntpath
std::string m_ntTitle
NTuple::Tuple * m_nt
NTuple::Array< double > m_detector
NTuple::Array< double > m_region
NTuple::Array< double > m_layer
NTuple::Array< double > m_eta
NTuple::Array< double > m_phi
NTuple::Array< double > m_onlChanId
NTuple::Array< double > m_oflChanId
NTuple::Array< double > m_pos_neg
NTuple::Array< double > m_barrel_ec
NTuple::Array< double > m_FT
NTuple::Array< double > m_slot
NTuple::Array< double > m_channel
NTuple::Array< double > m_calibLine
NTuple::Array< double > m_badChanWord
NTuple::Array< double > m_isConnected
NTuple::Array< double > m_chanHash
NTuple::Array< double > m_febHash
NTuple::Array< double > m_oflHash
NTuple::Array< float > m_reta
NTuple::Array< float > m_rphi
NTuple::Array< float > m_FEBTemp1
NTuple::Array< float > m_FEBTemp2
const int m_SC = 34048
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

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 18 of file LArSC2NtupleEB.h.

Member Typedef Documentation

◆ rawChanMap_t

Definition at line 63 of file LArSC2NtupleEB.h.

◆ rawSCMap_t

typedef std::map<HWIdentifier, const LArRawSC*> LArSC2NtupleEB::rawSCMap_t
protected

Definition at line 67 of file LArSC2NtupleEB.h.

◆ 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 61 of file LArCond2NtupleBaseEB.h.

Constructor & Destructor Documentation

◆ LArSC2NtupleEB()

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

Definition at line 10 of file LArSC2NtupleEB.cxx.

10 :
11 LArCond2NtupleBaseEB(name, pSvcLocator)
12{
13 m_isSC = true;
14 m_ntTitle = "LAr SC Energies";
15 m_ntpath = "/NTUPLES/FILE1/LARSC";
16}
Gaudi::Property< bool > m_isSC
LArCond2NtupleBaseEB(const std::string &name, ISvcLocator *pSvcLocator)

Member Function Documentation

◆ cablingKey()

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

Definition at line 441 of file LArCond2NtupleBaseEB.cxx.

442{
443 if(m_isSC) return m_cablingSCKey;
444 return m_cablingKey;
445}
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 LArSC2NtupleEB::execute ( const EventContext & ctx)
overridevirtual

Execute method.

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

Reimplemented from LArCond2NtupleBaseEB.

Definition at line 130 of file LArSC2NtupleEB.cxx.

131{
132
134
135
136 ATH_MSG_DEBUG( "LArSC2NtupleEB in execute" );
137 unsigned long long thisevent;
138 unsigned long thisbcid = 0;
139
140 SG::ReadHandle<xAOD::EventInfo>evt (m_evtInfoKey, ctx);
141 thisevent = evt->eventNumber();
142
143 thisbcid = evt->bcid();
144
145 const LArRawSCContainer* etcontainer = nullptr;
146 if (!m_sccontKey.empty()) {
147 SG::ReadHandle<LArRawSCContainer> hdlSc(m_sccontKey, ctx);
148
149 if(!hdlSc.isValid()) {
150 ATH_MSG_WARNING( "Unable to retrieve LArRawSCContainer with key " << m_sccontKey << " from DetectorStore. " );
151 return StatusCode::SUCCESS;
152 } else {
153 ATH_MSG_DEBUG( "Got LArRAwSCContainer with key " << m_sccontKey.key() );
154 etcontainer = &*hdlSc;
155 }
156 }
157
158 const LArRawSCContainer* recocontainer = nullptr;
159 if (!m_reccontKey.empty()) {
160 SG::ReadHandle<LArRawSCContainer> hdlReco(m_reccontKey, ctx);
161
162 if(!hdlReco.isValid()) {
163 ATH_MSG_WARNING( "Unable to retrieve LArRawSCContainer with key " << m_reccontKey << " from DetectorStore. " );
164 return StatusCode::SUCCESS;
165 } else {
166 ATH_MSG_DEBUG( "Got LArRAwSCContainer with key " << m_reccontKey.key() );
167 recocontainer = &*hdlReco;
168 }
169 }
170
171 if(! (etcontainer || recocontainer)) {
172
173 ATH_MSG_WARNING( "Do not have any containers to loop on. " );
174 return StatusCode::SUCCESS;
175 }
176
177 const LArRawChannelContainer* rawcontainer = nullptr;
178 if (!m_rawcontKey.empty()) {
179 SG::ReadHandle<LArRawChannelContainer> hdlRaw(m_rawcontKey, ctx);
180
181 if(!hdlRaw.isValid()) {
182 ATH_MSG_WARNING( "Unable to retrieve LArRawChannelContainer with key " << m_rawcontKey << " from DetectorStore. " );
183 return StatusCode::SUCCESS;
184 } else {
185 ATH_MSG_DEBUG( "Got LArRAwChannelContainer with key " << m_rawcontKey.key() );
186 rawcontainer = &*hdlRaw;
187 }
188 }
189
190 unsigned cellCounter=0;
191
192 if(m_fillBCID) m_bcid = thisbcid;
193 m_IEvent = thisevent;
194
195 rawChanMap_t rawChannelMap;
196 rawSCMap_t rawSuperCellMap;
197
198 if(rawcontainer){
199 for (const LArRawChannel& raw : *rawcontainer) {
200 rawChannelMap.try_emplace( raw.channelID(), &raw );
201 }
202
203 }
204
205 const LArOnOffIdMapping* cabling=nullptr;
206 const LArOnOffIdMapping* cablingROD=nullptr;
207 if(rawcontainer){
208 SG::ReadCondHandle<LArOnOffIdMapping> cablingHdl{cablingKey(), ctx};
209 cabling=*cablingHdl;
210 if(!cabling) {
211 ATH_MSG_ERROR( "Do not have cabling for SC!" );
212 return StatusCode::FAILURE;
213 }
214 SG::ReadCondHandle<LArOnOffIdMapping> cablingHdlROD{m_cablingKeyAdditional, ctx};
215 cablingROD=*cablingHdlROD;
216 if(!cablingROD) {
217 ATH_MSG_ERROR( "Do not have cabling for ROD!" );
218 return StatusCode::FAILURE;
219 }
220 }
221
222
223 const LArRawSCContainer *itercont = nullptr;
224 const LArRawSCContainer *secondcont = nullptr;
225 if(etcontainer) {
226 itercont = etcontainer;
227 if(recocontainer) {
228 secondcont = recocontainer;
229 auto cbiter=secondcont->cbegin();
230 auto ceiter=secondcont->cend();
231 for ( ; cbiter<ceiter; ++cbiter) {
232 rawSuperCellMap.try_emplace( (*cbiter)->hardwareID(), *cbiter );
233 }
234 }
235 } else {
236 if(recocontainer) itercont = recocontainer;
237 }
238
239
240 auto cbsciter=itercont->cbegin();
241 auto cesciter=itercont->cend();
242 for( ; cbsciter<cesciter; ++cbsciter ){
243
244 const LArRawSC *iterSC = *cbsciter;
245 fillFromIdentifier(iterSC->hardwareID(), cellCounter);
246
247 const LArRawSC* secondSC = nullptr;
248 if( secondcont ){ // find corresponding LArRawSC
249 secondSC = rawSuperCellMap[iterSC->hardwareID()];
250 }
251
252 unsigned int truenet = etcontainer ? m_scNet : m_recoNet;
253
254 if(truenet > iterSC->energies().size()) truenet=iterSC->energies().size();
255 for( unsigned i=0; i<truenet;++i){
256 if(std::abs(iterSC->energies().at(i)) > m_eCut) {
257 if(etcontainer) {
258 m_energyVec_ET[cellCounter][i] = iterSC->energies().at(i);
259 if(iterSC->bcids().size()) m_bcidVec_ET[cellCounter][i] = iterSC->bcids().at(i);
260 if(iterSC->passTauSelection().size()) m_passVec_ET[cellCounter][i] = iterSC->passTauSelection().at(i);
261 if(iterSC->satur().size()) m_saturVec_ET[cellCounter][i] = iterSC->satur().at(i);
262 m_scNet = truenet;
263 } else {
264 m_energyVec_Reco[cellCounter][i] = iterSC->energies().at(i);
265 if(m_energyVec_Reco[cellCounter][i] !=0) m_tauVec_Reco[cellCounter][i] = iterSC->tauEnergies().at(i)/m_energyVec_Reco[cellCounter][i];
266 m_passVec_Reco[cellCounter][i] = iterSC->passTauSelection().at(i);
267 m_saturVec_Reco[cellCounter][i] = iterSC->satur().at(i);
268 m_bcidVec_Reco[cellCounter][i] = iterSC->bcids().at(i);
269 m_recoNet = truenet;
270 }
271 } //m_eCut
272 }
273
274 if(etcontainer && recocontainer) {
275 truenet = m_recoNet;
276 if(truenet > secondSC->energies().size()) truenet=secondSC->energies().size();
277 for( unsigned i=0; i<truenet;++i){
278 if(std::abs(secondSC->energies().at(i)) > m_eCut) {
279 m_energyVec_Reco[cellCounter][i] = secondSC->energies().at(i);
280 if(m_energyVec_Reco[cellCounter][i] !=0) m_tauVec_Reco[cellCounter][i] = secondSC->tauEnergies().at(i)/m_energyVec_Reco[cellCounter][i];
281 m_passVec_Reco[cellCounter][i] = secondSC->passTauSelection().at(i);
282 m_saturVec_Reco[cellCounter][i] = secondSC->satur().at(i);
283 m_bcidVec_Reco[cellCounter][i] = secondSC->bcids().at(i);
284 }
285 }
286 m_recoNet = truenet;
287 }
288
289
290 if(rawcontainer) {
291 fillRODEnergy(iterSC->hardwareID(), cellCounter, rawChannelMap, cabling, cablingROD);
292 }
293
294 cellCounter++;
295 }// over iter+second container
296
297
298 ATH_CHECK( ntupleSvc()->writeRecord(m_nt) );
299
300 ATH_MSG_DEBUG( "LArSC2NtupleEB has finished, filled"<< cellCounter << " cells" );
301 return StatusCode::SUCCESS;
302}// 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
Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old LArRawChannelContainer
Definition LArTPCnv.cxx:86
INTupleSvc * ntupleSvc()
const_iterator cbegin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
const_iterator cend() const noexcept
Return a const_iterator pointing past the end of the collection.
const SG::ReadCondHandleKey< LArOnOffIdMapping > & cablingKey() const
bool fillFromIdentifier(const HWIdentifier &id, int C)
const std::vector< bool > & satur() const
Definition LArRawSC.h:107
const std::vector< bool > & passTauSelection() const
Definition LArRawSC.h:113
const std::vector< unsigned short > & bcids() const
Definition LArRawSC.h:104
const std::vector< int > & tauEnergies() const
Definition LArRawSC.h:110
const std::vector< int > & energies() const
Definition LArRawSC.h:101
const HWIdentifier & hardwareID() const
Definition LArRawSC.h:89
SG::ReadHandleKey< LArRawSCContainer > m_reccontKey
SG::ReadHandleKey< LArRawChannelContainer > m_rawcontKey
SG::ReadHandleKey< LArRawSCContainer > m_sccontKey
Gaudi::Property< bool > m_fillBCID
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeyAdditional
void fillRODEnergy(HWIdentifier SCId, unsigned cell, rawChanMap_t &rawChanMap, const LArOnOffIdMapping *cabling, const LArOnOffIdMapping *cablingROD)
NTuple::Matrix< float > m_tauVec_Reco
NTuple::Matrix< float > m_energyVec_ET
NTuple::Item< unsigned long long > m_IEvent
NTuple::Matrix< bool > m_passVec_ET
NTuple::Matrix< bool > m_passVec_Reco
NTuple::Matrix< float > m_bcidVec_Reco
NTuple::Item< short > m_bcid
Gaudi::Property< unsigned int > m_recoNet
NTuple::Matrix< bool > m_saturVec_Reco
std::map< HWIdentifier, const LArRawChannel * > rawChanMap_t
Gaudi::Property< unsigned int > m_scNet
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
Gaudi::Property< float > m_eCut
NTuple::Matrix< bool > m_saturVec_ET
std::map< HWIdentifier, const LArRawSC * > rawSCMap_t
NTuple::Matrix< float > m_energyVec_Reco
NTuple::Matrix< float > m_bcidVec_ET
::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 LArCond2NtupleBaseEB::fillFromIdentifier ( const HWIdentifier & id,
int C )
inherited

Definition at line 280 of file LArCond2NtupleBaseEB.cxx.

280 {
281
282 ATH_MSG_DEBUG("Starting fillFromIdentifier");
283 const LArBadChannelCont *bcCont = nullptr;
284 if ( m_addBC ) {
285 SG::ReadCondHandle<LArBadChannelCont> readHandle{m_BCKey};
286 bcCont =*readHandle;
287 if( !bcCont) {
288 ATH_MSG_WARNING( "Do not have Bad chan container " << m_BCKey.key() );
289 return false;
290 }
291 }
292
293 const LArCalibLineMapping *clCont=nullptr;
294 if(m_addCalib) {
295 if(m_isSC){
296 SG::ReadCondHandle<LArCalibLineMapping> clHdl{m_calibMapSCKey};
297 clCont={*clHdl};
298 }
299 else{
300 SG::ReadCondHandle<LArCalibLineMapping> clHdl{m_calibMapKey};
301 clCont={*clHdl};
302 }
303 if(!clCont) {
304 ATH_MSG_WARNING( "Do not have calib line mapping !!!" );
305 return false;
306 }
307 }
308
309 const LArOnOffIdMapping* cabling=nullptr;
310 if(m_isSC){
311 SG::ReadCondHandle<LArOnOffIdMapping> cablingHdl{m_cablingSCKey};
312 cabling=*cablingHdl;
313 }
314 else{
315 SG::ReadCondHandle<LArOnOffIdMapping> cablingHdl{m_cablingKey};
316 cabling=*cablingHdl;
317 }
318
319 if(!cabling) {
320 ATH_MSG_WARNING( "Do not have cabling !" );
321 return false;
322 }
323
324 m_onlChanId[C] = hwid.get_identifier32().get_compact();
325
326 if(m_expandId) {
327 m_barrel_ec[C] = m_onlineId->barrel_ec(hwid);
328 m_pos_neg[C] = m_onlineId->pos_neg(hwid);
329 m_FT[C] = m_onlineId->feedthrough(hwid);
330 m_slot[C] = m_onlineId->slot(hwid);
331 m_channel[C] = m_onlineId->channel(hwid);
332 }
333
334 if (m_addHash) {
335 m_chanHash[C]=m_onlineId->channel_Hash(hwid);
336 m_febHash[C]=m_onlineId->feb_Hash(m_onlineId->feb_Id(hwid));
337 }
338
339 if(m_addCalib) {
341 const std::vector<HWIdentifier>& calibLineV=clCont->calibSlotLine(hwid);
342 if(!calibLineV.empty()) m_calibLine[C] = m_onlineId->channel(calibLineV[0]);
343 }
344
345
346 if ( m_OffId ) {
351
352 if(m_realgeom){
355 }
359 }
360
361 if (m_addBC) m_badChanWord[C]=0;
362 bool connected=false;
363
364 const CaloDetDescrManager_Base* dd_man = nullptr;
365 if (m_realgeom) {
366 if(m_isSC) {
367 SG::ReadCondHandle<CaloSuperCellDetDescrManager> caloSuperCellMgrHandle{m_caloSuperCellMgrKey};
368 dd_man = *caloSuperCellMgrHandle;
369 }
370 else {
371 SG::ReadCondHandle<CaloDetDescrManager> caloMgrHandle{m_caloMgrKey};
372 dd_man = *caloMgrHandle;
373 }
374 }
375
376 try {
377 if (cabling->isOnlineConnected(hwid)) {
378 Identifier id=cabling->cnvToIdentifier(hwid);
379 if ( m_OffId ) {
380 m_oflChanId[C] = id.get_identifier32().get_compact();
381 if (m_addHash) m_oflHash[C]=m_caloId->calo_cell_hash(id);
382
383 if (dd_man) {
384 const CaloDetDescrElement *elem = dd_man->get_element(id);
385 if(!elem) {
386 ATH_MSG_WARNING("Do not have CDDE for "<<id.getString());
387 } else {
388 m_reta[C] = elem->eta_raw();
389 m_rphi[C] = elem->phi_raw();
390 }
391 }
392
393 if (m_emId->is_lar_em(id)) {
394 m_eta[C] = m_emId->eta(id);
395 m_phi[C] = m_emId->phi(id);
396 m_layer[C] = m_emId->sampling(id);
397 m_region[C] = m_emId->region(id);
398 m_detector[C] = std::abs(m_emId->barrel_ec(id)) - 1; //0-barrel, 1-EMEC-OW, 2-EMEC-IW
399 }
400 else if (m_hecId->is_lar_hec(id)) {
401 m_eta[C] = m_hecId->eta(id);
402 m_phi[C] = m_hecId->phi(id);
403 m_layer[C] = m_hecId->sampling(id);
404 m_region[C] = m_hecId->region(id);
405 m_detector[C] = 3;
406 }
407 else if (m_fcalId->is_lar_fcal(id)) {
408 m_eta[C] = m_fcalId->eta(id);
409 m_phi[C] = m_fcalId->phi(id);
410 m_layer[C] = m_fcalId->module(id);
411 m_region[C] = 0;
412 m_detector[C] = 4;
413 }
414 } // m_OffId
415 connected=true;
416 }//end if is connected
417 }catch (LArID_Exception & except) {}
418
419 //bad-channel word
420 if (m_addBC) m_badChanWord[C]=bcCont->status(hwid).packedData();
421 // FEB temperatures
422 if (m_addFEBTemp) {
423 FEBTemp tv = m_FEBTempTool->getFebTemp(hwid);
424 if( !tv.empty() ) {
425 FEBTemp::const_iterator itb = tv.begin();
426 FEBTemp::const_iterator ite = tv.end();
427 for(;itb!=ite;++itb) {
428 m_FEBTemp1[C] = (*itb).first;
429 m_FEBTemp2[C] = (*itb).second;
430 }
431 }
432 }
433
434 if(m_addCalib) m_isConnected[C] = (long)connected;
435
436 return connected;
437}
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::Array< double > m_oflHash
NTuple::Array< double > m_phi
const LArOnlineID_Base * m_onlineId
NTuple::Array< double > m_calibLine
NTuple::Array< double > m_chanHash
NTuple::Array< double > m_oflChanId
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapSCKey
Gaudi::Property< bool > m_addHash
NTuple::Array< double > m_pos_neg
Gaudi::Property< bool > m_OffId
NTuple::Array< double > m_febHash
NTuple::Array< double > m_eta
NTuple::Array< double > m_layer
Gaudi::Property< bool > m_addBC
Gaudi::Property< bool > m_addCalib
const LArFCAL_Base_ID * m_fcalId
NTuple::Array< float > m_rphi
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
const CaloCell_Base_ID * m_caloId
NTuple::Array< double > m_barrel_ec
Gaudi::Property< bool > m_expandId
Gaudi::Property< bool > m_addFEBTemp
NTuple::Array< double > m_FT
NTuple::Array< double > m_onlChanId
NTuple::Array< double > m_region
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
NTuple::Array< float > m_reta
NTuple::Array< double > m_isConnected
NTuple::Array< double > m_channel
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
NTuple::Array< double > m_slot
const LArHEC_Base_ID * m_hecId
NTuple::Array< double > m_badChanWord
NTuple::Array< float > m_FEBTemp2
ToolHandle< ILArFEBTempTool > m_FEBTempTool
NTuple::Array< float > m_FEBTemp1
Gaudi::Property< bool > m_realgeom
const LArEM_Base_ID * m_emId
NTuple::Array< double > m_detector
struct color C

◆ fillRODEnergy()

void LArSC2NtupleEB::fillRODEnergy ( HWIdentifier SCId,
unsigned cell,
rawChanMap_t & rawChanMap,
const LArOnOffIdMapping * cabling,
const LArOnOffIdMapping * cablingROD )
protected

Definition at line 304 of file LArSC2NtupleEB.cxx.

306{
307 const Identifier offId = cabling->cnvToIdentifier(SCId);
308 const std::vector<Identifier> cellIds = m_scidtool->superCellToOfflineID(offId);
309 for(unsigned i=0; i<16; ++i) {
310 m_ROD_energy[cell][i] = 0.;
311 m_ROD_time[cell][i] = 0.;
312 m_ROD_id[cell][i] = 0.;
313 }
314 for(unsigned i=0; i<cellIds.size(); ++i ) {
315 const HWIdentifier hwcell=cablingROD->createSignalChannelID(cellIds[i]);
316 if (hwcell.is_valid() && (rawChanMap.count(hwcell) != 0) ) {
317 m_ROD_energy[cell][i] = rawChanMap[hwcell]->energy();
318 m_ROD_time[cell][i] = rawChanMap[hwcell]->time();
319 m_ROD_id[cell][i] = rawChanMap[hwcell]->hardwareID().get_identifier32().get_compact();
320 } else {
321 ATH_MSG_DEBUG(i<<"-th cell invalid Id");
322 }
323 }
324
325}
bool is_valid() const
Check if id is in a valid state.
HWIdentifier createSignalChannelID(const Identifier &id) const
create a HWIdentifier from an Identifier (not inline)
NTuple::Matrix< float > m_ROD_energy
NTuple::Matrix< float > m_ROD_time
ToolHandle< ICaloSuperCellIDTool > m_scidtool
NTuple::Matrix< float > m_ROD_id

◆ 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 LArSC2NtupleEB::initialize ( )
overridevirtual

Definition at line 19 of file LArSC2NtupleEB.cxx.

20{
21 ATH_MSG_DEBUG( "in initialize" );
22
24
25 StatusCode sc = m_nt->addItem("IEvent",m_IEvent);
26 if (sc!=StatusCode::SUCCESS) {
27 ATH_MSG_ERROR( "addItem 'IEvent' failed" );
28 return sc;
29 }
30
31 if(m_fillBCID){
32 sc = m_nt->addItem("BCID",m_bcid);
33 if (sc!=StatusCode::SUCCESS) {
34 ATH_MSG_ERROR( "addItem 'BCID' failed" );
35 return sc;
36 }
37 }
38
39
40 if(!m_sccontKey.empty()){ // SC_ET RawSCContainer
41 sc = m_nt->addItem("energyVec_ET", m_SC, m_scNet, m_energyVec_ET);
42 if (sc.isFailure()) {
43 ATH_MSG_ERROR( "addItem 'energyVec_ET' failed" );
44 return sc;
45 }
46
47 sc = m_nt->addItem("bcidVec_ET", m_SC, m_scNet, m_bcidVec_ET);
48 if (sc.isFailure()) {
49 ATH_MSG_ERROR( "addItem 'bcidVec_ET_ID' failed" );
50 return sc;
51 }
52
53 sc = m_nt->addItem("saturVec_ET", m_SC, m_scNet, m_saturVec_ET);
54 if (sc.isFailure()) {
55 ATH_MSG_ERROR( "addItem 'saturVec_ET' failed" );
56 return sc;
57 }
58
59 sc = m_nt->addItem("passVec_ET", m_SC, m_scNet, m_passVec_ET);
60 if (sc.isFailure()) {
61 ATH_MSG_ERROR( "addItem 'passVec_ET' failed" );
62 return sc;
63 }
64 }
65
66 if(!m_reccontKey.empty()){ // SC Reco RawSCContainer
67 sc = m_nt->addItem("energyVec_Reco", m_SC, m_recoNet, m_energyVec_Reco);
68 if (sc.isFailure()) {
69 ATH_MSG_ERROR( "addItem 'energyVec_Reco' failed" );
70 return sc;
71 }
72
73 sc = m_nt->addItem("tauVec_Reco", m_SC, m_recoNet, m_tauVec_Reco);
74 if (sc.isFailure()) {
75 ATH_MSG_ERROR( "addItem 'tauVec_Reco' failed" );
76 return sc;
77 }
78
79 sc = m_nt->addItem("bcidVec_Reco", m_SC, m_recoNet, m_bcidVec_Reco);
80 if (sc.isFailure()) {
81 ATH_MSG_ERROR( "addItem 'bcidVec_Reco' failed" );
82 return sc;
83 }
84
85 sc = m_nt->addItem("passVec_Reco", m_SC, m_recoNet, m_passVec_Reco);
86 if (sc.isFailure()) {
87 ATH_MSG_ERROR( "addItem 'passVec_Reco' failed" );
88 return sc;
89 }
90
91 sc = m_nt->addItem("saturVec_Reco", m_SC, m_recoNet, m_saturVec_Reco);
92 if (sc.isFailure()) {
93 ATH_MSG_ERROR( "addItem 'saturVec_Reco' failed" );
94 return sc;
95 }
96 }
97
98 if(!m_rawcontKey.empty()) {
99 sc = m_nt->addItem("ROD_energy", m_SC, 16, m_ROD_energy);
100 if (sc.isFailure()) {
101 ATH_MSG_ERROR( "addItem 'ROD_energy' failed" );
102 return sc;
103 }
104
105 sc = m_nt->addItem("ROD_time", m_SC, 16, m_ROD_time);
106 if (sc.isFailure()) {
107 ATH_MSG_ERROR( "addItem 'ROD_time' failed" );
108 return sc;
109 }
110 sc = m_nt->addItem("ROD_id", m_SC, 16, m_ROD_id);
111 if (sc.isFailure()) {
112 ATH_MSG_ERROR( "addItem 'ROD_id' failed" );
113 return sc;
114 }
115
116
117 }
118
119 ATH_CHECK(m_sccontKey.initialize(!m_sccontKey.empty()) );
120 ATH_CHECK(m_reccontKey.initialize(!m_reccontKey.empty()) );
121 ATH_CHECK(m_rawcontKey.initialize(!m_rawcontKey.empty()) );
122 ATH_CHECK(m_evtInfoKey.initialize() );
123 ATH_CHECK(m_cablingKeyAdditional.initialize() );
124
125
126 return StatusCode::SUCCESS;
127
128}

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

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

Definition at line 51 of file LArCond2NtupleBaseEB.h.

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

◆ m_addCalib

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

Definition at line 57 of file LArCond2NtupleBaseEB.h.

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

◆ m_addFEBTemp

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

Definition at line 52 of file LArCond2NtupleBaseEB.h.

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

◆ m_addHash

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

Definition at line 56 of file LArCond2NtupleBaseEB.h.

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

◆ m_badChanWord

NTuple::Array<double> LArCond2NtupleBaseEB::m_badChanWord
protectedinherited

Definition at line 71 of file LArCond2NtupleBaseEB.h.

◆ m_barrel_ec

NTuple::Array<double> LArCond2NtupleBaseEB::m_barrel_ec
protectedinherited

Definition at line 70 of file LArCond2NtupleBaseEB.h.

◆ m_bcid

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

Definition at line 36 of file LArSC2NtupleEB.h.

◆ m_bcidVec_ET

NTuple::Matrix<float> LArSC2NtupleEB::m_bcidVec_ET
protected

Definition at line 39 of file LArSC2NtupleEB.h.

◆ m_bcidVec_Reco

NTuple::Matrix<float> LArSC2NtupleEB::m_bcidVec_Reco
protected

Definition at line 45 of file LArSC2NtupleEB.h.

◆ m_BCKey

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

Definition at line 93 of file LArCond2NtupleBaseEB.h.

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

◆ m_cablingKey

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

Definition at line 90 of file LArCond2NtupleBaseEB.h.

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

◆ m_cablingKeyAdditional

SG::ReadCondHandleKey<LArOnOffIdMapping> LArSC2NtupleEB::m_cablingKeyAdditional {this,"CablingKeyAdditional","LArOnOffIdMap","SG Key of LArOnOffIdMapping object for standard cells"}
protected

Definition at line 59 of file LArSC2NtupleEB.h.

59{this,"CablingKeyAdditional","LArOnOffIdMap","SG Key of LArOnOffIdMapping object for standard cells"};

◆ m_cablingSCKey

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

Definition at line 91 of file LArCond2NtupleBaseEB.h.

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

◆ m_calibLine

NTuple::Array<double> LArCond2NtupleBaseEB::m_calibLine
protectedinherited

Definition at line 71 of file LArCond2NtupleBaseEB.h.

◆ m_calibMapKey

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

Definition at line 94 of file LArCond2NtupleBaseEB.h.

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

◆ m_calibMapSCKey

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

Definition at line 95 of file LArCond2NtupleBaseEB.h.

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

◆ m_caloId

const CaloCell_Base_ID* LArCond2NtupleBaseEB::m_caloId
protectedinherited

Definition at line 87 of file LArCond2NtupleBaseEB.h.

◆ m_caloMgrKey

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

Definition at line 97 of file LArCond2NtupleBaseEB.h.

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

◆ m_caloSuperCellMgrKey

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

Definition at line 98 of file LArCond2NtupleBaseEB.h.

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

◆ m_chanHash

NTuple::Array<double> LArCond2NtupleBaseEB::m_chanHash
protectedinherited

Definition at line 73 of file LArCond2NtupleBaseEB.h.

◆ m_channel

NTuple::Array<double> LArCond2NtupleBaseEB::m_channel
protectedinherited

Definition at line 70 of file LArCond2NtupleBaseEB.h.

◆ m_detector

NTuple::Array<double> LArCond2NtupleBaseEB::m_detector
protectedinherited

Definition at line 69 of file LArCond2NtupleBaseEB.h.

◆ m_detStore

StoreGateSvc* LArCond2NtupleBaseEB::m_detStore
protectedinherited

Definition at line 82 of file LArCond2NtupleBaseEB.h.

◆ m_eCut

Gaudi::Property< float > LArSC2NtupleEB::m_eCut {this, "EnergyCut", 0., "when to fll"}
protected

Definition at line 33 of file LArSC2NtupleEB.h.

33{this, "EnergyCut", 0., "when to fll"};

◆ m_emId

const LArEM_Base_ID* LArCond2NtupleBaseEB::m_emId
protectedinherited

Definition at line 83 of file LArCond2NtupleBaseEB.h.

◆ m_energyVec_ET

NTuple::Matrix<float> LArSC2NtupleEB::m_energyVec_ET
protected

Definition at line 38 of file LArSC2NtupleEB.h.

◆ m_energyVec_Reco

NTuple::Matrix<float> LArSC2NtupleEB::m_energyVec_Reco
protected

Definition at line 43 of file LArSC2NtupleEB.h.

◆ m_eta

NTuple::Array<double> LArCond2NtupleBaseEB::m_eta
protectedinherited

Definition at line 69 of file LArCond2NtupleBaseEB.h.

◆ m_evtInfoKey

SG::ReadHandleKey<xAOD::EventInfo> LArSC2NtupleEB::m_evtInfoKey { this, "EventInfoKey", "EventInfo", "SG for EventInfo Key" }
protected

Definition at line 57 of file LArSC2NtupleEB.h.

57{ this, "EventInfoKey", "EventInfo", "SG for EventInfo Key" };

◆ 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 > LArCond2NtupleBaseEB::m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"}
protectedinherited

Definition at line 59 of file LArCond2NtupleBaseEB.h.

59{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* LArCond2NtupleBaseEB::m_fcalId
protectedinherited

Definition at line 85 of file LArCond2NtupleBaseEB.h.

◆ m_febHash

NTuple::Array<double> LArCond2NtupleBaseEB::m_febHash
protectedinherited

Definition at line 73 of file LArCond2NtupleBaseEB.h.

◆ m_FEBTemp1

NTuple::Array<float> LArCond2NtupleBaseEB::m_FEBTemp1
protectedinherited

Definition at line 76 of file LArCond2NtupleBaseEB.h.

◆ m_FEBTemp2

NTuple::Array<float> LArCond2NtupleBaseEB::m_FEBTemp2
protectedinherited

Definition at line 76 of file LArCond2NtupleBaseEB.h.

◆ m_FEBTempTool

ToolHandle<ILArFEBTempTool> LArCond2NtupleBaseEB::m_FEBTempTool
protectedinherited

Definition at line 88 of file LArCond2NtupleBaseEB.h.

◆ m_fillBCID

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

Definition at line 31 of file LArSC2NtupleEB.h.

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

◆ m_FT

NTuple::Array<double> LArCond2NtupleBaseEB::m_FT
protectedinherited

Definition at line 70 of file LArCond2NtupleBaseEB.h.

◆ m_hecId

const LArHEC_Base_ID* LArCond2NtupleBaseEB::m_hecId
protectedinherited

Definition at line 84 of file LArCond2NtupleBaseEB.h.

◆ m_IEvent

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

Definition at line 35 of file LArSC2NtupleEB.h.

◆ m_initialized

bool LArCond2NtupleBaseEB::m_initialized
privateinherited

Definition at line 47 of file LArCond2NtupleBaseEB.h.

◆ m_isConnected

NTuple::Array<double> LArCond2NtupleBaseEB::m_isConnected
protectedinherited

Definition at line 72 of file LArCond2NtupleBaseEB.h.

◆ m_isFlat

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

Definition at line 54 of file LArCond2NtupleBaseEB.h.

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

◆ m_isSC

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

Definition at line 53 of file LArCond2NtupleBaseEB.h.

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

◆ m_layer

NTuple::Array<double> LArCond2NtupleBaseEB::m_layer
protectedinherited

Definition at line 69 of file LArCond2NtupleBaseEB.h.

◆ m_nt

NTuple::Tuple* LArCond2NtupleBaseEB::m_nt
protectedinherited

Definition at line 66 of file LArCond2NtupleBaseEB.h.

◆ m_ntpath

std::string LArCond2NtupleBaseEB::m_ntpath
protectedinherited

Definition at line 63 of file LArCond2NtupleBaseEB.h.

◆ m_ntTitle

std::string LArCond2NtupleBaseEB::m_ntTitle
protectedinherited

Definition at line 63 of file LArCond2NtupleBaseEB.h.

◆ m_OffId

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

Definition at line 55 of file LArCond2NtupleBaseEB.h.

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

◆ m_oflChanId

NTuple::Array<double> LArCond2NtupleBaseEB::m_oflChanId
protectedinherited

Definition at line 69 of file LArCond2NtupleBaseEB.h.

◆ m_oflHash

NTuple::Array<double> LArCond2NtupleBaseEB::m_oflHash
protectedinherited

Definition at line 73 of file LArCond2NtupleBaseEB.h.

◆ m_onlChanId

NTuple::Array<double> LArCond2NtupleBaseEB::m_onlChanId
protectedinherited

Definition at line 69 of file LArCond2NtupleBaseEB.h.

◆ m_onlineId

const LArOnlineID_Base* LArCond2NtupleBaseEB::m_onlineId
protectedinherited

Definition at line 86 of file LArCond2NtupleBaseEB.h.

◆ m_passVec_ET

NTuple::Matrix<bool> LArSC2NtupleEB::m_passVec_ET
protected

Definition at line 41 of file LArSC2NtupleEB.h.

◆ m_passVec_Reco

NTuple::Matrix<bool> LArSC2NtupleEB::m_passVec_Reco
protected

Definition at line 46 of file LArSC2NtupleEB.h.

◆ m_phi

NTuple::Array<double> LArCond2NtupleBaseEB::m_phi
protectedinherited

Definition at line 69 of file LArCond2NtupleBaseEB.h.

◆ m_pos_neg

NTuple::Array<double> LArCond2NtupleBaseEB::m_pos_neg
protectedinherited

Definition at line 70 of file LArCond2NtupleBaseEB.h.

◆ m_rawcontKey

SG::ReadHandleKey<LArRawChannelContainer> LArSC2NtupleEB::m_rawcontKey {this, "RawChanContainerKey", "", "key for LArRawChannelsContainer"}
protected

Definition at line 55 of file LArSC2NtupleEB.h.

55{this, "RawChanContainerKey", "", "key for LArRawChannelsContainer"};

◆ m_realgeom

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

Definition at line 58 of file LArCond2NtupleBaseEB.h.

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

◆ m_reccontKey

SG::ReadHandleKey<LArRawSCContainer> LArSC2NtupleEB::m_reccontKey {this, "RecoContainerKey", "", "key for LArRawSCContainer reconstructed from digits"}
protected

Definition at line 54 of file LArSC2NtupleEB.h.

54{this, "RecoContainerKey", "", "key for LArRawSCContainer reconstructed from digits"};

◆ m_recoNet

Gaudi::Property< unsigned int > LArSC2NtupleEB::m_recoNet {this, "recoNet", 5, "number of energies from reco"}
protected

Definition at line 30 of file LArSC2NtupleEB.h.

30{this, "recoNet", 5, "number of energies from reco"};

◆ m_region

NTuple::Array<double> LArCond2NtupleBaseEB::m_region
protectedinherited

Definition at line 69 of file LArCond2NtupleBaseEB.h.

◆ m_reta

NTuple::Array<float> LArCond2NtupleBaseEB::m_reta
protectedinherited

Definition at line 75 of file LArCond2NtupleBaseEB.h.

◆ m_ROD_energy

NTuple::Matrix<float> LArSC2NtupleEB::m_ROD_energy
protected

Definition at line 49 of file LArSC2NtupleEB.h.

◆ m_ROD_id

NTuple::Matrix<float> LArSC2NtupleEB::m_ROD_id
protected

Definition at line 51 of file LArSC2NtupleEB.h.

◆ m_ROD_time

NTuple::Matrix<float> LArSC2NtupleEB::m_ROD_time
protected

Definition at line 50 of file LArSC2NtupleEB.h.

◆ m_rphi

NTuple::Array<float> LArCond2NtupleBaseEB::m_rphi
protectedinherited

Definition at line 75 of file LArCond2NtupleBaseEB.h.

◆ m_saturVec_ET

NTuple::Matrix<bool> LArSC2NtupleEB::m_saturVec_ET
protected

Definition at line 40 of file LArSC2NtupleEB.h.

◆ m_saturVec_Reco

NTuple::Matrix<bool> LArSC2NtupleEB::m_saturVec_Reco
protected

Definition at line 47 of file LArSC2NtupleEB.h.

◆ m_SC

const int LArCond2NtupleBaseEB::m_SC = 34048
protectedinherited

Definition at line 80 of file LArCond2NtupleBaseEB.h.

◆ m_sccontKey

SG::ReadHandleKey<LArRawSCContainer> LArSC2NtupleEB::m_sccontKey {this, "EnergyContainerKey", "", "key for LArRawSCContainer from bytestream"}
protected

Definition at line 53 of file LArSC2NtupleEB.h.

53{this, "EnergyContainerKey", "", "key for LArRawSCContainer from bytestream"};

◆ m_scidtool

ToolHandle<ICaloSuperCellIDTool> LArSC2NtupleEB::m_scidtool {this, "CaloSuperCellIDTool", "CaloSuperCellIDTool", "Offline / SuperCell ID mapping tool"}
protected

Definition at line 61 of file LArSC2NtupleEB.h.

61{this, "CaloSuperCellIDTool", "CaloSuperCellIDTool", "Offline / SuperCell ID mapping tool"};

◆ m_scNet

Gaudi::Property< unsigned int > LArSC2NtupleEB::m_scNet {this, "scNet", 5, "number of energies from raw"}
protected

Definition at line 29 of file LArSC2NtupleEB.h.

29{this, "scNet", 5, "number of energies from raw"};

◆ m_slot

NTuple::Array<double> LArCond2NtupleBaseEB::m_slot
protectedinherited

Definition at line 70 of file LArCond2NtupleBaseEB.h.

◆ m_tauVec_Reco

NTuple::Matrix<float> LArSC2NtupleEB::m_tauVec_Reco
protected

Definition at line 44 of file LArSC2NtupleEB.h.

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