 |
ATLAS Offline Software
|
#include <LArSC2Ntuple.h>
|
| LArSC2Ntuple (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~LArSC2Ntuple ()=default |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute () override |
|
bool | fillFromIdentifier (const HWIdentifier &id) |
|
const SG::ReadCondHandleKey< LArOnOffIdMapping > & | cablingKey () const |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
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< LArDigitContainer > | m_contKey {this, "ContainerKey", "", "key for LArDigitContainer"} |
|
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > | m_accCalibContKey {this, "AccCalibContainerKey", "", "key for LArAccumulatedCalibDigitDigitContainer"} |
|
SG::ReadHandleKey< LArAccumulatedDigitContainer > | m_accContKey {this, "AccContainerKey", "", "key for LArAccumulatedDigitDigitContainer"} |
|
SG::ReadHandleKey< LArFebHeaderContainer > | m_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 ?"} |
|
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 |
|
StoreGateSvc * | m_detStore |
|
const LArEM_Base_ID * | m_emId |
|
const LArHEC_Base_ID * | m_hecId |
|
const LArFCAL_Base_ID * | m_fcalId |
|
const LArOnlineID_Base * | m_onlineId |
|
const CaloCell_Base_ID * | m_caloId |
|
ToolHandle< ILArFEBTempTool > | m_FEBTempTool |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingSCKey {this,"CablingSCKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey {this, "BadChanKey", "LArBadChannel", "SG bad channels key"} |
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_calibMapKey {this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"} |
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_calibMapSCKey {this,"CalibMapSCKey","LArCalibIdMapSC","SG Key of calib line mapping object"} |
|
SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey {this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store"} |
|
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > | m_caloSuperCellMgrKey {this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG key of the resulting CaloSuperCellDetDescrManager" } |
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
Gaudi::Property< std::vector< std::string > > | m_contKeys { this, "SCContainerKeys", {},"which containers to dump"} |
|
Gaudi::Property< bool > | m_overwriteEventNumber {this, "OverwriteEventNumber", false, "overwrite the event number from EventInfo ?"} |
|
Gaudi::Property< unsigned int > | m_Net {this, "Net", 5, "number of energies to store"} |
|
Gaudi::Property< bool > | m_fillRawChan {this, "FillRODEnergy", false, "Trying to fill corresponding cells energies"} |
|
Gaudi::Property< bool > | m_fillTType {this, "FillTriggerType", false, "Trying to fill trigger type word"} |
|
Gaudi::Property< std::vector< std::string > > | m_trigNames { this, "TrigNames", {"L1_EM3","L1_EM7","L1_EM15"},"which triggers to dump"} |
|
Gaudi::Property< bool > | m_fillCaloTT {this, "FillTriggerTowers", false, "Trying to fill also TriggerTowers from ByteStream"} |
|
Gaudi::Property< float > | m_ETThresh {this, "ETThreshold", -1., "Threshold for ET to fill info"} |
|
Gaudi::Property< float > | m_ETThreshMain {this, "ETThresholdMain", -1., "Threshold for ET from Main to fill info"} |
|
Gaudi::Property< float > | m_ADCThresh {this, "ADCThreshold", -1., "Threshold for ADCmax-ADC(0) to fill info"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKeyAdditional {this,"CablingKeyAdditional","LArOnOffIdMap","SG Key of LArOnOffIdMapping object for standard cells"} |
|
ToolHandle< ICaloSuperCellIDTool > | m_scidtool {this, "CaloSuperCellIDTool", "CaloSuperCellIDTool", "Offline / SuperCell ID mapping tool"} |
|
ToolHandle< Trig::TrigDecisionTool > | m_trigDec {this, "TrigDecisionTool", "", "Handle to the TrigDecisionTool"} |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfoKey {this, "LArStatusFlag", "EventInfo", "Key for EventInfo object"} |
|
SG::ReadDecorHandleKey< xAOD::EventInfo > | m_eventInfoDecorKey {this, "EventInfoDecorKey", "EventInfo.larFlags"} |
|
SG::ReadHandleKey< LArLATOMEHeaderContainer > | m_LArLatomeHeaderContainerKey { this, "LArLatomeHeaderKey", "SC_LATOME_HEADER" } |
|
Gaudi::Property< std::string > | m_triggerTowerKey {this, "TriggerTowerKey", "TriggerTowers", "Trigger Tower container"} |
|
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > | m_caloSCMgrKey |
|
const CaloSuperCellDetDescrManager * | m_caloMgrSC |
|
NTuple::Item< short > | m_latomeChannel |
|
NTuple::Array< float > | m_ROD_energy |
|
NTuple::Array< float > | m_ROD_time |
|
NTuple::Array< float > | m_ROD_id |
|
NTuple::Item< unsigned int > | m_TType |
|
NTuple::Item< uint16_t > | m_bcidLATOMEHEAD |
|
NTuple::Item< uint32_t > | m_ntNet |
|
NTuple::Array< unsigned short > | m_bcidVec |
|
NTuple::Item< uint32_t > | m_latomeSourceId |
|
NTuple::Array< short > | m_samples_ADC_BAS |
|
NTuple::Array< unsigned short > | m_bcidVec_ADC_BAS |
|
NTuple::Array< int > | m_energyVec_ET |
|
NTuple::Array< unsigned short > | m_bcidVec_ET |
|
NTuple::Array< bool > | m_saturVec_ET |
|
NTuple::Array< int > | m_energyVec_ET_ID |
|
NTuple::Array< unsigned short > | m_bcidVec_ET_ID |
|
NTuple::Array< bool > | m_saturVec_ET_ID |
|
std::map< std::string, NTuple::Item< unsigned int > > | m_trigNameMap |
|
NTuple::Item< uint32_t > | m_LArEventBits |
|
NTuple::Item< short > | m_LArInError |
|
NTuple::Item< uint32_t > | m_ntNTT |
|
NTuple::Array< int > | m_TTEem |
|
NTuple::Array< int > | m_TTEhad |
|
NTuple::Array< double > | m_TTeta |
|
NTuple::Array< double > | m_TTphi |
|
bool | m_initialized |
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 17 of file LArSC2Ntuple.h.
◆ rawChanMap_t
◆ StoreGateSvc_t
◆ anonymous enum
◆ LArSC2Ntuple()
LArSC2Ntuple::LArSC2Ntuple |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~LArSC2Ntuple()
virtual LArSC2Ntuple::~LArSC2Ntuple |
( |
| ) |
|
|
virtualdefault |
◆ cablingKey()
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode LArSC2Ntuple::execute |
( |
| ) |
|
|
overridevirtual |
set it here once and no need to set at each SC/cell
set container pointers to nullptr if size is 0 (avoid checking again the size in many places)
Reimplemented from LArDigits2Ntuple.
Definition at line 201 of file LArSC2Ntuple.cxx.
206 const EventContext& ctx = Gaudi::Hive::currentContext();
211 unsigned long long thisevent =
evt->eventNumber();
212 unsigned short thislb =
evt->lumiBlock();
215 unsigned long thisbcid =
evt->bcid();
216 unsigned long thisELVL1Id = 0;
217 unsigned long thisttype =
evt->level1TriggerType();
220 bool hasDigitContainer=
true;
224 if(!hdlDigit.isValid()) {
226 hasDigitContainer=
false;
229 DigitContainer = hdlDigit.cptr();
231 }
else hasDigitContainer=
false;
233 bool hasAccCalibDigitContainer=
true;
237 if(!hdlAccDigit.isValid()) {
239 hasAccCalibDigitContainer=
false;
242 AccCalibDigitContainer = hdlAccDigit.cptr();
244 }
else hasAccCalibDigitContainer=
false;
246 bool hasAccDigitContainer=
true;
250 if(!hdlAccDigit.isValid()) {
252 hasAccDigitContainer=
false;
255 AccDigitContainer = hdlAccDigit.cptr();
257 }
else hasAccDigitContainer=
false;
264 std::map<unsigned int, const LArLATOMEHeader*> LATOMEHeadMap;
268 sc =
evtStore()->retrieve(RawChannelContainer,
"LArRawChannels");
269 if (
sc.isFailure()) {
270 ATH_MSG_WARNING(
"Unable to retrieve LArRawChannelContainer with key LArRawChannels from DetectorStore. " );
273 ATH_MSG_DEBUG(
"Got LArRawChannelContainer with key LArRawChannels" );
277 ATH_MSG_WARNING(
"Asked for ETThresholdMain, but no LArRawChannelContainer, will not apply ! " );
282 sc =
evtStore()->retrieve(DigitContainer_next,
"SC_ADC_BAS");
283 if (
sc.isFailure()) {
284 ATH_MSG_WARNING(
"Unable to retrieve LArDigitContainer with key SC_ADC_BAS from DetectorStore. " );
287 ATH_MSG_DEBUG(
"Got additional LArDigitContainer with key SC_ADC_BAS " );
291 sc =
evtStore()->retrieve(etcontainer,
"SC_ET");
292 if (
sc.isFailure()) {
293 ATH_MSG_WARNING(
"Unable to retrieve LArRawSCContainer with key SC_ET from DetectorStore. " );
300 sc =
evtStore()->retrieve(etcontainer_next,
"SC_ET_ID");
301 if (
sc.isFailure()) {
302 ATH_MSG_WARNING(
"Unable to retrieve LArRawSCContainer with key SC_ET_ID from DetectorStore. " );
309 if (! hdrCont.isValid()) {
313 headcontainer=&*hdrCont;
314 if(headcontainer !=
nullptr && *hdrCont->begin()) thisELVL1Id = (*hdrCont->begin())->L1Id();
315 ATH_MSG_DEBUG(
" ELVL1I FROM LATOME HEADER " << thisELVL1Id );
320 LATOMEHeadMap.try_emplace ( hit->SourceId(), hit );
325 rawChannelMap.try_emplace( raw.channelID(), &raw );
335 return StatusCode::FAILURE;
338 cablingROD=*cablingHdlROD;
341 return StatusCode::FAILURE;
346 if( DigitContainer_next && DigitContainer_next->
empty() ) DigitContainer_next =
nullptr;
348 if( etcontainer && etcontainer->
empty() ) etcontainer =
nullptr;
350 if( etcontainer_next && etcontainer_next->
empty() ) etcontainer_next =
nullptr;
353 if (hasDigitContainer) {
354 if( !DigitContainer->
empty() ) cellsno = DigitContainer->
size();
356 ATH_MSG_WARNING(
"DigitContainer has zero size, but asked, will be not filled... ");
357 return StatusCode::SUCCESS;
360 ATH_MSG_DEBUG(
"DigitContainer has size: "<<cellsno<<
" hasDigitContainer: "<<hasDigitContainer);
362 if(
m_ETThresh > 0. && !etcontainer && !etcontainer_next) {
363 ATH_MSG_WARNING(
"Asked for ETThreshold, but no SC_ET* container, will not apply ! " );
373 if(
m_ADCThresh > 0. && ! DigitContainer&& !DigitContainer_next) {
374 ATH_MSG_WARNING(
"Asked for ADCThreshold, but no digits container, will not apply ! " );
378 if (hasAccCalibDigitContainer) {
379 if( !AccCalibDigitContainer->
empty() ) {
380 cellsno = AccCalibDigitContainer->
size();
381 ATH_MSG_DEBUG(
"AccCalibDigitContainer has size: "<<cellsno<<
" hasAccCalibDigitContainer: "<<hasAccCalibDigitContainer);
383 ATH_MSG_WARNING(
"AccCalibDigitContainer has zero size, but asked, will be not filled... ");
384 return StatusCode::SUCCESS;
387 if (hasAccDigitContainer) {
388 if( !AccDigitContainer->
empty() ) {
389 cellsno = AccDigitContainer->
size();
390 ATH_MSG_DEBUG(
"AccDigitContainer has size: "<<cellsno<<
" hasAccDigitContainer: "<<hasAccDigitContainer);
392 ATH_MSG_WARNING(
"AccDigitContainer has zero size, but asked, will be not filled... ");
393 return StatusCode::SUCCESS;
397 if (DigitContainer_next){
399 cellsno = DigitContainer_next->
size();
400 }
else if(DigitContainer_next->
size() != (
unsigned)cellsno ){
ATH_MSG_ERROR(
" NOOOOOOO! Different number of entries in DigitContainer_next"<< cellsno <<
" " << DigitContainer_next->
size() );
405 cellsno = etcontainer->
size();
406 }
else if(etcontainer->
size() != (
unsigned)cellsno ){
ATH_MSG_ERROR(
" NOOOOOOO! Different number of entries in etcontainer"<< cellsno <<
" " << etcontainer->
size() );
409 if (etcontainer_next){
411 cellsno = etcontainer_next->
size();
412 }
else if(etcontainer_next->
size() != (
unsigned)cellsno ){
ATH_MSG_ERROR(
" NOOOOOOO! Different number of entries in etcontainer_next"<< cellsno <<
" " << etcontainer_next->
size() );
415 unsigned cellCounter = 0;
418 for(
int c = 0;
c<cellsno;++
c ){
425 bool acceptETMain =
true;
427 if( hasAccDigitContainer ){
433 unsigned int trueMaxSample = digi->
nsample();
437 ATH_MSG_DEBUG(
"The number of samples in data is larger than the one specified by JO: " << trueMaxSample <<
" > " <<
m_Nsamples <<
" --> only " <<
m_Nsamples <<
" will be available in the ntuple " );
447 for(
unsigned i = 0;
i<trueMaxSample;++
i) {
456 if( hasAccCalibDigitContainer ){
462 unsigned int trueMaxSample = digi->
nsamples();
466 ATH_MSG_DEBUG(
"The number of samples in data is larger than the one specified by JO: " << trueMaxSample <<
" > " <<
m_Nsamples <<
" --> only " <<
m_Nsamples <<
" will be available in the ntuple " );
476 for(
unsigned i = 0;
i<trueMaxSample;++
i) {
488 if( hasDigitContainer ){
493 unsigned int trueMaxSample = digi->
nsamples();
497 ATH_MSG_DEBUG(
"The number of samples in data is larger than the one specified by JO: " << trueMaxSample <<
" > " <<
m_Nsamples <<
" --> only " <<
m_Nsamples <<
" will be available in the ntuple " );
514 if(!acceptETMain)
continue;
518 for(
unsigned i = 0;
i<trueMaxSample;++
i) {
537 unsigned int trueMaxBcid = trueMaxSample;
538 if(trueMaxBcid > scdigi->
BCId().size()) trueMaxBcid=scdigi->
BCId().size();
539 for(
unsigned i = 0;
i<trueMaxBcid; ++
i){
551 if( DigitContainer_next ){
555 unsigned int trueMaxSample = digi->
nsamples();
559 ATH_MSG_DEBUG(
"The number of samples in data is larger than the one specified by JO: " << trueMaxSample <<
" > " <<
m_Nsamples <<
" --> only " <<
m_Nsamples <<
" will be available in the ntuple " );
566 if( !hasDigitContainer){
570 if(!acceptETMain)
continue;
575 for(
unsigned i = 0;
i<trueMaxSample;++
i) {
582 if(!scdigi){
ATH_MSG_DEBUG(
" Can't cast digi to LArSCDigit*");
592 for(
unsigned i = 0;
i<trueMaxSample;++
i){
607 if ( !hasDigitContainer && !DigitContainer_next ){
619 if(!acceptETMain)
continue;
622 unsigned int truenet =
m_Net;
623 if(truenet > rawSC->
bcids().size()) truenet=rawSC->
bcids().size();
624 for(
unsigned i=0;
i<truenet;++
i){
629 for(
i=0;
i<truenet;++
i){
631 if(rawSC->
bcids().size()) {
641 if(
i<truenet)
continue;
643 if(truenet > rawSC->
satur().size()) truenet=rawSC->
satur().size();
644 for(
unsigned i = 0;
i<truenet;++
i){
653 if( etcontainer_next ){
656 if ( !hasDigitContainer && !DigitContainer_next && !etcontainer ){
668 if(!acceptETMain)
continue;
678 if(rawSC->
bcids().size()) {
688 if(i<rawSC->energies().
size()) {
699 if (
sc != StatusCode::SUCCESS) {
713 if( !
m_trigDec->getListOfTriggers(
x).empty() ){
732 for (
x = TTVector->
begin(); x < TTVector->
end(); ++
x ){
738 if(
count==20000)
break;
746 if (
sc != StatusCode::SUCCESS) {
752 ATH_MSG_DEBUG(
"LArSC2Ntuple has finished, filled " << cellCounter <<
" cells");
753 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
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.
57 return Algorithm::extraOutputDeps();
◆ fillFromIdentifier()
Definition at line 288 of file LArCond2NtupleBase.cxx.
332 m_onlChanId = hwid.get_identifier32().get_compact();
349 const std::vector<HWIdentifier>& calibLineV=clCont->
calibSlotLine(hwid);
350 if(!calibLineV.empty()) {
353 m_calibLine = ((hwid.get_identifier32().get_compact())>>8)&0x7F;
377 bool connected=
false;
383 dd_man = *caloSuperCellMgrHandle;
387 dd_man = *caloMgrHandle;
392 if (
cabling->isOnlineConnected(hwid)) {
440 FEBTemp::const_iterator itb = tv.begin();
441 FEBTemp::const_iterator ite = tv.end();
442 for(;itb!=ite;++itb) {
◆ fillRODEnergy()
Definition at line 756 of file LArSC2Ntuple.cxx.
759 const std::vector<Identifier> cellIds =
m_scidtool->superCellToOfflineID(offId);
763 for(
unsigned i=0;
i<cellIds.size(); ++
i ) {
765 if (hwcell.
is_valid() && (rawChanMap.count(hwcell) != 0) ) {
768 m_ROD_id[
i] = rawChanMap[hwcell]->hardwareID().get_identifier32().get_compact();
◆ initialize()
StatusCode LArSC2Ntuple::initialize |
( |
| ) |
|
|
overridevirtual |
Reimplemented from LArDigits2Ntuple.
Definition at line 21 of file LArSC2Ntuple.cxx.
64 if ( ck.find(
"SC") == std::string::npos){
83 }
else if ( ck ==
"SC_ADC_BAS" ){
96 }
else if ( ck ==
"SC_ET" ){
103 if (
sc.isFailure()) {
108 if (
sc.isFailure()) {
113 }
else if ( ck ==
"SC_ET_ID" ){
116 if (
sc.isFailure()) {
121 if (
sc.isFailure()) {
126 if (
sc.isFailure()) {
135 if (
sc.isFailure()) {
142 if (
sc.isFailure()) {
148 if (
sc.isFailure()) {
153 if (
sc.isFailure()) {
161 if (
sc.isFailure()) {
171 if (
sc.isFailure()) {
176 if (
sc.isFailure()) {
181 if (
sc.isFailure()) {
186 if (
sc.isFailure()) {
191 if (
sc.isFailure()) {
197 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
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()
◆ renounceArray()
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_accCalibContKey
◆ m_accContKey
◆ m_ADCThresh
Gaudi::Property< float > LArSC2Ntuple::m_ADCThresh {this, "ADCThreshold", -1., "Threshold for ADCmax-ADC(0) to fill info"} |
|
private |
◆ m_addBC
Gaudi::Property< bool > LArCond2NtupleBase::m_addBC {this, "AddBadChannelInfo", true, "dump BadChan info ?"} |
|
protectedinherited |
◆ m_addCalib
Gaudi::Property< bool > LArCond2NtupleBase::m_addCalib {this, "AddCalib", false, "add also calib line info info ?"} |
|
protectedinherited |
◆ m_addFEBTemp
Gaudi::Property< bool > LArCond2NtupleBase::m_addFEBTemp {this, "AddFEBTempInfo", false, "dump FEB temperature info ?"} |
|
protectedinherited |
◆ m_addHash
Gaudi::Property< bool > LArCond2NtupleBase::m_addHash {this, "AddHash", false, "add also ID hash info ?"} |
|
protectedinherited |
◆ m_badChanWord
NTuple::Item<long> LArCond2NtupleBase::m_badChanWord |
|
protectedinherited |
◆ m_barrel_ec
NTuple::Item<long> LArCond2NtupleBase::m_barrel_ec |
|
protectedinherited |
◆ m_bcid
NTuple::Item<short> LArDigits2Ntuple::m_bcid |
|
protectedinherited |
◆ m_bcidLATOMEHEAD
NTuple::Item<uint16_t> LArSC2Ntuple::m_bcidLATOMEHEAD |
|
private |
◆ m_bcidVec
NTuple::Array<unsigned short> LArSC2Ntuple::m_bcidVec |
|
private |
◆ m_bcidVec_ADC_BAS
NTuple::Array<unsigned short> LArSC2Ntuple::m_bcidVec_ADC_BAS |
|
private |
◆ m_bcidVec_ET
NTuple::Array<unsigned short> LArSC2Ntuple::m_bcidVec_ET |
|
private |
◆ m_bcidVec_ET_ID
NTuple::Array<unsigned short> LArSC2Ntuple::m_bcidVec_ET_ID |
|
private |
◆ m_BCKey
◆ m_BElist
Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_BElist {this, "BElist", {}, "which B or E to dump"} |
|
protectedinherited |
◆ m_cablingKey
◆ m_cablingKeyAdditional
◆ m_cablingSCKey
◆ m_calibLine
NTuple::Item<long> LArCond2NtupleBase::m_calibLine |
|
protectedinherited |
◆ m_calibMapKey
◆ m_calibMapSCKey
◆ m_caloId
◆ m_caloMgrKey
◆ m_caloMgrSC
◆ m_caloSCMgrKey
Initial value:{this, "CaloSCDetDescrManager", "CaloSuperCellDetDescrManager",
"SG key of the resulting CaloSuperCellDetDescrManager" }
Definition at line 56 of file LArSC2Ntuple.h.
◆ m_caloSuperCellMgrKey
◆ m_chanHash
NTuple::Item<long> LArCond2NtupleBase::m_chanHash |
|
protectedinherited |
◆ m_channel
NTuple::Item<long> LArCond2NtupleBase::m_channel |
|
protectedinherited |
◆ m_contKey
◆ m_contKeys
Gaudi::Property< std::vector<std::string> > LArSC2Ntuple::m_contKeys { this, "SCContainerKeys", {},"which containers to dump"} |
|
private |
◆ m_dac
NTuple::Item<unsigned int> LArDigits2Ntuple::m_dac |
|
protectedinherited |
◆ m_delay
NTuple::Item<unsigned int> LArDigits2Ntuple::m_delay |
|
protectedinherited |
◆ m_detector
NTuple::Item<long> LArCond2NtupleBase::m_detector |
|
protectedinherited |
◆ m_detStore
◆ m_ELVL1Id
NTuple::Item<unsigned long> LArDigits2Ntuple::m_ELVL1Id |
|
protectedinherited |
◆ m_emId
◆ m_energyVec_ET
NTuple::Array<int> LArSC2Ntuple::m_energyVec_ET |
|
private |
◆ m_energyVec_ET_ID
NTuple::Array<int> LArSC2Ntuple::m_energyVec_ET_ID |
|
private |
◆ m_eta
NTuple::Item<long> LArCond2NtupleBase::m_eta |
|
protectedinherited |
◆ m_ETThresh
Gaudi::Property< float > LArSC2Ntuple::m_ETThresh {this, "ETThreshold", -1., "Threshold for ET to fill info"} |
|
private |
◆ m_ETThreshMain
Gaudi::Property< float > LArSC2Ntuple::m_ETThreshMain {this, "ETThresholdMain", -1., "Threshold for ET from Main to fill info"} |
|
private |
◆ m_event
long LArDigits2Ntuple::m_event |
|
protectedinherited |
◆ m_eventInfoDecorKey
◆ m_eventInfoKey
◆ m_evt_nt
NTuple::Tuple* LArDigits2Ntuple::m_evt_nt = nullptr |
|
protectedinherited |
◆ m_evtStore
◆ m_expandId
Gaudi::Property< bool > LArCond2NtupleBase::m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"} |
|
protectedinherited |
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_fcalId
◆ m_febHash
NTuple::Item<long> LArCond2NtupleBase::m_febHash |
|
protectedinherited |
◆ m_FEBTemp1
NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp1 |
|
protectedinherited |
◆ m_FEBTemp2
NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp2 |
|
protectedinherited |
◆ m_FEBTempTool
◆ m_fillBCID
Gaudi::Property< bool > LArDigits2Ntuple::m_fillBCID {this, "FillBCID", false, "if to fill BCID"} |
|
protectedinherited |
◆ m_fillCaloTT
Gaudi::Property< bool > LArSC2Ntuple::m_fillCaloTT {this, "FillTriggerTowers", false, "Trying to fill also TriggerTowers from ByteStream"} |
|
private |
◆ m_fillEMB
Gaudi::Property< bool > LArDigits2Ntuple::m_fillEMB {this, "FillEMB", true, "if to fill EMB"} |
|
protectedinherited |
◆ m_fillEndcap
Gaudi::Property< bool > LArDigits2Ntuple::m_fillEndcap {this, "FillEndcap", true, "if to fill Eendcap"} |
|
protectedinherited |
◆ m_fillLB
Gaudi::Property< bool > LArDigits2Ntuple::m_fillLB {this, "FillLB", false, "if to fill LB in Evnt tree"} |
|
protectedinherited |
◆ m_fillRawChan
Gaudi::Property< bool > LArSC2Ntuple::m_fillRawChan {this, "FillRODEnergy", false, "Trying to fill corresponding cells energies"} |
|
private |
◆ m_fillTType
Gaudi::Property< bool > LArSC2Ntuple::m_fillTType {this, "FillTriggerType", false, "Trying to fill trigger type word"} |
|
private |
◆ m_FT
NTuple::Item<long> LArCond2NtupleBase::m_FT |
|
protectedinherited |
◆ m_FTlist
Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_FTlist {this, "FTlist", {}, "which FT to dump"} |
|
protectedinherited |
◆ m_gain
NTuple::Item<short> LArDigits2Ntuple::m_gain |
|
protectedinherited |
◆ m_hecId
◆ m_IEvent
NTuple::Item<unsigned long long> LArDigits2Ntuple::m_IEvent |
|
protectedinherited |
◆ m_IEventEvt
NTuple::Item<unsigned long long> LArDigits2Ntuple::m_IEventEvt |
|
protectedinherited |
◆ m_initialized
bool LArCond2NtupleBase::m_initialized |
|
privateinherited |
◆ m_ipass
int LArDigits2Ntuple::m_ipass |
|
protectedinherited |
◆ m_isConnected
NTuple::Item<long> LArCond2NtupleBase::m_isConnected |
|
protectedinherited |
◆ m_isFlat
Gaudi::Property< bool > LArCond2NtupleBase::m_isFlat {this, "isFlat", false, "are we working with Flat conditions ?"} |
|
protectedinherited |
◆ m_isSC
Gaudi::Property< bool > LArCond2NtupleBase::m_isSC {this, "isSC", false, "are we working with SC?"} |
|
protectedinherited |
◆ m_LArEventBits
NTuple::Item<uint32_t> LArSC2Ntuple::m_LArEventBits |
|
private |
◆ m_LArFebHeaderContainerKey
◆ m_LArInError
NTuple::Item<short> LArSC2Ntuple::m_LArInError |
|
private |
◆ m_LArLatomeHeaderContainerKey
◆ m_latomeChannel
NTuple::Item<short> LArSC2Ntuple::m_latomeChannel |
|
private |
◆ m_latomeSourceId
NTuple::Item<uint32_t> LArSC2Ntuple::m_latomeSourceId |
|
private |
◆ m_layer
NTuple::Item<long> LArCond2NtupleBase::m_layer |
|
protectedinherited |
◆ m_LB
NTuple::Item<short> LArDigits2Ntuple::m_LB |
|
protectedinherited |
◆ m_mean
NTuple::Array<float> LArDigits2Ntuple::m_mean |
|
protectedinherited |
◆ m_Net
Gaudi::Property< unsigned int > LArSC2Ntuple::m_Net {this, "Net", 5, "number of energies to store"} |
|
private |
◆ m_Nsamples
Gaudi::Property< unsigned int > LArDigits2Ntuple::m_Nsamples {this, "NSamples", 32, "number of samples to store"} |
|
protectedinherited |
◆ m_nt
NTuple::Tuple* LArCond2NtupleBase::m_nt |
|
protectedinherited |
◆ m_ntNet
NTuple::Item<uint32_t> LArSC2Ntuple::m_ntNet |
|
private |
◆ m_ntNsamples
NTuple::Item<long> LArDigits2Ntuple::m_ntNsamples |
|
protectedinherited |
◆ m_ntNTT
NTuple::Item<uint32_t> LArSC2Ntuple::m_ntNTT |
|
private |
◆ m_ntpath
std::string LArCond2NtupleBase::m_ntpath |
|
protectedinherited |
◆ m_ntTitle
std::string LArCond2NtupleBase::m_ntTitle |
|
protectedinherited |
◆ m_OffId
Gaudi::Property< bool > LArCond2NtupleBase::m_OffId {this, "OffId", false, "dump also offline ID ?"} |
|
protectedinherited |
◆ m_oflChanId
NTuple::Item<long> LArCond2NtupleBase::m_oflChanId |
|
protectedinherited |
◆ m_oflHash
NTuple::Item<long> LArCond2NtupleBase::m_oflHash |
|
protectedinherited |
◆ m_onlChanId
NTuple::Item<long> LArCond2NtupleBase::m_onlChanId |
|
protectedinherited |
◆ m_onlineId
◆ m_overwriteEventNumber
Gaudi::Property< bool > LArSC2Ntuple::m_overwriteEventNumber {this, "OverwriteEventNumber", false, "overwrite the event number from EventInfo ?"} |
|
private |
◆ m_phi
NTuple::Item<long> LArCond2NtupleBase::m_phi |
|
protectedinherited |
◆ m_pos_neg
NTuple::Item<long> LArCond2NtupleBase::m_pos_neg |
|
protectedinherited |
◆ m_pulsed
NTuple::Item<unsigned int> LArDigits2Ntuple::m_pulsed |
|
protectedinherited |
◆ m_realgeom
Gaudi::Property< bool > LArCond2NtupleBase::m_realgeom {this, "RealGeometry", false, "add real geometry values ?"} |
|
protectedinherited |
◆ m_region
NTuple::Item<long> LArCond2NtupleBase::m_region |
|
protectedinherited |
◆ m_reta
NTuple::Item<float> LArCond2NtupleBase::m_reta |
|
protectedinherited |
◆ m_RMS
NTuple::Array<float> LArDigits2Ntuple::m_RMS |
|
protectedinherited |
◆ m_ROD_energy
NTuple::Array<float> LArSC2Ntuple::m_ROD_energy |
|
private |
◆ m_ROD_id
NTuple::Array<float> LArSC2Ntuple::m_ROD_id |
|
private |
◆ m_ROD_time
NTuple::Array<float> LArSC2Ntuple::m_ROD_time |
|
private |
◆ m_rphi
NTuple::Item<float> LArCond2NtupleBase::m_rphi |
|
protectedinherited |
◆ m_samples
NTuple::Array<short> LArDigits2Ntuple::m_samples |
|
protectedinherited |
◆ m_samples_ADC_BAS
NTuple::Array<short> LArSC2Ntuple::m_samples_ADC_BAS |
|
private |
◆ m_saturVec_ET
NTuple::Array<bool> LArSC2Ntuple::m_saturVec_ET |
|
private |
◆ m_saturVec_ET_ID
NTuple::Array<bool> LArSC2Ntuple::m_saturVec_ET_ID |
|
private |
◆ m_scidtool
◆ m_Sidelist
Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_Sidelist {this, "Sidelist", {}, "which side to dump"} |
|
protectedinherited |
◆ m_slot
NTuple::Item<long> LArCond2NtupleBase::m_slot |
|
protectedinherited |
◆ m_Slotlist
Gaudi::Property< std::vector<unsigned int> > LArDigits2Ntuple::m_Slotlist {this, "Slotlist", {}, "which Slot to dump"} |
|
protectedinherited |
◆ m_trigDec
ToolHandle< Trig::TrigDecisionTool > LArSC2Ntuple::m_trigDec {this, "TrigDecisionTool", "", "Handle to the TrigDecisionTool"} |
|
private |
◆ m_triggerTowerKey
Gaudi::Property< std::string > LArSC2Ntuple::m_triggerTowerKey {this, "TriggerTowerKey", "TriggerTowers", "Trigger Tower container"} |
|
private |
◆ m_trigNameMap
std::map<std::string, NTuple::Item<unsigned int> > LArSC2Ntuple::m_trigNameMap |
|
private |
◆ m_trigNames
Gaudi::Property< std::vector<std::string> > LArSC2Ntuple::m_trigNames { this, "TrigNames", {"L1_EM3","L1_EM7","L1_EM15"},"which triggers to dump"} |
|
private |
◆ m_TTEem
NTuple::Array<int> LArSC2Ntuple::m_TTEem |
|
private |
◆ m_TTEhad
NTuple::Array<int> LArSC2Ntuple::m_TTEhad |
|
private |
◆ m_TTeta
NTuple::Array<double> LArSC2Ntuple::m_TTeta |
|
private |
◆ m_TTphi
NTuple::Array<double> LArSC2Ntuple::m_TTphi |
|
private |
◆ m_TType
NTuple::Item<unsigned int> LArSC2Ntuple::m_TType |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
Liquid Argon SuperCell raw data.
int phi(const Identifier id) const
return phi according to :
Data class for calibration ADC samples preprocessed by the DSP.
NTuple::Array< float > m_ROD_time
NTuple::Array< double > m_TTphi
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeyAdditional
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
NTuple::Item< long > m_layer
Gaudi::Property< std::vector< std::string > > m_trigNames
NTuple::Item< long > m_isConnected
NTuple::Item< unsigned int > m_dac
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
NTuple::Item< long > m_detector
int eta(const Identifier id) const
return eta [0,9] outer part [0,3] inner part
const LArFCAL_Base_ID * m_fcalId
Gaudi::Property< bool > m_addFEBTemp
SG::ReadHandleKey< LArLATOMEHeaderContainer > m_LArLatomeHeaderContainerKey
NTuple::Item< unsigned long long > m_IEventEvt
Container class for LArAccumulatedDigit.
std::string find(const std::string &s)
return a remapped string
NTuple::Item< long > m_slot
bool is_lar_fcal(Identifier id) const
Gaudi::Property< bool > m_addCalib
NTuple::Item< long > m_pos_neg
NTuple::Array< short > m_samples_ADC_BAS
LArDigits2Ntuple(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Item< long > m_onlChanId
Gaudi::Property< unsigned int > m_Nsamples
unsigned int SourceId() const
NTuple::Item< uint16_t > m_bcidLATOMEHEAD
Gaudi::Property< bool > m_fillBCID
Container class for LArRawSC.
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
const std::vector< HWIdentifier > & calibSlotLine(const HWIdentifier id) const
const HWIdentifier & hardwareID() const
Gaudi::Property< bool > m_fillLB
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
size_t nsamples() const
return number of samples
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
const CaloSuperCellDetDescrManager * m_caloMgrSC
const std::vector< short > & samples() const
const HWIdentifier & hardwareID() const
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
NTuple::Item< float > m_rphi
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
int module(const Identifier id) const
module [1,3]
float mean(int n_min=-1, int n_max=-1) const
Calculates and returns the Mean value of ADC samples.
int region(const Identifier id) const
return region according to :
NTuple::Item< long > m_oflHash
int sampling(const Identifier id) const
return sampling according to :
NTuple::Array< int > m_energyVec_ET_ID
NTuple::Item< unsigned long long > m_IEvent
NTuple::Array< unsigned short > m_bcidVec
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
std::map< HWIdentifier, const LArRawChannel * > rawChanMap_t
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingSCKey
NTuple::Item< uint32_t > m_ntNet
unsigned int SourceId() const
@ LAr
The LAr calorimeter.
uint16_t getIsPulsedInt() const
get the four bit int that tells which lines pulsed
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
bool is_valid() const
Check if id is in a valid state.
NTuple::Item< long > m_ntNsamples
NTuple::Item< unsigned long > m_ELVL1Id
const std::vector< bool > & satur() const
const SG::ReadCondHandleKey< LArOnOffIdMapping > & cablingKey() const
void reduce(HepMC::GenEvent *ge, std::vector< HepMC::GenParticlePtr > toremove)
Remove unwanted particles from the event, collapsing the graph structure consistently.
int eta(const Identifier id) const
return eta according to :
ToolHandle< ILArFEBTempTool > m_FEBTempTool
NTuple::Item< long > m_barrel_ec
int eta(const Identifier id) const
eta [0,63] module 1 ; [0,31] module 2 ; [0,15] module 3
float eta_raw() const
cell eta_raw
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Property< bool > m_addHash
@ Error
The sub-detector issued an error.
const HWIdentifier & hardwareID() const
Return HWIdentifier.
NTuple::Array< bool > m_saturVec_ET
NTuple::Item< long > m_febHash
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
NTuple::Array< bool > m_saturVec_ET_ID
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
int phi(const Identifier id) const
phi [0,15]
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Gaudi::Property< std::vector< unsigned int > > m_FTlist
NTuple::Item< long > m_region
Gaudi::Property< float > m_ETThreshMain
NTuple::Array< int > m_TTEhad
NTuple::Item< short > m_bcid
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
Data class for ADC samples and autocorr preprocessed by the DSP.
NTuple::Array< int > m_TTEem
NTuple::Array< float > m_RMS
Gaudi::Property< bool > m_addBC
virtual StatusCode sysInitialize() override
Override sysInitialize.
NTuple::Item< long > m_badChanWord
NTuple::Item< long > m_phi
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
NTuple::Item< unsigned int > m_pulsed
NTuple::Array< unsigned short > m_bcidVec_ET_ID
Liquid Argon digit base class.
NTuple::Item< uint32_t > m_latomeSourceId
Liquid Argon ROD output object base class.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
NTuple::Item< uint32_t > m_LArEventBits
int nsample() const
return number of samples
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< float > RMS() const
Calculates and returns the RMS value of each ADC sample.
NTuple::Item< float > m_FEBTemp1
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Gaudi::Property< bool > m_fillRawChan
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
Gaudi::Property< bool > m_fillTType
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
SG::ReadDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
#define CHECK(...)
Evaluate an expression and check for errors.
SG::ReadHandleKey< LArAccumulatedDigitContainer > m_accContKey
bool is_lar_hec(Identifier id) const
ToolHandle< Trig::TrigDecisionTool > m_trigDec
Gaudi::Property< bool > m_expandId
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
NTuple::Item< short > m_latomeChannel
NTuple::Array< int > m_energyVec_ET
Gaudi::Property< bool > m_overwriteEventNumber
NTuple::Item< unsigned int > m_TType
NTuple::Array< unsigned short > m_bcidVec_ET
const HWIdentifier & hardwareID() const
Return HWIdentifier.
HWIdentifier createSignalChannelID(const Identifier &id) const
create a HWIdentifier from an Identifier (not inline)
Gaudi::Property< std::vector< std::string > > m_contKeys
Base class for LArDigits taken by LATOME.
float RMS(int n_min=-1, int n_max=-1) const
Calculates and returns the RMS value of ADC samples
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
NTuple::Item< long > m_eta
NTuple::Array< float > m_ROD_id
Gaudi::Property< std::string > m_triggerTowerKey
std::vector< float > mean() const
Calculates and returns the Mean value of each ADC sample.
NTuple::Item< uint32_t > m_ntNTT
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
void fillRODEnergy(HWIdentifier SCId, rawChanMap_t &rawChanMap, const LArOnOffIdMapping *cabling, const LArOnOffIdMapping *cablingROD, bool &acceptMain)
int barrel_ec(const Identifier id) const
return barrel_ec according to :
SG::ReadHandleKey< LArDigitContainer > m_contKey
StatusCode initialize(bool used=true)
NTuple::Array< float > m_ROD_energy
Gaudi::Property< float > m_ADCThresh
const LArOnlineID_Base * m_onlineId
NTuple::Item< long > m_oflChanId
Gaudi::Property< bool > m_realgeom
int delay() const
return the setting of the delay
const std::vector< unsigned short > & bcids() const
ToolHandle< ICaloSuperCellIDTool > m_scidtool
bool fillFromIdentifier(const HWIdentifier &id)
@ Warning
The sub-detector issued a warning.
DataObjIDColl m_extendedExtraObjects
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
virtual StatusCode initialize()
NTuple::Item< float > m_FEBTemp2
#define ATH_MSG_WARNING(x)
Gaudi::Property< float > m_ETThresh
NTuple::Item< float > m_reta
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
NTuple::Item< unsigned int > m_delay
Gaudi::Property< bool > m_isSC
NTuple::Array< float > m_mean
NTuple::Array< short > m_samples
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Container class for LArDigit.
Gaudi::Property< unsigned int > m_Net
NTuple::Array< unsigned short > m_bcidVec_ADC_BAS
const T * at(size_type n) const
Access an element, as an rvalue.
NTuple::Item< long > m_chanHash
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > m_accCalibContKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapSCKey
const LArHEC_Base_ID * m_hecId
NTuple::Item< long > m_calibLine
Container class for LArAccumulatedCalibDigit.
int region(const Identifier id) const
return region [0,1]
const std::vector< unsigned short > & BCId() const
bool is_lar_em(Identifier id) const
size_type size() const noexcept
Returns the number of elements in the collection.
NTuple::Item< short > m_LArInError
NTuple::Item< long > m_FT
NTuple::Item< short > m_LB
NTuple::Array< double > m_TTeta
Exception class for LAr Identifiers.
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
const CaloCell_Base_ID * m_caloId
bool empty() const noexcept
Returns true if the collection is empty.
Gaudi::Property< bool > m_OffId
std::map< std::string, NTuple::Item< unsigned int > > m_trigNameMap
Gaudi::Property< bool > m_fillCaloTT
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSCMgrKey
Container for LArRawChannel (IDC using LArRawChannelCollection)
float phi_raw() const
cell phi_raw
int phi(const Identifier id) const
return phi[0,63] outer part [0,31] inner part
NTuple::Item< long > m_channel
const std::vector< int > & energies() const
int DAC() const
return the number of samples
const LArEM_Base_ID * m_emId