|
ATLAS Offline Software
|
#include <LArRawCalibDataReadingAlg.h>
|
| LArRawCalibDataReadingAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
StatusCode | initialize () override |
|
StatusCode | execute (const EventContext &ctx) const override |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
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 |
|
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_CLKey {this, "CalibLineKey", "LArCalibLineMap", "SG calib line key"} |
|
SG::WriteHandleKey< LArDigitContainer > | m_DigitKey {this,"LArDigitKey",""} |
|
SG::WriteHandleKey< LArCalibDigitContainer > | m_calibDigitKey {this,"LArCalibDigitKey",""} |
|
SG::WriteHandleKey< LArAccumulatedDigitContainer > | m_accDigitKey {this,"LArAccDigitKey",""} |
|
SG::WriteHandleKey< LArAccumulatedCalibDigitContainer > | m_accCalibDigitKey {this,"LArAccCalibDigitKey",""} |
|
SG::WriteHandleKey< LArFebHeaderContainer > | m_febHeaderKey {this,"LArFebHeaderKey",""} |
|
ServiceHandle< IROBDataProviderSvc > | m_robDataProviderSvc {this,"ROBDataProviderSvc","ROBDataProviderSvc"} |
|
BooleanProperty | m_verifyChecksum {this,"VerifyChecksum",true,"Calculate and compare checksums to detect data transmission errors"} |
|
BooleanProperty | m_failOnCorruption {this,"FailOnCorruption",true,"Return FAILURE if data corruption is found"} |
|
Gaudi::Property< std::string > | m_subCaloPreselection {this,"SubCaloPreselection","","One of 'EM', 'HEC' or 'FCAL'"} |
|
Gaudi::Property< std::vector< unsigned > > | m_vBEPreselection {this,"BEPreselection",{},"For channel-selection: Barrel=0, Endcap=1"} |
|
Gaudi::Property< std::vector< unsigned > > | m_vPosNegPreselection {this,"PosNegPreselection",{}, "For channel-selection: C-Side:0, A-Side: 1"} |
|
Gaudi::Property< std::vector< unsigned > > | m_vFTPreselection {this,"FTNumPreselection",{}, "For channel-selection: Feedthrough numbers (e.g. 0 - 31 for barrel)"} |
|
DoubleProperty | m_delayScale {this,"DelayScale",(25./240.)*Gaudi::Units::nanosecond,"One calibration step in time"} |
|
std::set< HWIdentifier > | m_vFinalPreselection |
|
const LArOnlineID * | m_onlineId =nullptr |
|
bool | m_doDigits =false |
|
bool | m_doCalibDigits =false |
|
bool | m_doAccDigits =false |
|
bool | m_doAccCalibDigits =false |
|
bool | m_doFebHeaders =false |
|
DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 28 of file LArRawCalibDataReadingAlg.h.
◆ StoreGateSvc_t
◆ LArRawCalibDataReadingAlg()
LArRawCalibDataReadingAlg::LArRawCalibDataReadingAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ 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);
◆ 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.
◆ 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.
◆ 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 LArRawCalibDataReadingAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
override |
Definition at line 171 of file LArRawCalibDataReadingAlg.cxx.
180 ATH_CHECK(digitsHdl.record(std::make_unique<LArDigitContainer>()));
181 digits=digitsHdl.ptr();
187 ATH_CHECK(cdigitsHdl.record(std::make_unique<LArCalibDigitContainer>()));
188 cdigits=cdigitsHdl.ptr();
194 ATH_CHECK(accdigitsHdl.record(std::make_unique<LArAccumulatedDigitContainer>()));
195 accdigits=accdigitsHdl.ptr();
201 ATH_CHECK(caccdigitsHdl.record(std::make_unique<LArAccumulatedCalibDigitContainer>()));
202 caccdigits=caccdigitsHdl.ptr();
208 ATH_CHECK(febHeadersHdl.record(std::make_unique<LArFebHeaderContainer>()));
209 febHeaders=febHeadersHdl.ptr();
215 std::map<eformat::SubDetectorGroup, std::vector<const uint32_t*> > rawEventTOC;
216 eformat::helper::build_toc(*fullEvent, rawEventTOC);
218 if (larRobs==rawEventTOC.end()) {
220 return StatusCode::SUCCESS;
224 std::unique_ptr<LArRodBlockStructure> rodBlock;
234 return StatusCode::FAILURE;
238 for (
const uint32_t* robPtr : larRobs->second) {
240 ATH_MSG_VERBOSE(
"Decoding ROB fragment 0x" << std::hex << rob.rob_source_id () <<
" with " << std::dec << rob.rod_fragment_size_word() <<
"ROB words");
242 if (rob.rod_fragment_size_word() <3) {
243 ATH_MSG_ERROR(
"Encountered corrupt ROD fragment, less than 3 words!");
245 return StatusCode::FAILURE;
250 eformat::helper::Version
ver(rob.rod_version());
252 if (rodBlock==
nullptr || rodMinorVersion !=
ver.minor_version() || rodBlockType!=(rob.rod_detev_type()&0xff)) {
253 rodMinorVersion=
ver.minor_version();
254 rodBlockType=rob.rod_detev_type()&0xff;
255 ATH_MSG_VERBOSE(
"Found version " << rodMinorVersion <<
" of Rod Block Type " << rodBlockType);
256 if (rodBlockType==10) {
259 else if (rodBlockType==7 || rodBlockType==2) {
260 if(rodMinorVersion>=6) {
263 ATH_MSG_ERROR(
"Found unsupported ROD Block version " << rodMinorVersion
264 <<
" of ROD block type " << rodBlockType);
268 ATH_MSG_ERROR(
"Found unsupported Rod block type " << rodBlockType);
270 return StatusCode::FAILURE;
276 const uint32_t* pData=rob.rod_data();
277 const uint32_t nData=rob.rod_ndata();
279 ATH_MSG_ERROR(
"Failed to assign fragment pointer to LArRodBlockStructure");
280 return StatusCode::FAILURE;
289 ATH_MSG_ERROR(
"offline checksum = 0x" << MSG::hex << offsum << MSG::dec);
291 return StatusCode::FAILURE;
301 ATH_MSG_ERROR(
"Invalid FEB identifer 0x" << std::hex << fId.get_identifier32().get_compact());
303 return StatusCode::FAILURE;
311 ATH_MSG_DEBUG(
"Feedthrough with id 0x" << MSG::hex << ftId << MSG::dec <<
" not in preselection. Ignored.");
325 if (fcNb>=NthisFebChannel)
327 if (
samples.size()==0)
continue;
343 if (fcNb>=NthisFebChannel)
345 if (
samples.size()==0)
continue;
359 std::vector<uint64_t> samplesSum;
360 std::vector<uint64_t> samples2Sum;
363 if (fcNb>=NthisFebChannel)
365 if (samplesSum.size()==0 || samples2Sum.size()==0)
continue;
386 std::vector<uint64_t> samplesSum;
387 std::vector<uint64_t> samples2Sum;
390 if (fcNb>=NthisFebChannel)
392 if (samplesSum.size()==0 || samples2Sum.size()==0)
continue;
401 const std::vector<HWIdentifier>& calibChannelIDs = calibMap->
calibSlotLine(cId);
402 for(std::vector<HWIdentifier>::const_iterator csl_it=calibChannelIDs.begin(); csl_it!=calibChannelIDs.end();++csl_it){
405 ispulsed_int=( ispulsed_int | ((
uint16_t)ispulsed<<bitShift) );
415 std::unique_ptr<LArFebHeader> larFebHeader(
new LArFebHeader(fId));
417 febHeaders->
push_back(std::move(larFebHeader));
422 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 & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ initialize()
StatusCode LArRawCalibDataReadingAlg::initialize |
( |
| ) |
|
|
override |
Definition at line 26 of file LArRawCalibDataReadingAlg.cxx.
69 ATH_MSG_FATAL(
"Needs ether Digits or CalibDigits or AccDigits or AccCalibDigit Key");
70 return StatusCode::FAILURE;
74 ATH_MSG_FATAL(
"Could not have both CalibDigits, AccCalibDigits Key");
75 return StatusCode::FAILURE;
80 return StatusCode::FAILURE;
91 std::set<unsigned> fts;
93 fts.insert({0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31});
96 fts.insert({0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24});
109 ATH_MSG_INFO(
"Adding feedthrough Barrel/Endcap=" << iBE <<
" pos/neg=" << iPN <<
" FT=" << iFT
119 std::set<HWIdentifier> subcaloFTs;
144 return StatusCode::FAILURE;
146 std::cout <<
"set sizes:" << subcaloFTs.size() <<
", " <<
m_vFinalPreselection.size() << std::endl;
150 if (subcaloFTs.find(*
it)==subcaloFTs.end())
156 ATH_MSG_WARNING(
"Apparently inconistent configuration of FT preselections. No preselection left after intersecting 'SubCaloPreselection' with 'PosNeg/BE/FT' preselection");
168 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.
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ 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()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ 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_accCalibDigitKey
◆ m_accDigitKey
◆ m_calibDigitKey
◆ m_CLKey
◆ m_delayScale
DoubleProperty LArRawCalibDataReadingAlg::m_delayScale {this,"DelayScale",(25./240.)*Gaudi::Units::nanosecond,"One calibration step in time"} |
|
private |
◆ m_detStore
◆ m_DigitKey
◆ m_doAccCalibDigits
bool LArRawCalibDataReadingAlg::m_doAccCalibDigits =false |
|
private |
◆ m_doAccDigits
bool LArRawCalibDataReadingAlg::m_doAccDigits =false |
|
private |
◆ m_doCalibDigits
bool LArRawCalibDataReadingAlg::m_doCalibDigits =false |
|
private |
◆ m_doDigits
bool LArRawCalibDataReadingAlg::m_doDigits =false |
|
private |
◆ m_doFebHeaders
bool LArRawCalibDataReadingAlg::m_doFebHeaders =false |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_failOnCorruption
BooleanProperty LArRawCalibDataReadingAlg::m_failOnCorruption {this,"FailOnCorruption",true,"Return FAILURE if data corruption is found"} |
|
private |
◆ m_febHeaderKey
◆ m_onlineId
◆ m_robDataProviderSvc
◆ m_subCaloPreselection
Gaudi::Property<std::string> LArRawCalibDataReadingAlg::m_subCaloPreselection {this,"SubCaloPreselection","","One of 'EM', 'HEC' or 'FCAL'"} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vBEPreselection
Gaudi::Property<std::vector<unsigned> > LArRawCalibDataReadingAlg::m_vBEPreselection {this,"BEPreselection",{},"For channel-selection: Barrel=0, Endcap=1"} |
|
private |
◆ m_verifyChecksum
BooleanProperty LArRawCalibDataReadingAlg::m_verifyChecksum {this,"VerifyChecksum",true,"Calculate and compare checksums to detect data transmission errors"} |
|
private |
◆ m_vFinalPreselection
std::set<HWIdentifier> LArRawCalibDataReadingAlg::m_vFinalPreselection |
|
private |
◆ m_vFTPreselection
Gaudi::Property<std::vector<unsigned> > LArRawCalibDataReadingAlg::m_vFTPreselection {this,"FTNumPreselection",{}, "For channel-selection: Feedthrough numbers (e.g. 0 - 31 for barrel)"} |
|
private |
◆ m_vhka
◆ m_vPosNegPreselection
Gaudi::Property<std::vector<unsigned> > LArRawCalibDataReadingAlg::m_vPosNegPreselection {this,"PosNegPreselection",{}, "For channel-selection: C-Side:0, A-Side: 1"} |
|
private |
The documentation for this class was generated from the following files:
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
def retrieve(aClass, aKey=None)
SG::WriteHandleKey< LArDigitContainer > m_DigitKey
DoubleProperty m_delayScale
Data class for calibration ADC samples preprocessed by the DSP.
std::set< HWIdentifier > m_vFinalPreselection
void setDelayScale(const double scale)
set the delay Scale
virtual uint16_t getStepIndex() const
BooleanProperty m_failOnCorruption
value_type emplace_back(value_type pElem)
Add an element to the end of the collection.
Container class for LArAccumulatedDigit.
std::string find(const std::string &s)
return a remapped string
virtual int getNextAccumulatedDigit(int &channelNumber, std::vector< uint64_t > &SamplesSum, std::vector< uint64_t > &corr2Sum, uint32_t &gain)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const std::vector< HWIdentifier > & calibSlotLine(const HWIdentifier id) const
virtual uint16_t getNTrigger() const
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
virtual uint16_t getNStep() const
ServiceHandle< IROBDataProviderSvc > m_robDataProviderSvc
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
BooleanProperty m_verifyChecksum
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::WriteHandleKey< LArAccumulatedDigitContainer > m_accDigitKey
virtual uint32_t offlineCheckSum() const
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
bool isFCALchannel(const HWIdentifier id) const
Container class for LArCalibDigit.
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.
Gaudi::Property< std::string > m_subCaloPreselection
bool isEMECchannel(const HWIdentifier id) const override final
AthReentrantAlgorithm()
Default constructor:
id_range feb_range() const
value_type get_compact(void) const
Get the compact id.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Liquid Argon digit base class.
Gaudi::Property< std::vector< unsigned > > m_vPosNegPreselection
int channelInSlotMax(const HWIdentifier Id) const
Return the Maximum channel number of a given feb slot.
::StatusCode StatusCode
StatusCode definition for legacy code.
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
This class provides decoding/encoding from/to ROD format.
uint32_t getFEBID() const
double delay(std::size_t d)
SG::WriteHandleKey< LArCalibDigitContainer > m_calibDigitKey
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.
bool isValidId(const HWIdentifier id) const
Returns false if the identifier is not a LAr-online id or any of the sub-fields is out of range.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
This class provides decoding/encoding from/to ROD format.
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Base class for LArDigits taken during calibration runs.
virtual StatusCode sysInitialize() override
Override sysInitialize.
Gaudi::Property< std::vector< unsigned > > m_vBEPreselection
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode initialize(bool used=true)
bool isEMBchannel(const HWIdentifier id) const
SG::WriteHandleKey< LArAccumulatedCalibDigitContainer > m_accCalibDigitKey
const LArOnlineID * m_onlineId
SG::WriteHandleKey< LArFebHeaderContainer > m_febHeaderKey
#define ATH_MSG_WARNING(x)
virtual int getNextRawData(int &channelNumber, std::vector< short > &samples, uint32_t &gain)
bool setFragment(const uint32_t *p, uint32_t n)
virtual uint16_t getDelay() const
SG::ReadCondHandleKey< LArCalibLineMapping > m_CLKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Container class for LArDigit.
virtual uint16_t getDAC() const
virtual int getNextAccumulatedCalibDigit(int &channelNumber, std::vector< uint64_t > &SamplesSum, std::vector< uint64_t > &Samples2Sum, uint32_t &nStepTriggers, uint32_t &gain)
virtual uint32_t onlineCheckSum() const
virtual bool getPulsed(unsigned channelNumber) const
bool isHECchannel(const HWIdentifier id) const override final
Identifier32 get_identifier32(void) const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
Container class for LArAccumulatedCalibDigit.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
HWIdentifier feedthrough_Id(int barrel_ec, int pos_neg, int feedthrough) const
Create a feedthrough identifier from fields.
Gaudi::Property< std::vector< unsigned > > m_vFTPreselection