|
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 > &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< 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", "FREE", "key for LArDigitContainer"} |
|
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > | m_accCalibContKey {this, "AccCalibContainerKey", "HIGH", "key for LArAccumulatedCalibDigitDigitContainer"} |
|
SG::ReadHandleKey< LArAccumulatedDigitContainer > | m_accContKey {this, "AccContainerKey", "HIGH", "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::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"} |
|
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"} |
|
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 197 of file LArSC2Ntuple.cxx.
202 const EventContext& ctx = Gaudi::Hive::currentContext();
207 unsigned long long thisevent =
evt->eventNumber();
208 unsigned short thislb =
evt->lumiBlock();
211 unsigned long thisbcid =
evt->bcid();
212 unsigned long thisELVL1Id = 0;
213 unsigned long thisttype =
evt->level1TriggerType();
216 bool hasDigitContainer=
true;
220 if(!hdlDigit.isValid()) {
222 hasDigitContainer=
false;
225 DigitContainer = hdlDigit.cptr();
227 }
else hasDigitContainer=
false;
229 bool hasAccCalibDigitContainer=
true;
233 if(!hdlAccDigit.isValid()) {
235 hasAccCalibDigitContainer=
false;
238 AccCalibDigitContainer = hdlAccDigit.cptr();
240 }
else hasAccCalibDigitContainer=
false;
242 bool hasAccDigitContainer=
true;
246 if(!hdlAccDigit.isValid()) {
248 hasAccDigitContainer=
false;
251 AccDigitContainer = hdlAccDigit.cptr();
253 }
else hasAccDigitContainer=
false;
260 std::map<unsigned int, const LArLATOMEHeader*> LATOMEHeadMap;
264 sc =
evtStore()->retrieve(RawChannelContainer,
"LArRawChannels");
265 if (
sc.isFailure()) {
266 ATH_MSG_WARNING(
"Unable to retrieve LArRawChannelContainer with key LArRawChannels from DetectorStore. " );
269 ATH_MSG_DEBUG(
"Got LArRawChannelContainer with key LArRawChannels" );
273 sc =
evtStore()->retrieve(DigitContainer_next,
"SC_ADC_BAS");
274 if (
sc.isFailure()) {
275 ATH_MSG_WARNING(
"Unable to retrieve LArDigitContainer with key SC_ADC_BAS from DetectorStore. " );
278 ATH_MSG_DEBUG(
"Got additional LArDigitContainer with key SC_ADC_BAS " );
282 sc =
evtStore()->retrieve(etcontainer,
"SC_ET");
283 if (
sc.isFailure()) {
284 ATH_MSG_WARNING(
"Unable to retrieve LArRawSCContainer with key SC_ET from DetectorStore. " );
291 sc =
evtStore()->retrieve(etcontainer_next,
"SC_ET_ID");
292 if (
sc.isFailure()) {
293 ATH_MSG_WARNING(
"Unable to retrieve LArRawSCContainer with key SC_ET_ID from DetectorStore. " );
300 if (! hdrCont.isValid()) {
304 headcontainer=&*hdrCont;
305 thisELVL1Id = (*hdrCont->begin())->L1Id();
306 ATH_MSG_DEBUG(
" ELVL1I FROM LATOME HEADER " << thisELVL1Id );
311 LATOMEHeadMap.try_emplace ( hit->SourceId(), hit );
316 rawChannelMap.try_emplace( raw.channelID(), &raw );
326 return StatusCode::FAILURE;
329 cablingROD=*cablingHdlROD;
332 return StatusCode::FAILURE;
337 if( DigitContainer_next && DigitContainer_next->
empty() ) DigitContainer_next =
nullptr;
339 if( etcontainer && etcontainer->
empty() ) etcontainer =
nullptr;
341 if( etcontainer_next && etcontainer_next->
empty() ) etcontainer_next =
nullptr;
344 if (hasDigitContainer) {
345 if( !DigitContainer->
empty() ) cellsno = DigitContainer->
size();
347 ATH_MSG_WARNING(
"DigitContainer has zero size, but asked, will be not filled... ");
348 return StatusCode::SUCCESS;
351 ATH_MSG_DEBUG(
"DigitContainer has size: "<<cellsno<<
" hasDigitContainer: "<<hasDigitContainer);
353 if (hasAccCalibDigitContainer) {
354 if( !AccCalibDigitContainer->
empty() ) {
355 cellsno = AccCalibDigitContainer->
size();
356 ATH_MSG_DEBUG(
"AccCalibDigitContainer has size: "<<cellsno<<
" hasAccCalibDigitContainer: "<<hasAccCalibDigitContainer);
358 ATH_MSG_WARNING(
"AccCalibDigitContainer has zero size, but asked, will be not filled... ");
359 return StatusCode::SUCCESS;
362 if (hasAccDigitContainer) {
363 if( !AccDigitContainer->
empty() ) {
364 cellsno = AccDigitContainer->
size();
365 ATH_MSG_DEBUG(
"AccDigitContainer has size: "<<cellsno<<
" hasAccDigitContainer: "<<hasAccDigitContainer);
367 ATH_MSG_WARNING(
"AccDigitContainer has zero size, but asked, will be not filled... ");
368 return StatusCode::SUCCESS;
372 if (DigitContainer_next){
374 cellsno = DigitContainer_next->
size();
375 }
else if(DigitContainer_next->
size() != (
unsigned)cellsno ){
ATH_MSG_ERROR(
" NOOOOOOO! Different number of entries in DigitContainer_next"<< cellsno <<
" " << DigitContainer_next->
size() );
380 cellsno = etcontainer->
size();
381 }
else if(etcontainer->
size() != (
unsigned)cellsno ){
ATH_MSG_ERROR(
" NOOOOOOO! Different number of entries in etcontainer"<< cellsno <<
" " << etcontainer->
size() );
384 if (etcontainer_next){
386 cellsno = etcontainer_next->
size();
387 }
else if(etcontainer_next->
size() != (
unsigned)cellsno ){
ATH_MSG_ERROR(
" NOOOOOOO! Different number of entries in etcontainer_next"<< cellsno <<
" " << etcontainer_next->
size() );
390 unsigned cellCounter = 0;
393 for(
int c = 0;
c<cellsno;++
c ){
400 if( hasAccDigitContainer ){
406 unsigned int trueMaxSample = digi->
nsample();
410 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 " );
419 for(
unsigned i = 0;
i<trueMaxSample;++
i) {
426 if( hasAccCalibDigitContainer ){
432 unsigned int trueMaxSample = digi->
nsamples();
436 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 " );
445 for(
unsigned i = 0;
i<trueMaxSample;++
i) {
455 if( hasDigitContainer ){
460 unsigned int trueMaxSample = digi->
nsamples();
464 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 " );
495 unsigned int trueMaxBcid = trueMaxSample;
496 if(trueMaxBcid > scdigi->
BCId().size()) trueMaxBcid=scdigi->
BCId().size();
497 for(
unsigned i = 0;
i<trueMaxBcid; ++
i){
512 if( DigitContainer_next ){
516 unsigned int trueMaxSample = digi->
nsamples();
520 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 " );
527 if( !hasDigitContainer){
537 if(!scdigi){
ATH_MSG_DEBUG(
" Can't cast digi to LArSCDigit*");
547 for(
unsigned i = 0;
i<trueMaxSample;++
i){
553 if( !hasDigitContainer &&
m_fillRawChan && RawChannelContainer ){
565 if ( !hasDigitContainer && !DigitContainer_next ){
579 unsigned int truenet =
m_Net;
580 if(truenet > rawSC->
bcids().size()) truenet=rawSC->
bcids().size();
581 for(
unsigned i=0;
i<truenet;++
i){
585 for(
unsigned i=0;
i<truenet;++
i){
588 if(truenet > rawSC->
satur().size()) truenet=rawSC->
satur().size();
589 for(
unsigned i = 0;
i<truenet;++
i){
597 if( etcontainer_next ){
600 if ( !hasDigitContainer && !DigitContainer_next && !etcontainer ){
626 if (
sc != StatusCode::SUCCESS) {
639 if( !
m_trigDec->getListOfTriggers(
x).empty() ){
657 for (
x = TTVector->
begin(); x < TTVector->
end(); ++
x ){
663 if(
count==20000)
break;
671 if (
sc != StatusCode::SUCCESS) {
677 ATH_MSG_DEBUG(
"LArSC2Ntuple has finished, filled " << cellCounter <<
" cells");
678 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);
370 bool connected=
false;
376 dd_man = *caloSuperCellMgrHandle;
380 dd_man = *caloMgrHandle;
385 if (
cabling->isOnlineConnected(hwid)) {
433 FEBTemp::const_iterator itb = tv.begin();
434 FEBTemp::const_iterator ite = tv.end();
435 for(;itb!=ite;++itb) {
◆ fillRODEnergy()
Definition at line 681 of file LArSC2Ntuple.cxx.
684 const std::vector<Identifier> cellIds =
m_scidtool->superCellToOfflineID(offId);
688 for(
unsigned i=0;
i<cellIds.size(); ++
i ) {
690 if (hwcell.
is_valid() && (rawChanMap.count(hwcell) != 0) ) {
693 m_ROD_id[
i] = rawChanMap[hwcell]->hardwareID().get_identifier32().get_compact();
◆ initialize()
StatusCode LArSC2Ntuple::initialize |
( |
| ) |
|
|
overridevirtual |
Reimplemented from LArDigits2Ntuple.
Definition at line 19 of file LArSC2Ntuple.cxx.
60 if ( ck.find(
"SC") == std::string::npos){
79 }
else if ( ck ==
"SC_ADC_BAS" ){
92 }
else if ( ck ==
"SC_ET" ){
104 if (
sc.isFailure()) {
109 }
else if ( ck ==
"SC_ET_ID" ){
112 if (
sc.isFailure()) {
117 if (
sc.isFailure()) {
122 if (
sc.isFailure()) {
131 if (
sc.isFailure()) {
138 if (
sc.isFailure()) {
144 if (
sc.isFailure()) {
149 if (
sc.isFailure()) {
157 if (
sc.isFailure()) {
167 if (
sc.isFailure()) {
172 if (
sc.isFailure()) {
177 if (
sc.isFailure()) {
182 if (
sc.isFailure()) {
187 if (
sc.isFailure()) {
193 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_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_cablingKey
◆ m_cablingKeyAdditional
◆ m_cablingSCKey
◆ m_calibLine
NTuple::Item<long> LArCond2NtupleBase::m_calibLine |
|
protectedinherited |
◆ m_calibMapKey
◆ m_calibMapSCKey
◆ m_caloId
◆ m_caloMgrKey
◆ 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_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_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
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
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 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
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
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
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::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
void fillRODEnergy(HWIdentifier SCId, rawChanMap_t &rawChanMap, const LArOnOffIdMapping *cabling, const LArOnOffIdMapping *cablingROD)
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
void fill(H5::Group &out_file, size_t iterations)
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
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
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)
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
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
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.
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