|
ATLAS Offline Software
|
#include <LArRawChannelBuilderIterAlg.h>
|
StatusCode | initialize () override |
|
StatusCode | execute (const EventContext &ctx) const override |
|
StatusCode | finalize () override |
|
| AthReentrantAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) |
| Constructor with parameters: More...
|
|
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 |
|
|
LArOFIterResults | peak (const std::vector< float > &samples, const HWIdentifier chID, const CaloGain::CaloGain gain, const float delayIn, const ILArOFC *ofcs, const ILArShape *shapes, const unsigned nIter=0, const unsigned npeak=2, unsigned peak_low=2, unsigned peak_high=2) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
SG::ReadHandleKey< LArDigitContainer > | m_digitKey |
|
SG::WriteHandleKey< LArRawChannelContainer > | m_rawChannelKey |
|
SG::ReadCondHandleKey< ILArPedestal > | m_pedestalKey {this,"PedestalKey","LArPedestal","SG Key of Pedestal conditions object"} |
|
SG::ReadCondHandleKey< LArADC2MeV > | m_adc2MeVKey {this,"ADC2MeVKey","LArADC2MeV","SG Key of ADC2MeV conditions object"} |
|
SG::ReadCondHandleKey< ILArOFC > | m_ofcKey {this,"OFCKey","LArOFC","SG Key of OFC conditions object"} |
|
SG::ReadCondHandleKey< ILArShape > | m_shapeKey {this,"ShapeKey","LArShape","SG Key of Shape conditions object"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArDSPThresholdsComplete > | m_run1DSPThresholdsKey {this, "Run1DSPThresholdsKey","", "SG Key for thresholds to compute time and quality, run 1"} |
|
SG::ReadCondHandleKey< AthenaAttributeList > | m_run2DSPThresholdsKey {this, "Run2DSPThresholdsKey","", "SG Key for thresholds to compute time and quality, run 2"} |
|
Gaudi::Property< float > | m_eCutFortQ {this,"ECutFortQ",256.0,"Time and Quality will be computed only for channels with E above this value"} |
|
Gaudi::Property< bool > | m_absECutFortQ {this,"absECut",true,"Cut on fabs(E) for Q and t computation"} |
|
Gaudi::Property< bool > | m_useShapeDer {this,"useShapeDer",true,"Use shape derivative in Q-factor computation"} |
|
Gaudi::Property< bool > | m_useDBFortQ {this,"useDB",true,"Use DB for cut on t,Q"} |
|
Gaudi::Property< int > | m_firstSample {this,"firstSample",0,"first of the 32 sampels of the MC shape to be used"} |
|
Gaudi::Property< unsigned short > | m_AdcMax {this, "ADCMax", 4095, "Saturation cut"} |
|
Gaudi::Property< bool > | m_skipSaturatedCells {this, "Skip", false, "reconstruct saturated cells"} |
|
Gaudi::Property< float > | m_defaultPhase {this, "defaultPhase", 0, "starting phase for iterations"} |
|
Gaudi::Property< unsigned short > | m_minADCforIter {this, "minADCforIter", 30} |
|
Gaudi::Property< float > | m_minADCforIterInSigma {this, "minADCforIterInSigma", -1} |
|
Gaudi::Property< unsigned short > | m_minSample {this, "minSample", 0} |
|
Gaudi::Property< unsigned short > | m_maxSample {this, "maxSample",31} |
|
Gaudi::Property< unsigned short > | m_nIterProp {"nIterations", 10} |
|
Gaudi::Property< int > | m_defaultShiftTimeSamples {this, "DefaultShiftTimeSample", 0} |
|
Gaudi::Property< bool > | m_forceHighGain {this, "forceHighGain", false, "Force use of high gain for all shapes and OFC (default=false)"} |
|
SG::WriteHandleKey< LArOFIterResultsContainer > | m_timingContKey {this, "TimingContainerKey", "", "Key of the LArOFIterResultsContainer in StoreGate"} |
|
const LArOnlineID * | m_onlineId = nullptr |
|
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 |
|
◆ StoreGateSvc_t
◆ AthReentrantAlgorithm()
AthReentrantAlgorithm::AthReentrantAlgorithm |
Constructor with parameters:
Definition at line 90 of file AthReentrantAlgorithm.cxx.
30 std::make_unique<AthenaBaseComps::AthAlgorithmDHUpdate>
32 std::move (m_updateDataHandles));
◆ 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 LArRawChannelBuilderIterAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
override |
Definition at line 54 of file LArRawChannelBuilderIterAlg.cxx.
61 ATH_CHECK(outputContainer.record(std::make_unique<LArRawChannelContainer>()));
67 ATH_CHECK(timingContHandle.record(std::make_unique<LArOFIterResultsContainer>()));
68 outputTimingContainer = timingContHandle.ptr();
85 std::unique_ptr<LArDSPThresholdsFlat> run2DSPThresh;
90 run2DSPThresh = std::make_unique<LArDSPThresholdsFlat>(*dspThrshAttr);
94 return StatusCode::FAILURE;
99 run1DSPThresh = dspThresh.cptr();
103 return StatusCode::FAILURE;
107 std::vector<float>
signal;
109 const float fMAXINT =
static_cast<float>(
MAXINT);
110 const float fMAXINT2 =
static_cast<float>(
MAXINT2);
116 const bool connected=(*cabling)->isOnlineConnected(
id);
120 const std::vector<short>& samples=
digit->samples();
129 if (!connected)
continue;
131 <<
" gain " <<
gain);
132 return StatusCode::FAILURE;
136 if (!connected)
continue;
138 <<
" gain " <<
gain);
139 return StatusCode::FAILURE;
144 float peakval = -999.;
145 unsigned short ipeak = 0;
147 const unsigned int sampsize = (
unsigned int) samples.size();
150 for (
unsigned int ii = 0; ii < sampsize; ++ii) {
151 if (samples[ii]==0 || samples[ii]>=
m_AdcMax) {
153 MSG::hex <<
id.get_compact() << MSG::dec <<
" ADC=" << samples[ii]);
160 currval = (
float)(samples[ii] -
p);
163 ipeak = ii; peakval = currval;
166 ATH_MSG_DEBUG(
"Peak value: " << peakval <<
", peak sample:" << ipeak);
187 if (ipeak > sampsize - 3) ipeak = sampsize - 3 ;
188 if (ipeak < 2) ipeak = 2;
190 unsigned int peak_min = ipeak - 1 ;
191 unsigned int peak_max = ipeak + 1 ;
197 nIteration, ipeak,peak_min, peak_max );
198 if(outputTimingContainer) {
199 outputTimingContainer->push_back(
results);
202 ADCPeak =
results.getAmplitude();
209 ATH_MSG_DEBUG(
"Peak and time properly retrieved with OFPeakRecoTool: ADCPeak = "
210 << ADCPeak <<
", time = "<<
time);
212 ATH_MSG_DEBUG(
". OFC iteration not valid for channel 0x"<< MSG::hex <<
213 id.get_compact() << MSG::dec <<
" Gain = " <<
gain <<
214 ". Skipping channel.");
219 float E=adc2mev[0]+ADCPeak*adc2mev[1];
221 if (
E>fMAXINT)
E=fMAXINT;
222 if (
E<fMAXINT2)
E=fMAXINT2;
224 if (
results.getConverged()) prov |= 0x0100;
225 prov = prov & 0x3FFF;
237 ecut = run2DSPThresh->
tQThr(
id);
239 else if (run1DSPThresh) {
240 ecut = run1DSPThresh->
tQThr(
id);
244 return StatusCode::FAILURE;
253 gain <<
" above threshold for tQ computation");
257 if (tau>fMAXINT) tau=fMAXINT;
258 if (tau<fMAXINT2) tau=fMAXINT2;
263 if (iqua > 0xFFFF) iqua=0xFFFF;
264 iquaShort =
static_cast<uint16_t>(iqua & 0xFFFF);
269 outputContainer->emplace_back(
id,
static_cast<int>(std::floor(
E+0.5)),
270 static_cast<int>(std::floor(tau+0.5)),
274 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 |
◆ finalize()
StatusCode LArRawChannelBuilderIterAlg::finalize |
( |
| ) |
|
|
override |
◆ initialize()
StatusCode LArRawChannelBuilderIterAlg::initialize |
( |
| ) |
|
|
override |
Definition at line 20 of file LArRawChannelBuilderIterAlg.cxx.
32 ATH_MSG_ERROR (
"useDB requested but neither Run1DSPThresholdsKey nor Run2DSPThresholdsKey initialized.");
33 return StatusCode::FAILURE;
39 const std::string cutmsg =
m_absECutFortQ.value() ?
" fabs(E) < " :
" E < ";
40 ATH_MSG_INFO(
"Energy cut for time and quality computation: " << cutmsg <<
41 " taken from COOL folder "<<
47 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, ITkStripCablingAlg, 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.
◆ peak()
Definition at line 277 of file LArRawChannelBuilderIterAlg.cxx.
282 const float epsilon=0.001;
293 result.m_delay_final = delayIn;
294 result.m_peakSample_init = npeak;
295 result.m_peakSample_final = npeak;
299 unsigned& kMax =
result.m_peakSample_final;
302 unsigned& delayIdx=
result.m_ofcIndex;
313 const unsigned nSamples=samples.size();
322 const unsigned nOFCPhase=ofcs->
nTimeBins(chID,usedGain);
323 float timeOffset = ofcs->
timeOffset(chID,usedGain);
333 timeMax=(nOFCPhase-1)*timeBinWidth;
336 timeMax = (nOFCPhase-1)*timeBinWidth;
337 if (timeBinWidth==0.) {
351 const unsigned ofcSize=this_OFC_a.size();
354 if ( ofcSize == 0 || this_OFC_b.size() == 0 ) {
359 if ( this_OFC_a.size() != this_OFC_b.size() ) {
361 ")and b (" << this_OFC_b.size() <<
") are not the same size for channel 0x"
367 if (peak_low<2) peak_low=2;
369 if (peak_high<peak_low) {
371 <<
"Not enough ADC samples (" <<
nSamples <<
") to apply " << ofcSize <<
" OFCs." );
374 if(kMax<peak_low) kMax=peak_low;
375 if(kMax>peak_high) kMax=peak_high;
377 float amplitude_save=0.;
378 float tau_save= 99999.;
379 unsigned int kMax_save=0;
381 unsigned int delayIdx_save=0;
383 unsigned int mynIter = nIter;
406 for (
unsigned k=0 ; (
k<ofcSize);
k++ ) {
408 const float& this_sample = samples[kMax-2+
k];
409 A += this_OFC_a.
at(
k) * this_sample ;
410 At += this_OFC_b.
at(
k) * this_sample ;
425 delay = delayIdx*timeBinWidth;
430 if (samples.size() == ofcSize && nOFCPhase<2) {
431 delay = delayIdx*timeBinWidth;
436 if (std::fabs(
result.m_tau) <= (0.5*timeBinWidth)) {
438 delay = delayIdx*timeBinWidth;
442 if (kIter>=mynIter) {
443 delay = delayIdx*timeBinWidth;
445 if (std::fabs(tau_save) < std::fabs(
result.m_tau)) {
446 result.m_amplitude = amplitude_save;
450 delayIdx = delayIdx_save;
453 if (std::fabs(
result.m_tau) <= timeBinWidth)
result.m_converged=
true;
459 if (std::fabs(
result.m_tau) <= timeBinWidth) {
460 result.m_converged =
true;
462 amplitude_save =
result.m_amplitude;
465 delay_save = delayIdx*timeBinWidth;
466 delayIdx_save = delayIdx;
471 if(
delay<(-0.5*timeBinWidth)) {
476 if (
delay > timeMax )
delay = timeMax-epsilon;
482 if(
delay>(timeMax+0.5*timeBinWidth) ) {
487 if(
delay > timeMax )
delay = timeMax-epsilon;
490 delay = timeMax-epsilon;
496 if (delayIdx>=nOFCPhase) delayIdx = nOFCPhase-1;
498 this_OFC_a = ofcs->
OFC_a(chID,(
int)usedGain,delayIdx);
499 this_OFC_b = ofcs->
OFC_b(chID,(
int)usedGain,delayIdx);
510 if( thisShape.size() >= ofcSize ) {
511 for (
unsigned k=0 ;
k<ofcSize ;
k++ ) {
512 const float& this_sample = samples[kMax-2+
k];
523 result.m_nIterPerf = kIter;
◆ 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_absECutFortQ
Gaudi::Property<bool> LArRawChannelBuilderIterAlg::m_absECutFortQ {this,"absECut",true,"Cut on fabs(E) for Q and t computation"} |
|
private |
◆ m_adc2MeVKey
◆ m_AdcMax
Gaudi::Property<unsigned short> LArRawChannelBuilderIterAlg::m_AdcMax {this, "ADCMax", 4095, "Saturation cut"} |
|
private |
◆ m_cablingKey
◆ m_defaultPhase
Gaudi::Property<float> LArRawChannelBuilderIterAlg::m_defaultPhase {this, "defaultPhase", 0, "starting phase for iterations"} |
|
private |
◆ m_defaultShiftTimeSamples
Gaudi::Property<int> LArRawChannelBuilderIterAlg::m_defaultShiftTimeSamples {this, "DefaultShiftTimeSample", 0} |
|
private |
◆ m_detStore
◆ m_digitKey
◆ m_eCutFortQ
Gaudi::Property<float> LArRawChannelBuilderIterAlg::m_eCutFortQ {this,"ECutFortQ",256.0,"Time and Quality will be computed only for channels with E above this value"} |
|
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_firstSample
Gaudi::Property<int> LArRawChannelBuilderIterAlg::m_firstSample {this,"firstSample",0,"first of the 32 sampels of the MC shape to be used"} |
|
private |
◆ m_forceHighGain
Gaudi::Property<bool> LArRawChannelBuilderIterAlg::m_forceHighGain {this, "forceHighGain", false, "Force use of high gain for all shapes and OFC (default=false)"} |
|
private |
◆ m_maxSample
Gaudi::Property<unsigned short> LArRawChannelBuilderIterAlg::m_maxSample {this, "maxSample",31} |
|
private |
◆ m_minADCforIter
Gaudi::Property<unsigned short> LArRawChannelBuilderIterAlg::m_minADCforIter {this, "minADCforIter", 30} |
|
private |
◆ m_minADCforIterInSigma
Gaudi::Property<float> LArRawChannelBuilderIterAlg::m_minADCforIterInSigma {this, "minADCforIterInSigma", -1} |
|
private |
◆ m_minSample
Gaudi::Property<unsigned short> LArRawChannelBuilderIterAlg::m_minSample {this, "minSample", 0} |
|
private |
◆ m_nIterProp
Gaudi::Property<unsigned short> LArRawChannelBuilderIterAlg::m_nIterProp {"nIterations", 10} |
|
private |
◆ m_ofcKey
◆ m_onlineId
◆ m_pedestalKey
◆ m_rawChannelKey
Initial value:{this,"LArRawChannelKey","LArRawChannels",
"SG key of the LArRawChannelContainer"}
Definition at line 44 of file LArRawChannelBuilderIterAlg.h.
◆ m_run1DSPThresholdsKey
◆ m_run2DSPThresholdsKey
◆ m_shapeKey
◆ m_skipSaturatedCells
Gaudi::Property<bool> LArRawChannelBuilderIterAlg::m_skipSaturatedCells {this, "Skip", false, "reconstruct saturated cells"} |
|
private |
◆ m_timingContKey
◆ m_useDBFortQ
Gaudi::Property<bool> LArRawChannelBuilderIterAlg::m_useDBFortQ {this,"useDB",true,"Use DB for cut on t,Q"} |
|
private |
◆ m_useShapeDer
Gaudi::Property<bool> LArRawChannelBuilderIterAlg::m_useShapeDer {this,"useShapeDer",true,"Use shape derivative in Q-factor computation"} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
virtual float pedestal(const HWIdentifier &id, int gain) const =0
const LArVectorProxy ADC2MEV(const HWIdentifier &id, int gain) const
Gaudi::Property< float > m_eCutFortQ
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Gaudi::Property< bool > m_skipSaturatedCells
virtual OFCRef_t OFC_b(const HWIdentifier &id, int gain, int tbin=0) const =0
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)
virtual ShapeRef_t ShapeDer(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
Gaudi::Property< bool > m_absECutFortQ
Gaudi::Property< unsigned short > m_minSample
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
SG::ReadHandleKey< LArDigitContainer > m_digitKey
value_type get_compact() const
Get the compact id.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< unsigned short > m_AdcMax
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
SG::WriteHandleKey< LArRawChannelContainer > m_rawChannelKey
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
virtual float timeOffset(const HWIdentifier &CellID, int gain) const =0
value_type at(size_t i) const
Vector indexing with bounds check.
float tQThr(const HWIdentifier &CellID) const
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Liquid Argon digit base class.
SG::ReadCondHandleKey< AthenaAttributeList > m_run2DSPThresholdsKey
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual float timeBinWidth(const HWIdentifier &CellID, int gain) const =0
Gaudi::Property< unsigned short > m_minADCforIter
Gaudi::Property< int > m_defaultShiftTimeSamples
double delay(std::size_t d)
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.
SG::ReadCondHandleKey< LArADC2MeV > m_adc2MeVKey
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
float tQThr(const HWIdentifier chid) const
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
LArOFIterResults peak(const std::vector< float > &samples, const HWIdentifier chID, const CaloGain::CaloGain gain, const float delayIn, const ILArOFC *ofcs, const ILArShape *shapes, const unsigned nIter=0, const unsigned npeak=2, unsigned peak_low=2, unsigned peak_high=2) const
virtual StatusCode sysInitialize() override
Override sysInitialize.
StatusCode initialize(bool used=true)
def time(flags, cells_name, *args, **kw)
SG::ReadCondHandleKey< ILArOFC > m_ofcKey
#define ATH_MSG_WARNING(x)
Gaudi::Property< unsigned short > m_maxSample
SG::ReadCondHandleKey< ILArShape > m_shapeKey
Gaudi::Property< bool > m_forceHighGain
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
virtual OFCRef_t OFC_a(const HWIdentifier &id, int gain, int tbin=0) const =0
access to OFCs by online ID, gain, and tbin (!=0 for testbeam)
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const =0
Gaudi::Property< bool > m_useDBFortQ
bool isHECchannel(const HWIdentifier id) const override final
Gaudi::Property< unsigned short > m_nIterProp
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
virtual float pedestalRMS(const HWIdentifier &id, int gain) const =0
access to RMS of Pedestal index by Identifier, and gain setting
SG::ReadCondHandleKey< LArDSPThresholdsComplete > m_run1DSPThresholdsKey
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
SG::WriteHandleKey< LArOFIterResultsContainer > m_timingContKey
Gaudi::Property< bool > m_useShapeDer
Gaudi::Property< float > m_minADCforIterInSigma
Proxy for accessing a range of float values like a vector.
const LArOnlineID * m_onlineId
virtual ShapeRef_t Shape(const HWIdentifier &id, int gain, int tbin=0, int mode=0) const =0
Gaudi::Property< float > m_defaultPhase