![]() |
ATLAS Offline Software
|
#include <LArAutoCorrValidationAlg.h>
Classes | |
| class | DataPerFEB |
Public Member Functions | |
| LArAutoCorrValidationAlg (const std::string &name, ISvcLocator *pSvcLocator) | |
| Regular algorithm constructor. | |
| StatusCode | initialize () |
| Standard initialization method. | |
| StatusCode | execute () |
| Standard execute method This method has to be emtpy since all the job is done in stop() | |
| StatusCode | stop () |
Standard finalize method Loops over all channels and all gains and calls the validateChannel method. | |
| StatusCode | finalize () |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Types | |
| typedef LArAutoCorrComplete::ConstConditionsMapIterator | CONTIT |
| typedef LArAutoCorrComplete::LArCondObj | LArCondObj |
| typedef LArAutoCorrComplete::MultChanCollection | MULTICHANCOLL |
| typedef std::vector< std::pair< HWIdentifier, bool > > | CHECKEDID_t |
| Keeping track of channels failing the validation criteria (per gain) | |
Protected Member Functions | |
| 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. | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| 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) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Protected Attributes | |
| MSG::Level | m_myMsgLvl |
| Message level for reporting deviations. | |
| int | m_myMsgLvlProp |
| SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey |
| SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey |
| SG::ReadCondHandleKey< LArCalibLineMapping > | m_CLKey |
| LArBadChannelMask | m_bcMask |
| Gaudi::Property< std::vector< std::string > > | m_problemsToMask |
| Gaudi::Property< std::vector< unsigned int > > | m_patchCBs |
| BooleanProperty | m_isSC |
| const LArOnlineID_Base * | m_onlineHelper |
| const CaloCell_Base_ID * | m_caloId |
| const LArAutoCorrComplete * | m_reference |
| Pointer to container with reference values. | |
| const LArAutoCorrComplete * | m_validation |
| Pointer to container to be validated. | |
| LArAutoCorrComplete * | m_nc_validation |
| Non-const pointer to container to be validated (for FEB patching) | |
| std::string | m_validationKey |
| SG key of the container to be validated (job-property) | |
| SG::ReadCondHandleKey< LArAutoCorrComplete > | m_referenceKey |
| SG key of the reference container (job-property) | |
| 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. | |
| bool | m_checkCompleteness |
| wether completeness shall be checked or not (job-property) | |
| bool | m_patchMissingFEBs |
| wether missing FEBS (incomplete COOL channels) should be patched | |
| bool | m_printFailedPattern |
| wether to check for FEBs and Calib-lines with many deviating channels | |
| bool | m_doFebAverages |
| wether to compare feb-averages (used only by derived class) | |
| unsigned | m_maxmessages |
| Limit for the number of messages about indiviual deviating channels (usd only by derived class) | |
| unsigned | m_nChecked |
| Number of channels that where checked (grand-total) | |
| unsigned | m_nFailedValidation |
| Number of channels for which vaildateChannel returned false. | |
| unsigned | m_nValidated |
| Number of channels for which vaildateChannel returned true. | |
| unsigned | m_nBad |
| Number of channels known to be bad according to the bad-channel tool. | |
| unsigned | m_nNoReference |
| Number of channels for which not reference channel could be found. | |
| std::vector< CHECKEDID_t > | m_checkedIds |
| std::string | m_chanFileName |
| File name to store list of deviating channels. | |
| std::ofstream | m_chanFile |
| File name to store list of deviating channels. | |
| std::string | m_febFileName |
| File name to store list of FEBs with deviating channels. | |
| std::ofstream | m_febFile |
| File name to store list of FEBs with deviating channels. | |
| bool | m_useCorrChannel |
Private Types | |
| typedef std::vector< std::pair< HWIdentifier, unsigned > > | FEBANDGAIN_t |
| typedef std::vector< std::pair< std::pair< HWIdentifier, unsigned >, unsigned > > | CBANDCHANANDGAIN_t |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| 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 readout channels. | |
| LArCondObj | getRefObj (const HWIdentifier chid, const int gain) const override final |
| Method implmented in derived class to get the reference object from ref-container. | |
| virtual StatusCode | summary (const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) override |
| Summary method executed after the loop over all channels. | |
| virtual StatusCode | preLoop () override |
| Executed before the loop over all channels to reset global sums. | |
| bool | febSummary (const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) |
| Method to compare FEB averages. | |
| bool | checkCoolChannelCompleteness (const LArOnOffIdMapping *cabling, const LArCalibLineMapping *clCont, const LArBadChannelCont *bcCont) |
| Verify if all FEBs of each Cool-Channel is present. | |
| bool | patchMissingFEBs (const FEBANDGAIN_t &febAndGain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) |
| Fills channels of missing FEBs. | |
| bool | patchMissingCalibBoards (const CBANDCHANANDGAIN_t &CBAndGain, const LArOnOffIdMapping *cabling, const LArBadChannelCont *bcCont) |
| Fills channels of missing calib boards. | |
| 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, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| std::vector< std::string > | m_covToleranceFEBInit |
| Covariace tolerance of one FEB (job-Property) | |
| CaloCellGroupList | m_covToleranceFEB |
| std::vector< std::string > | m_covToleranceInit |
| Covariance tolerance (job-Property) | |
| CaloCellGroupList | m_covTolerance |
| unsigned | m_nSamplesToCheck {} |
| Number of elements of the Covariance vector that should be checked. | |
| bool | m_checkFifthSample {} |
| std::vector< DataPerFEB > | m_vDataPerFEB |
| double | m_covGlobalVal {} |
| double | m_covGlobalRef {} |
| unsigned | m_nEntriesGlobal {} |
| std::vector< std::string > | m_gainMap |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Definition at line 31 of file LArAutoCorrValidationAlg.h.
|
privateinherited |
Definition at line 145 of file LArCalibValidationAlg.h.
|
protectedinherited |
Keeping track of channels failing the validation criteria (per gain)
Definition at line 233 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 79 of file LArCalibValidationAlg.h.
|
privateinherited |
Definition at line 135 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 80 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 81 of file LArCalibValidationAlg.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| LArAutoCorrValidationAlg::LArAutoCorrValidationAlg | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Regular algorithm constructor.
Definition at line 9 of file LArAutoCorrValidationAlg.cxx.
|
protectedinherited |
Textual representation of gain and location of a certain cell or FEB.
| 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 |
|
privateinherited |
Verify if all FEBs of each Cool-Channel is present.
patchMissingFEBs if m_patchMissingFebs is true
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
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.
|
protectedinherited |
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
|
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.
|
privateinherited |
|
private |
Method to compare FEB averages.
Definition at line 140 of file LArAutoCorrValidationAlg.cxx.
|
inlineinherited |
Definition at line 76 of file LArCalibValidationAlg.h.
|
privateinherited |
|
inlinefinaloverrideprivatevirtual |
Method implmented in derived class to get the reference object from ref-container.
Implements LArCalibValidationAlg< LArAutoCorrComplete, LArAutoCorrComplete >.
Definition at line 47 of file LArAutoCorrValidationAlg.h.
|
inherited |
Standard initialization method.
|
overridevirtualinherited |
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.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
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.
|
privateinherited |
Fills channels of missing calib boards.
| febAndGain | A vector of (CalibId,gain) pairs |
|
privateinherited |
Fills channels of missing FEBs.
| febAndGain | A vector of (febId,gain) pairs |
|
overrideprivatevirtual |
Executed before the loop over all channels to reset global sums.
Reimplemented from LArCalibValidationAlg< LArAutoCorrComplete, LArAutoCorrComplete >.
Definition at line 28 of file LArAutoCorrValidationAlg.cxx.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
inherited |
Standard finalize method Loops over all channels and all gains and calls the validateChannel method.
|
overrideprivatevirtual |
Summary method executed after the loop over all channels.
Reimplemented from LArCalibValidationAlg< LArAutoCorrComplete, LArAutoCorrComplete >.
Definition at line 167 of file LArAutoCorrValidationAlg.cxx.
|
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< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
finaloverrideprivatevirtual |
Method to validate readout channels.
Implements LArCalibValidationAlg< LArAutoCorrComplete, LArAutoCorrComplete >.
Definition at line 68 of file LArAutoCorrValidationAlg.cxx.
|
protectedinherited |
Definition at line 168 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 170 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 167 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 178 of file LArCalibValidationAlg.h.
|
protectedinherited |
File name to store list of deviating channels.
Definition at line 240 of file LArCalibValidationAlg.h.
|
protectedinherited |
File name to store list of deviating channels.
Definition at line 237 of file LArCalibValidationAlg.h.
|
protectedinherited |
wether completeness shall be checked or not (job-property)
Definition at line 201 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 234 of file LArCalibValidationAlg.h.
|
private |
Definition at line 72 of file LArAutoCorrValidationAlg.h.
|
protectedinherited |
Definition at line 169 of file LArCalibValidationAlg.h.
|
private |
Definition at line 95 of file LArAutoCorrValidationAlg.h.
|
private |
Definition at line 95 of file LArAutoCorrValidationAlg.h.
|
private |
Definition at line 67 of file LArAutoCorrValidationAlg.h.
|
private |
Definition at line 62 of file LArAutoCorrValidationAlg.h.
|
private |
Covariace tolerance of one FEB (job-Property)
Definition at line 61 of file LArAutoCorrValidationAlg.h.
|
private |
Covariance tolerance (job-Property)
Definition at line 66 of file LArAutoCorrValidationAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protectedinherited |
wether to compare feb-averages (used only by derived class)
Definition at line 210 of file LArCalibValidationAlg.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
protectedinherited |
File name to store list of FEBs with deviating channels.
Definition at line 246 of file LArCalibValidationAlg.h.
|
protectedinherited |
File name to store list of FEBs with deviating channels.
Definition at line 243 of file LArCalibValidationAlg.h.
|
privateinherited |
Definition at line 159 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 173 of file LArCalibValidationAlg.h.
|
protectedinherited |
Limit for the number of messages about indiviual deviating channels (usd only by derived class)
Definition at line 213 of file LArCalibValidationAlg.h.
|
protectedinherited |
Message level for reporting deviations.
Definition at line 163 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 164 of file LArCalibValidationAlg.h.
|
protectedinherited |
Number of channels known to be bad according to the bad-channel tool.
Definition at line 227 of file LArCalibValidationAlg.h.
|
protectedinherited |
Non-const pointer to container to be validated (for FEB patching)
Definition at line 188 of file LArCalibValidationAlg.h.
|
protectedinherited |
Number of channels that where checked (grand-total)
Definition at line 218 of file LArCalibValidationAlg.h.
|
private |
Definition at line 96 of file LArAutoCorrValidationAlg.h.
|
protectedinherited |
Number of channels for which vaildateChannel returned false.
Definition at line 221 of file LArCalibValidationAlg.h.
|
protectedinherited |
Number of channels for which not reference channel could be found.
Definition at line 230 of file LArCalibValidationAlg.h.
|
private |
Number of elements of the Covariance vector that should be checked.
Definition at line 70 of file LArAutoCorrValidationAlg.h.
|
protectedinherited |
Number of channels for which vaildateChannel returned true.
Definition at line 224 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 177 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 172 of file LArCalibValidationAlg.h.
|
protectedinherited |
wether missing FEBS (incomplete COOL channels) should be patched
Definition at line 204 of file LArCalibValidationAlg.h.
|
protectedinherited |
wether to check for FEBs and Calib-lines with many deviating channels
Definition at line 207 of file LArCalibValidationAlg.h.
|
protectedinherited |
Definition at line 171 of file LArCalibValidationAlg.h.
|
protectedinherited |
Pointer to container with reference values.
Definition at line 182 of file LArCalibValidationAlg.h.
|
protectedinherited |
SG key of the reference container (job-property)
Definition at line 194 of file LArCalibValidationAlg.h.
|
protectedinherited |
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.
|
protectedinherited |
Definition at line 248 of file LArCalibValidationAlg.h.
|
protectedinherited |
Pointer to container to be validated.
Definition at line 185 of file LArCalibValidationAlg.h.
|
protectedinherited |
SG key of the container to be validated (job-property)
Definition at line 191 of file LArCalibValidationAlg.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
private |
Definition at line 92 of file LArAutoCorrValidationAlg.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.