ATLAS Offline Software
|
#include <LArWFParamsComplete.h>
Public Member Functions | |
LArWFParamsComplete () | |
virtual | ~LArWFParamsComplete () |
virtual const LArWFParams & | getParams (const HWIdentifier &CellID, int gain) const |
void | set (const HWIdentifier &CellID, int gain, const LArWFParams &theParams) |
void | setPdata (const HWIdentifier id, const LArWFParams &payload, unsigned int gain=0) |
put payload in persistent data More... | |
ConstReference | get (const HWIdentifier id, unsigned int gain=0) const |
get data with online identifier More... | |
Reference | get (const HWIdentifier id, unsigned int gain=0) |
non-const get data with online identifier More... | |
unsigned int | coolChannel (const HWIdentifier id, unsigned int gain=0) const |
Return the COOL channel number for a given online id and gain. More... | |
unsigned int | groupingType () const |
Type of grouping - defined in LArConditionContainerBase.h. More... | |
std::string | groupingTypeToString () const |
Type of grouping - defined in LArConditionContainerBase.h. More... | |
unsigned int | groupNumber (unsigned int coolChannel) const |
Return the group number of a COOL channel (0 - correction group, 1-N for FEB ID groups) More... | |
unsigned int | nGroups () const |
Number of groups - minimum is 2 (1 correction group, 1 FEB ID group) More... | |
unsigned int | minGain () const |
Mininum gain value. More... | |
unsigned int | nGains () const |
Number of gain values. More... | |
chan_const_iterator | chan_begin () const |
Access to Channel numbers via iterators - from MultChanCollection. More... | |
chan_const_iterator | chan_end () const |
chan_size_type | chan_size () const |
number of channels - from MultChanCollection More... | |
iov_const_iterator | iov_begin () const |
Access to IOVs via iterators - from MultChanCollection. More... | |
iov_const_iterator | iov_end () const |
iov_size_type | iov_size () const |
number of IOVs - from MultChanCollection More... | |
unsigned int | conditionsPerChannel (unsigned int coolChannel) const |
Statistics: number of conditions per COOL channel. More... | |
unsigned int | conditionsPerGroup (unsigned int group) const |
Statistics: number of conditions per group. More... | |
unsigned int | conditionsPerGain (unsigned int gain) const |
Statistics: number of conditions per gain. More... | |
unsigned int | totalNumberOfConditions () const |
Statistics: total number of conditions. More... | |
unsigned int | totalNumberOfCorrections () const |
Statistics: total number of corrections. More... | |
bool | correctionsApplied () const |
Have corrections been applied? More... | |
StatusCode | applyCorrections () |
apply correction set More... | |
StatusCode | undoCorrections () |
undo corrections that have been already applied More... | |
StatusCode | insertCorrection (HWIdentifier id, const LArWFParams &cond, unsigned int gain, bool corrChannel=true) |
access to corrections - More... | |
ConstCorrectionIt | undoCorrBegin (unsigned int gain) const |
get iterator over the Undo-Vector for a certain gain More... | |
ConstCorrectionIt | undoCorrEnd (unsigned int gain) const |
ConstConditionsMapIterator | begin (unsigned int gain) const |
get iterator for all channels for a gain More... | |
ConditionsMapIterator | begin (unsigned int gain) |
ConstConditionsMapIterator | begin (unsigned int gain, const std::vector< FebId > &febIds) const |
get iterator for all channels for a gain, restricted to a list of FebIds More... | |
ConditionsMapIterator | begin (unsigned int gain, const std::vector< FebId > &febIds) |
ConstConditionsMapIterator | begin (unsigned int gain, const HWIdentifier &febId) const |
get iterator for all channels for a gain, restricted to one Feb More... | |
ConditionsMapIterator | begin (unsigned int gain, const HWIdentifier &febId) |
ConstConditionsMapIterator | end (unsigned int gain) const |
end of all channels for this gain More... | |
ConditionsMapIterator | end (unsigned int gain) |
void | removeConditions () |
Remove conditions leaving the corrections - may be needed to only write out the corrections when both are present. More... | |
void | removeConditionsChannel (unsigned int coolChannel) |
Remove the conditions for a specific cool channel - e.g. More... | |
std::vector< unsigned > | completeCorrectionChannels () |
Fill all non-existing Correction Channels with emtpy subsets This is necessary to terminate the IOV of the previous correction. More... | |
virtual StatusCode | initialize () |
Initialization done after creation or read back - derived classes may augment the functionality. More... | |
bool | merge (const LArConditionsContainer< LArWFParams > &other) |
Protected Member Functions | |
ConstReference | empty () const |
Access to standard empty value. More... | |
Protected Attributes | |
GainMap | m_cached |
Map indexed by gain providing pointers into the data in the CondMultChanCollection. More... | |
Private Types | |
typedef std::vector< ConstPointer > | TVector |
typedef TVector::const_iterator | TVectorIterator |
typedef std::map< unsigned int, TVector > | TVectorMap |
typedef TVectorMap::const_iterator | TVectorMapIterator |
typedef Subset::CorrectionPair | CorrectionPair |
typedef Subset::CorrectionVec | CorrectionVector |
typedef Subset::ConstCorrectionVecIt | ConstCorrectionVecIt |
typedef std::vector< CorrectionVector > | CorrectionVectors |
typedef DataVector< Subset > | SubsetDV |
typedef SubsetDV::const_iterator | const_iterator |
typedef SubsetDV::iterator | iterator |
Private Member Functions | |
StatusCode | updateConditionsMap (FebId id, unsigned int gain, ConditionsMap &conditionsMap) |
Update the ConditionsMap for a new FEB ID. More... | |
void | sortSubsets () |
Sort subsets by channel number. More... | |
Private Attributes | |
ConstCorrectionIt | m_dummyCorrIt |
Dummy iterator (returned if requested for invalid gain) More... | |
CorrectionVectors | m_correctionsUndo |
bool | m_correctionsApplied |
CorrectionVector | m_emptyCorrectionVec |
Definition at line 26 of file LArWFParamsComplete.h.
|
inherited |
Definition at line 95 of file LArConditionsContainer.h.
|
inherited |
Definition at line 97 of file LArConditionsContainer.h.
|
inherited |
Definition at line 74 of file LArConditionsContainer.h.
|
inherited |
Definition at line 76 of file LArConditionsContainer.h.
|
inherited |
Typedefs for DB.
Definition at line 85 of file LArConditionsContainer.h.
|
inherited |
Definition at line 87 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 322 of file LArConditionsContainer.h.
|
inherited |
Definition at line 86 of file LArConditionsContainer.h.
|
inherited |
Definition at line 78 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 319 of file LArConditionsContainer.h.
|
inherited |
Definition at line 90 of file LArConditionsContainer.h.
|
inherited |
Definition at line 82 of file LArConditionsContainer.h.
|
inherited |
Definition at line 80 of file LArConditionsContainer.h.
Definition at line 31 of file LArWFParamsComplete.h.
|
privateinherited |
Definition at line 317 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 318 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 320 of file LArConditionsContainer.h.
|
inherited |
Typedefs for subset.
Definition at line 71 of file LArConditionsContainer.h.
|
inherited |
Definition at line 75 of file LArConditionsContainer.h.
|
inherited |
Definition at line 88 of file LArConditionsContainer.h.
|
inherited |
Definition at line 91 of file LArConditionsContainer.h.
|
inherited |
Definition at line 89 of file LArConditionsContainer.h.
|
inherited |
Definition at line 96 of file LArConditionsContainer.h.
|
inherited |
Definition at line 98 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 323 of file LArConditionsContainer.h.
|
inherited |
Definition at line 69 of file LArConditionsContainer.h.
|
inherited |
Typedefs for MultChan access.
Definition at line 94 of file LArConditionsContainer.h.
|
inherited |
Definition at line 81 of file LArConditionsContainer.h.
|
inherited |
Definition at line 79 of file LArConditionsContainer.h.
|
inherited |
Definition at line 77 of file LArConditionsContainer.h.
|
inherited |
Definition at line 72 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 321 of file LArConditionsContainer.h.
|
inherited |
Definition at line 73 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 313 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 314 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 315 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 316 of file LArConditionsContainer.h.
LArWFParamsComplete::LArWFParamsComplete | ( | ) |
Definition at line 8 of file LArWFParamsComplete.cxx.
|
virtual |
Definition at line 13 of file LArWFParamsComplete.cxx.
|
inherited |
apply correction set
|
inherited |
|
inherited |
get iterator for all channels for a gain
|
inherited |
|
inherited |
get iterator for all channels for a gain, restricted to one Feb
|
inherited |
|
inherited |
get iterator for all channels for a gain, restricted to a list of FebIds
|
inherited |
Access to Channel numbers via iterators - from MultChanCollection.
|
inherited |
|
inherited |
number of channels - from MultChanCollection
|
inherited |
Fill all non-existing Correction Channels with emtpy subsets This is necessary to terminate the IOV of the previous correction.
|
inherited |
Statistics: number of conditions per COOL channel.
|
inherited |
Statistics: number of conditions per gain.
|
inherited |
Statistics: number of conditions per group.
|
inherited |
Return the COOL channel number for a given online id and gain.
|
inherited |
Have corrections been applied?
|
protectedinherited |
Access to standard empty value.
|
inherited |
|
inherited |
end of all channels for this gain
|
inherited |
non-const get data with online identifier
|
inherited |
get data with online identifier
|
virtual |
Definition at line 23 of file LArWFParamsComplete.cxx.
|
inherited |
Type of grouping - defined in LArConditionContainerBase.h.
|
inherited |
Type of grouping - defined in LArConditionContainerBase.h.
|
inherited |
Return the group number of a COOL channel (0 - correction group, 1-N for FEB ID groups)
|
virtualinherited |
Initialization done after creation or read back - derived classes may augment the functionality.
|
inherited |
access to corrections -
Insert a new channel id / T pair. If new channel id is the same as an existing one, the new T replaces the old T
|
inherited |
Access to IOVs via iterators - from MultChanCollection.
|
inherited |
|
inherited |
number of IOVs - from MultChanCollection
|
inherited |
|
inherited |
Mininum gain value.
|
inherited |
Number of gain values.
|
inherited |
Number of groups - minimum is 2 (1 correction group, 1 FEB ID group)
|
inherited |
Remove conditions leaving the corrections - may be needed to only write out the corrections when both are present.
|
inherited |
Remove the conditions for a specific cool channel - e.g.
in order not to write it out
void LArWFParamsComplete::set | ( | const HWIdentifier & | CellID, |
int | gain, | ||
const LArWFParams & | theParams | ||
) |
Definition at line 17 of file LArWFParamsComplete.cxx.
|
inherited |
put payload in persistent data
|
privateinherited |
Sort subsets by channel number.
|
inherited |
Statistics: total number of conditions.
|
inherited |
Statistics: total number of corrections.
|
inherited |
get iterator over the Undo-Vector for a certain gain
|
inherited |
undo corrections that have been already applied
|
inherited |
|
privateinherited |
Update the ConditionsMap for a new FEB ID.
|
protectedinherited |
Map indexed by gain providing pointers into the data in the CondMultChanCollection.
Definition at line 286 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 327 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 326 of file LArConditionsContainer.h.
|
privateinherited |
Dummy iterator (returned if requested for invalid gain)
Definition at line 291 of file LArConditionsContainer.h.
|
privateinherited |
Definition at line 328 of file LArConditionsContainer.h.