|
ATLAS Offline Software
|
#include <LArRampValidationAlg.h>
|
| LArRampValidationAlg (const std::string &name, ISvcLocator *pSvcLocator) |
| Regular algorithm constructor. More...
|
|
StatusCode | initialize () |
| Standard initialization method. More...
|
|
StatusCode | execute () |
| Standard execute method This method has to be emtpy since all the job is done in stop() More...
|
|
StatusCode | stop () |
| Standard finalize method Loops over all channels and all gains and calls the validateChannel method. More...
|
|
StatusCode | finalize () |
|
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 |
|
|
typedef CONDITIONSCONTAINER::ConstConditionsMapIterator | CONTIT |
|
typedef CONDITIONSCONTAINER::LArCondObj | LArCondObj |
|
typedef CONDITIONSCONTAINER::MultChanCollection | MULTICHANCOLL |
|
typedef std::vector< std::pair< HWIdentifier, bool > > | CHECKEDID_t |
| Keeping track of channels failing the validation criteria (per gain) More...
|
|
|
MSG::Level | m_myMsgLvl |
| Message level for reporting deviations. More...
|
|
int | m_myMsgLvlProp |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey {this, "BadChanKey", "LArBadChannel", "SG bad channels key"} |
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_CLKey {this, "CalibLineKey", "LArCalibLineMap", "SG calib line key"} |
|
LArBadChannelMask | m_bcMask |
|
Gaudi::Property< std::vector< std::string > > | m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"} |
|
Gaudi::Property< std::vector< unsigned int > > | m_patchCBs {this, "PatchCBs", {}, "List of missing CalibBoards to patch using values from reference container."} |
|
BooleanProperty | m_isSC {this, "SuperCells", false, "Working on SuperCells ?"} |
|
const LArOnlineID_Base * | m_onlineHelper =nullptr |
|
const CaloCell_Base_ID * | m_caloId =nullptr |
|
const REFCONTAINER * | m_reference =nullptr |
| Pointer to container with reference values. More...
|
|
const CONDITIONSCONTAINER * | m_validation =nullptr |
| Pointer to container to be validated. More...
|
|
CONDITIONSCONTAINER * | m_nc_validation =nullptr |
| Non-const pointer to container to be validated (for FEB patching) More...
|
|
std::string | m_validationKey |
| SG key of the container to be validated (job-property) More...
|
|
SG::ReadCondHandleKey< REFCONTAINER > | m_referenceKey {this,"ReferenceKey","", "SG key of the LArConditionsContainer used as reference"} |
| SG key of the reference container (job-property) More...
|
|
bool | m_useBCInfo |
| Flag set to true in order to use bad-channel info for the channel description as well as to ingore some types of bad-channels via the masking tool. More...
|
|
bool | m_checkCompleteness |
| wether completeness shall be checked or not (job-property) More...
|
|
bool | m_patchMissingFEBs |
| wether missing FEBS (incomplete COOL channels) should be patched More...
|
|
bool | m_printFailedPattern |
| wether to check for FEBs and Calib-lines with many deviating channels More...
|
|
bool | m_doFebAverages |
| wether to compare feb-averages (used only by derived class) More...
|
|
unsigned | m_maxmessages |
| Limit for the number of messages about indiviual deviating channels (usd only by derived class) More...
|
|
unsigned | m_nChecked =0 |
| Number of channels that where checked (grand-total) More...
|
|
unsigned | m_nFailedValidation =0 |
| Number of channels for which vaildateChannel returned false. More...
|
|
unsigned | m_nValidated =0 |
| Number of channels for which vaildateChannel returned true. More...
|
|
unsigned | m_nBad =0 |
| Number of channels known to be bad according to the bad-channel tool. More...
|
|
unsigned | m_nNoReference =0 |
| Number of channels for which not reference channel could be found. More...
|
|
std::vector< CHECKEDID_t > | m_checkedIds |
|
std::string | m_chanFileName |
| File name to store list of deviating channels. More...
|
|
std::ofstream | m_chanFile |
| File name to store list of deviating channels. More...
|
|
std::string | m_febFileName |
| File name to store list of FEBs with deviating channels. More...
|
|
std::ofstream | m_febFile |
| File name to store list of FEBs with deviating channels. More...
|
|
bool | m_useCorrChannel |
|
|
bool | validateChannel (const LArCondObj &ref, const LArCondObj &val, const HWIdentifier chid, const int gain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) override final |
| Method to validate the ramps single readout channels. More...
|
|
LArCondObj | getRefObj (const HWIdentifier chid, const int gain) const override final |
| Method implmented in derived class to get the reference object from ref-container. More...
|
|
virtual StatusCode | summary (const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) override |
| Summary method executed after the loop over all channels. More...
|
|
virtual StatusCode | preLoop () override |
| Executed before the loop over all channels to reset global sums. More...
|
|
bool | febSummary (const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) |
| Method to compare FEB averages. More...
|
|
bool | deviateFromAvg (const LArCondObj &val, const HWIdentifier chid, const int gain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) |
|
bool | checkCoolChannelCompleteness (const LArOnOffIdMapping *cabling, const LArCalibLineMapping *clCont, const LArBadChannelCont *bcCont) |
| Verify if all FEBs of each Cool-Channel is present. More...
|
|
bool | patchMissingFEBs (const FEBANDGAIN_t &febAndGain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) |
| Fills channels of missing FEBs. More...
|
|
bool | patchMissingCalibBoards (const CBANDCHANANDGAIN_t &CBAndGain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) |
| Fills channels of missing calib boards. More...
|
|
void | febOutput (const HWIdentifier &febid, const unsigned gain, const unsigned nGood, const unsigned nBad) |
|
void | findFailedPatterns (const LArOnOffIdMapping *cabling, const LArCalibLineMapping *clCont, const LArBadChannelCont *bcCont) |
|
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...
|
|
Definition at line 40 of file LArRampValidationAlg.h.
◆ CBANDCHANANDGAIN_t
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ CHECKEDID_t
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ CONTIT
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ FEBANDGAIN_t
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ LArCondObj
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ MULTICHANCOLL
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ StoreGateSvc_t
◆ LArRampValidationAlg()
LArRampValidationAlg::LArRampValidationAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
Regular algorithm constructor.
Definition at line 8 of file LArRampValidationAlg.cxx.
20 "Minimal ADC, where the RampTime is computed");
22 "Allowed deviation of ramp (%)");
24 "Allowed deviation of ramp (average over one FEB,");
26 "Allowed deviation of the reconstructed time (ns)");
◆ channelDescription()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Textual representation of gain and location of a certain cell or FEB.
- Parameters
-
chid | Online identifier of the cell or FEB |
gain | Gain in question, a value >2 won't be printed |
iFeb | If chid should be interpreted as FEB identifer |
- Returns
- string Creates a string containing the Side, Barrel-EC, FT, Slot, FEB-Channel in human-readable form
◆ checkCoolChannelCompleteness()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Verify if all FEBs of each Cool-Channel is present.
- Returns
- False if at least one incomplete COOL channel is found, true otherwise Calls
patchMissingFEBs
if m_patchMissingFebs
is true
◆ 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()
◆ deviateFromAvg()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Standard execute method This method has to be emtpy since all the job is done in stop()
Definition at line 69 of file LArCalibValidationAlg.h.
69 {
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();
◆ febOutput()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ febSummary()
Method to compare FEB averages.
Definition at line 163 of file LArRampValidationAlg.cxx.
168 DataPerRegion& dataPerFeb=dataPerFebPair.second;
172 dataPerFeb.rampVal/=dataPerFeb.nEntries;
173 dataPerFeb.rampRef/=dataPerFeb.nEntries;
182 if (fabs(dataPerFeb.rampVal-dataPerFeb.rampRef)/dataPerFeb.rampRef >
tolerance){
184 msg().setf(std::ios::fixed,std::ios::floatfield);
186 << dataPerFeb.rampVal <<
" (reference: " << dataPerFeb.rampRef <<
")" <<
endmsg;
194 <<
" FEBs deviating from reference" ) ;
198 <<
" FEBs withing given tolerance." ) ;
◆ finalize()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ findFailedPatterns()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ getRefObj()
|
finaloverrideprivatevirtual |
◆ initialize()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Standard initialization method.
◆ 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.
◆ patchMissingCalibBoards()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Fills channels of missing calib boards.
- Parameters
-
febAndGain | A vector of (CalibId,gain) pairs |
- Returns
- True on success, false otherwise Inserts the corresponding channel from the reference container as correction channel to the validation container
◆ patchMissingFEBs()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Fills channels of missing FEBs.
- Parameters
-
febAndGain | A vector of (febId,gain) pairs |
- Returns
- True on success, false otherwise Inserts the corresponding channel from the reference container as correction channel to the validation container
◆ preLoop()
StatusCode LArRampValidationAlg::preLoop |
( |
| ) |
|
|
overrideprivatevirtual |
Executed before the loop over all channels to reset global sums.
Reimplemented from LArCalibValidationAlg< CONDITIONSCONTAINER, REFCONTAINER >.
Definition at line 30 of file LArRampValidationAlg.cxx.
34 ATH_MSG_ERROR (
"Failed to initialize CaloCellGroup of thresholds!" ) ;
35 return StatusCode::FAILURE;
39 ATH_MSG_ERROR (
"Expected three values in CaloCellGroup of thresholds for three gains!" ) ;
40 return StatusCode::FAILURE;
47 ATH_MSG_ERROR (
"Failed to initialize CaloCellGroup of thresholds!" ) ;
48 return StatusCode::FAILURE;
52 ATH_MSG_ERROR (
"Expected three values in CaloCellGroup of thresholds for three gains!" ) ;
53 return StatusCode::FAILURE;
65 for (
const std::string& key_it :
m_contKey) {
68 ATH_MSG_WARNING (
"Unable to retrieve LArRawRampContainer with key " << key_it ) ;
71 ATH_MSG_DEBUG (
"Got LArRawRampContainer with key " << key_it ) ;
76 ATH_MSG_WARNING (
"No LArRawRampContainer found. Only fitted ramp will be tested " ) ;
83 for (;cont_it!=cont_it_e;++cont_it) {
84 const std::vector<LArRawRamp::RAMPPOINT_t>& singleRamp=(*cont_it)->theRamp();
85 for (
unsigned int DACIndex=0; DACIndex<singleRamp.size(); DACIndex++) {
88 <<
" DAC value : " << singleRamp[DACIndex].DAC
89 <<
" ADC value : " << singleRamp[DACIndex].
ADC
90 <<
" Time " << singleRamp[DACIndex].
TimeMax ) ;
95 msg().setf(std::ios::fixed,std::ios::floatfield);
97 msg() <<
m_myMsgLvl <<
"Deviating! chan= " << (*cont_it)->channelID()<<
" gain= "<<(*cont_it)->gain() <<
" DeltaT=" << singleRamp[DACIndex].TimeMax <<
" DAC = " << singleRamp[DACIndex].DAC <<
endmsg;
105 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ stop()
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Standard finalize method Loops over all channels and all gains and calls the validateChannel
method.
◆ summary()
◆ 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()
◆ validateChannel()
|
finaloverrideprivatevirtual |
Method to validate the ramps single readout channels.
Implements LArCalibValidationAlg< CONDITIONSCONTAINER, REFCONTAINER >.
Definition at line 108 of file LArRampValidationAlg.cxx.
118 dataPerFEB.rampVal+=
val.m_vRamp[1];
119 dataPerFEB.rampRef+=
ref.m_vRamp[1];
120 ++(dataPerFEB.nEntries);
134 dataPerSector.rampVal+=
val.m_vRamp[1];
135 ++(dataPerSector.nEntries);
143 std::stringstream devMsg;
144 devMsg.setf(std::ios::fixed,std::ios::floatfield);
148 devMsg << 100*(
val.m_vRamp[1]-
ref.m_vRamp[1])/
ref.m_vRamp[1] <<
"%)";
◆ m_BCKey
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_bcMask
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_cablingKey
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_caloId
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_chanFile
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_chanFileName
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_checkCompleteness
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_checkedIds
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_CLKey
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_contKey
std::vector<std::string> LArRampValidationAlg::m_contKey |
|
private |
◆ m_detStore
◆ m_doFebAverages
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_febFile
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_febFileName
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_gainMap
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_hasRawRampContainer
bool LArRampValidationAlg::m_hasRawRampContainer |
|
private |
◆ m_isSC
template<class CONDITIONSCONTAINER , class REFCONTAINER >
BooleanProperty LArCalibValidationAlg< CONDITIONSCONTAINER, REFCONTAINER >::m_isSC {this, "SuperCells", false, "Working on SuperCells ?"} |
|
protectedinherited |
◆ m_maxmessages
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Limit for the number of messages about indiviual deviating channels (usd only by derived class)
Definition at line 213 of file LArCalibValidationAlg.h.
◆ m_myMsgLvl
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_myMsgLvlProp
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_nBad
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_nc_validation
template<class CONDITIONSCONTAINER , class REFCONTAINER >
CONDITIONSCONTAINER* LArCalibValidationAlg< CONDITIONSCONTAINER, REFCONTAINER >::m_nc_validation =nullptr |
|
protectedinherited |
◆ m_nChecked
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_nEntriesGlobal
unsigned LArRampValidationAlg::m_nEntriesGlobal |
|
private |
◆ m_nFailedValidation
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_nNoReference
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_nValidated
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_onlineHelper
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_patchCBs
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Gaudi::Property<std::vector<unsigned int> > LArCalibValidationAlg< CONDITIONSCONTAINER, REFCONTAINER >::m_patchCBs {this, "PatchCBs", {}, "List of missing CalibBoards to patch using values from reference container."} |
|
protectedinherited |
◆ m_patchMissingFEBs
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_printFailedPattern
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_problemsToMask
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Gaudi::Property<std::vector<std::string> > LArCalibValidationAlg< CONDITIONSCONTAINER, REFCONTAINER >::m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"} |
|
protectedinherited |
◆ m_rampGlobalRef
double LArRampValidationAlg::m_rampGlobalRef |
|
private |
◆ m_rampGlobalVal
double LArRampValidationAlg::m_rampGlobalVal |
|
private |
◆ m_rawRampContainer
◆ m_rawrampTimeADC
float LArRampValidationAlg::m_rawrampTimeADC |
|
private |
◆ m_rawrampTimeTolerance
float LArRampValidationAlg::m_rawrampTimeTolerance |
|
private |
◆ m_reference
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_referenceKey
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_rmsGlobalRef
double LArRampValidationAlg::m_rmsGlobalRef |
|
private |
◆ m_rmsGlobalVal
double LArRampValidationAlg::m_rmsGlobalVal |
|
private |
◆ m_tolerance
◆ m_toleranceFEB
◆ m_toleranceInit
std::vector<std::string> LArRampValidationAlg::m_toleranceInit |
|
private |
◆ m_toleranceInitFEB
std::vector<std::string> LArRampValidationAlg::m_toleranceInitFEB |
|
private |
◆ m_useBCInfo
template<class CONDITIONSCONTAINER , class REFCONTAINER >
Flag set to true in order to use bad-channel info for the channel description as well as to ingore some types of bad-channels via the masking tool.
Definition at line 198 of file LArCalibValidationAlg.h.
◆ m_useCorrChannel
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_validation
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_validationKey
template<class CONDITIONSCONTAINER , class REFCONTAINER >
◆ m_varHandleArraysDeclared
◆ m_vDataPerFEB
◆ m_vDataPerSector
◆ m_vhka
The documentation for this class was generated from the following files:
Const iterator class for DataVector/DataList.
constexpr double tolerance
const LArOnlineID_Base * m_onlineHelper
unsigned m_nFailedValidation
Number of channels for which vaildateChannel returned false.
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
const REFCONTAINER * m_reference
Pointer to container with reference values.
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const std::vector< float > & getDefaults() const
std::unordered_map< Identifier, DataPerRegion > m_vDataPerSector
Identifier region_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy) const
Make a region ID from constituting fields and subCalo index; for (Mini)FCAL and Tiles,...
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
bool m_hasRawRampContainer
To check if Raw Ramps are found.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
float m_rawrampTimeTolerance
Raw Ramp time tolerance (in ns) (job-Property)
virtual void setOwner(IDataHandleHolder *o)=0
bool febSummary(const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont)
Method to compare FEB averages.
std::vector< std::string > m_toleranceInitFEB
Ramp tolerance (FEB average) as CaloCellGroup object (job-Property)
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
int sampling(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
float m_rawrampTimeADC
Raw Ramp ADC (job-Property)
::StatusCode StatusCode
StatusCode definition for legacy code.
CaloCellGroupList m_tolerance
Ramp tolerance as CaloCellGroup object.
std::unordered_map< HWIdentifier, DataPerRegion > m_vDataPerFEB
int eta(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
virtual StatusCode summary(const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont)
Method executed after the loop over all channels The implementation in the base class writes out only...
LArRawRampContainer * m_rawRampContainer
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
const CaloCell_Base_ID * m_caloId
std::vector< std::string > m_toleranceInit
Ramp tolerance as init string for CellGroupObject (job-Property)
CONDITIONSCONTAINER::LArCondObj LArCondObj
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
MSG::Level m_myMsgLvl
Message level for reporting deviations.
Identifier cell_id(const int subCalo, const int barec_or_posneg, const int sampling_or_fcalmodule, const int region_or_dummy, const int eta, const int phi) const
Make a cell (== channel) ID from constituting fields and subCalo index; for (Mini)FCAL,...
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
DataObjIDColl m_extendedExtraObjects
int side(const Identifier id) const
Tile field values (NOT_VALID == invalid request)
#define ATH_MSG_WARNING(x)
std::vector< std::string > m_contKey
To store Gain Keys for Raw Ramps (job-Property)
const boost::regex ref(r_ef)
unsigned m_maxmessages
Limit for the number of messages about indiviual deviating channels (usd only by derived class)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
CaloCellGroupList m_toleranceFEB
Ramp tolerance (FEB average) as initializer string CaloCellGroup object.
const std::string channelDescription(const HWIdentifier &chid, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont, const unsigned gain=99, bool isFeb=false) const
Textual representation of gain and location of a certain cell or FEB.
const std::vector< float > & valuesForCell(const Identifier id)
bool setDefinition(const CaloCell_Base_ID *caloCellId, const std::vector< std::string > &definitions, MsgStream &logStr)
unsigned m_nEntriesGlobal
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
bool m_doFebAverages
wether to compare feb-averages (used only by derived class)
LArCalibValidationAlg< LArRampComplete, ILArRamp > LArRampValidationBase
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.