|
ATLAS Offline Software
|
This algrithm produces a column-wise NTuple out of a LArRawRampContainer.
More...
#include <LArRamps2Ntuple.h>
|
| LArRamps2Ntuple (const std::string &name, ISvcLocator *pSvcLocator) |
|
| ~LArRamps2Ntuple () |
|
StatusCode | initialize () |
|
virtual StatusCode | stop () |
|
StatusCode | finalize () |
|
StatusCode | execute () |
|
bool | fillFromIdentifier (const HWIdentifier &id) |
|
const SG::ReadCondHandleKey< LArOnOffIdMapping > & | cablingKey () const |
|
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 |
|
|
Gaudi::Property< bool > | m_addBC {this, "AddBadChannelInfo", true, "dump BadChan info ?"} |
|
Gaudi::Property< bool > | m_addFEBTemp {this, "AddFEBTempInfo", false, "dump FEB temperature info ?"} |
|
Gaudi::Property< bool > | m_isSC {this, "isSC", false, "are we working with SC?"} |
|
Gaudi::Property< bool > | m_isFlat {this, "isFlat", false, "are we working with Flat conditions ?"} |
|
Gaudi::Property< bool > | m_OffId {this, "OffId", false, "dump also offline ID ?"} |
|
Gaudi::Property< bool > | m_addHash {this, "AddHash", false, "add also ID hash info ?"} |
|
Gaudi::Property< bool > | m_addCalib {this, "AddCalib", false, "add also calib line info info ?"} |
|
Gaudi::Property< bool > | m_realgeom {this, "RealGeometry", false, "add real geometry values ?"} |
|
Gaudi::Property< bool > | m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"} |
|
std::string | m_ntpath |
|
std::string | m_ntTitle |
|
NTuple::Tuple * | m_nt |
|
NTuple::Item< long > | m_detector |
|
NTuple::Item< long > | m_region |
|
NTuple::Item< long > | m_layer |
|
NTuple::Item< long > | m_eta |
|
NTuple::Item< long > | m_phi |
|
NTuple::Item< long > | m_onlChanId |
|
NTuple::Item< long > | m_oflChanId |
|
NTuple::Item< long > | m_pos_neg |
|
NTuple::Item< long > | m_barrel_ec |
|
NTuple::Item< long > | m_FT |
|
NTuple::Item< long > | m_slot |
|
NTuple::Item< long > | m_channel |
|
NTuple::Item< long > | m_calibLine |
|
NTuple::Item< long > | m_badChanWord |
|
NTuple::Item< long > | m_isConnected |
|
NTuple::Item< long > | m_chanHash |
|
NTuple::Item< long > | m_febHash |
|
NTuple::Item< long > | m_oflHash |
|
NTuple::Item< float > | m_reta |
|
NTuple::Item< float > | m_rphi |
|
NTuple::Item< float > | m_FEBTemp1 |
|
NTuple::Item< float > | m_FEBTemp2 |
|
StoreGateSvc * | m_detStore |
|
const LArEM_Base_ID * | m_emId |
|
const LArHEC_Base_ID * | m_hecId |
|
const LArFCAL_Base_ID * | m_fcalId |
|
const LArOnlineID_Base * | m_onlineId |
|
const CaloCell_Base_ID * | m_caloId |
|
ToolHandle< ILArFEBTempTool > | m_FEBTempTool |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingSCKey {this,"CablingSCKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey {this, "BadChanKey", "LArBadChannel", "SG bad channels key"} |
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_calibMapKey {this,"CalibMapKey","LArCalibLineMap","SG Key of calib line mapping object"} |
|
SG::ReadCondHandleKey< LArCalibLineMapping > | m_calibMapSCKey {this,"CalibMapSCKey","LArCalibIdMapSC","SG Key of calib line mapping object"} |
|
SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey {this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store"} |
|
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > | m_caloSuperCellMgrKey {this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG key of the resulting CaloSuperCellDetDescrManager" } |
|
This algrithm produces a column-wise NTuple out of a LArRawRampContainer.
Only the finalize method is used, initalize and execute are empty. The key of the container is given by the jobOption 'ContainerKey'.
- Author
- W. Lampl
- 2. 2004 Modifications:
- S. Laplace: 10/04: added a few fields (max sample, etc...)
- S. Laplace: 03/05: added individual samples (on demand, driven by jobOption)
Definition at line 28 of file LArRamps2Ntuple.h.
◆ StoreGateSvc_t
◆ anonymous enum
◆ LArRamps2Ntuple()
LArRamps2Ntuple::LArRamps2Ntuple |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
Definition at line 11 of file LArRamps2Ntuple.cxx.
16 "List of keys of RawRamp containers");
18 "Key of LArRampComplete or LArRampMC objects");
◆ ~LArRamps2Ntuple()
LArRamps2Ntuple::~LArRamps2Ntuple |
( |
| ) |
|
|
default |
◆ cablingKey()
◆ 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()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode LArCond2NtupleBase::execute |
( |
| ) |
|
|
inlineinherited |
◆ 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();
◆ fillFromIdentifier()
Definition at line 288 of file LArCond2NtupleBase.cxx.
332 m_onlChanId = hwid.get_identifier32().get_compact();
349 const std::vector<HWIdentifier>& calibLineV=clCont->
calibSlotLine(hwid);
370 bool connected=
false;
376 dd_man = *caloSuperCellMgrHandle;
380 dd_man = *caloMgrHandle;
385 if (
cabling->isOnlineConnected(hwid)) {
433 FEBTemp::const_iterator itb = tv.begin();
434 FEBTemp::const_iterator ite = tv.end();
435 for(;itb!=ite;++itb) {
◆ finalize()
StatusCode LArRamps2Ntuple::finalize |
( |
| ) |
|
|
inline |
◆ initialize()
StatusCode LArRamps2Ntuple::initialize |
( |
| ) |
|
◆ 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.
◆ renounce()
◆ renounceArray()
◆ stop()
StatusCode LArRamps2Ntuple::stop |
( |
| ) |
|
|
virtual |
Definition at line 38 of file LArRamps2Ntuple.cxx.
39 bool hasRawRampContainer=
false;
41 NTuple::Item<long> cellIndex;
42 NTuple::Item<long>
gain;
43 NTuple::Item<long> corrUndo;
44 NTuple::Array<float> SampleMax;
46 NTuple::Array<float> DAC;
47 NTuple::Array<float>
ADC;
48 NTuple::Array<long> NTriggers;
51 NTuple::Array<float> Sample0;
52 NTuple::Array<float> Sample1;
53 NTuple::Array<float> Sample2;
54 NTuple::Array<float> Sample3;
55 NTuple::Array<float> Sample4;
56 NTuple::Array<float> Sample5;
57 NTuple::Array<float> Sample6;
60 NTuple::Array<float> RMS0;
61 NTuple::Array<float> RMS1;
62 NTuple::Array<float> RMS2;
63 NTuple::Array<float> RMS3;
64 NTuple::Array<float> RMS4;
65 NTuple::Array<float> RMS5;
66 NTuple::Array<float> RMS6;
68 NTuple::Item<unsigned long> DACIndex;
69 NTuple::Array<float>
coeffs;
70 NTuple::Item<unsigned long> coeffIndex;
72 NTuple::Item<float> RampRMS;
79 if (
sc!=StatusCode::SUCCESS || !rawRampContainer) {
84 hasRawRampContainer =
true;
87 if (!hasRawRampContainer)
ATH_MSG_WARNING(
" No LArRawRampContainer found. Only fitted ramp in ntuple " );
108 if (!ramp && !hasRawRampContainer) {
109 ATH_MSG_ERROR(
"Have neither Raw Ramp nor Fitted Ramp. No Ntuple produced." );
110 return StatusCode::FAILURE;
113 sc=
m_nt->addItem(
"cellIndex",cellIndex,0,2000);
114 if (
sc!=StatusCode::SUCCESS) {
116 return StatusCode::FAILURE;
120 if (
sc!=StatusCode::SUCCESS) {
122 return StatusCode::FAILURE;
126 sc=
m_nt->addItem(
"corrUndo",corrUndo,0,1);
127 if (
sc!=StatusCode::SUCCESS) {
129 return StatusCode::FAILURE;
133 if (hasRawRampContainer)
135 sc=
m_nt->addItem(
"DACIndex",DACIndex,0,800);
136 if (
sc!=StatusCode::SUCCESS) {
138 return StatusCode::FAILURE;
141 sc=
m_nt->addItem(
"SampleMax",DACIndex,SampleMax);
142 if (
sc!=StatusCode::SUCCESS)
144 return StatusCode::FAILURE;
148 if (
sc!=StatusCode::SUCCESS)
150 return StatusCode::FAILURE;
153 if (
sc!=StatusCode::SUCCESS)
155 return StatusCode::FAILURE;
158 sc=
m_nt->addItem(
"DAC",DACIndex,DAC);
159 if (
sc!=StatusCode::SUCCESS)
161 return StatusCode::FAILURE;
164 sc=
m_nt->addItem(
"NTriggers",DACIndex,NTriggers);
165 if (
sc!=StatusCode::SUCCESS) {
167 return StatusCode::FAILURE;
171 sc=
m_nt->addItem(
"Sample0",DACIndex,Sample0);
172 if (
sc!=StatusCode::SUCCESS)
174 return StatusCode::FAILURE;
176 sc=
m_nt->addItem(
"Sample1",DACIndex,Sample1);
177 if (
sc!=StatusCode::SUCCESS)
179 return StatusCode::FAILURE;
181 sc=
m_nt->addItem(
"Sample2",DACIndex,Sample2);
182 if (
sc!=StatusCode::SUCCESS)
184 return StatusCode::FAILURE;
186 sc=
m_nt->addItem(
"Sample3",DACIndex,Sample3);
187 if (
sc!=StatusCode::SUCCESS)
189 return StatusCode::FAILURE;
191 sc=
m_nt->addItem(
"Sample4",DACIndex,Sample4);
192 if (
sc!=StatusCode::SUCCESS)
194 return StatusCode::FAILURE;
196 sc=
m_nt->addItem(
"Sample5",DACIndex,Sample5);
197 if (
sc!=StatusCode::SUCCESS)
199 return StatusCode::FAILURE;
201 sc=
m_nt->addItem(
"Sample6",DACIndex,Sample6);
202 if (
sc!=StatusCode::SUCCESS)
204 return StatusCode::FAILURE;
207 sc=
m_nt->addItem(
"RMS0",DACIndex,RMS0);
208 if (
sc!=StatusCode::SUCCESS)
210 return StatusCode::FAILURE;
212 sc=
m_nt->addItem(
"RMS1",DACIndex,RMS1);
213 if (
sc!=StatusCode::SUCCESS)
215 return StatusCode::FAILURE;
217 sc=
m_nt->addItem(
"RMS2",DACIndex,RMS2);
218 if (
sc!=StatusCode::SUCCESS)
220 return StatusCode::FAILURE;
222 sc=
m_nt->addItem(
"RMS3",DACIndex,RMS3);
223 if (
sc!=StatusCode::SUCCESS)
225 return StatusCode::FAILURE;
227 sc=
m_nt->addItem(
"RMS4",DACIndex,RMS4);
228 if (
sc!=StatusCode::SUCCESS)
230 return StatusCode::FAILURE;
232 sc=
m_nt->addItem(
"RMS5",DACIndex,RMS5);
233 if (
sc!=StatusCode::SUCCESS)
235 return StatusCode::FAILURE;
237 sc=
m_nt->addItem(
"RMS6",DACIndex,RMS6);
238 if (
sc!=StatusCode::SUCCESS)
240 return StatusCode::FAILURE;
246 sc=
m_nt->addItem(
"Xi",coeffIndex,0,7);
247 if (
sc!=StatusCode::SUCCESS)
249 return StatusCode::FAILURE;
253 if (
sc!=StatusCode::SUCCESS)
255 return StatusCode::FAILURE;
258 if (hasRawRampContainer) {
259 sc=
m_nt->addItem(
"RampRMS",RampRMS,-1000,1000);
260 if (
sc!=StatusCode::SUCCESS)
262 return StatusCode::FAILURE;
269 ATH_MSG_WARNING(
"Failed to dyn-cast to ILArRamp to LArRampComplete. Cannot apply corrections");
275 if (
sc.isFailure()) {
276 ATH_MSG_ERROR(
"Failed to apply corrections to LArRampComplete!" );
279 ATH_MSG_INFO(
"Applied corrections to LArRampComplete" );
300 return StatusCode::FAILURE;
303 unsigned cellCounter=0;
304 std::set<std::pair<HWIdentifier,unsigned> > cellDone;
305 if (hasRawRampContainer) {
311 if (
sc!=StatusCode::SUCCESS || !rawRampContainer) {
315 for (
const LArRawRamp* rawramp : *rawRampContainer) {
316 const std::vector<LArRawRamp::RAMPPOINT_t>& singleRamp=rawramp->theRamp();
318 for (DACIndex=0;DACIndex<singleRamp.size();DACIndex++) {
319 SampleMax[DACIndex] = singleRamp[DACIndex].iMaxSample;
320 TimeMax[DACIndex] = singleRamp[DACIndex].TimeMax;
321 ADC[DACIndex] = singleRamp[DACIndex].ADC;
322 NTriggers[DACIndex] = singleRamp[DACIndex].NTriggers;
323 DAC[DACIndex] = singleRamp[DACIndex].DAC;
327 if ( singleRamp[DACIndex].Samples.empty() || singleRamp[DACIndex].RMS.empty() ) {
331 Sample0[DACIndex]=singleRamp[DACIndex].Samples[0];
332 Sample1[DACIndex]=singleRamp[DACIndex].Samples[1];
333 Sample2[DACIndex]=singleRamp[DACIndex].Samples[2];
334 Sample3[DACIndex]=singleRamp[DACIndex].Samples[3];
335 Sample4[DACIndex]=singleRamp[DACIndex].Samples[4];
336 if(singleRamp[DACIndex].Samples.size()>5) Sample5[DACIndex]=singleRamp[DACIndex].Samples[5];
337 if(singleRamp[DACIndex].Samples.size()>6) Sample6[DACIndex]=singleRamp[DACIndex].Samples[6];
339 RMS0[DACIndex]=singleRamp[DACIndex].RMS[0];
340 RMS1[DACIndex]=singleRamp[DACIndex].RMS[1];
341 RMS2[DACIndex]=singleRamp[DACIndex].RMS[2];
342 RMS3[DACIndex]=singleRamp[DACIndex].RMS[3];
343 RMS4[DACIndex]=singleRamp[DACIndex].RMS[4];
344 if(singleRamp[DACIndex].
RMS.size()>5) RMS5[DACIndex]=singleRamp[DACIndex].RMS[5];
345 if(singleRamp[DACIndex].
RMS.size()>6) RMS6[DACIndex]=singleRamp[DACIndex].RMS[6];
355 if (ramp &&
cabling->isOnlineConnected(chid)) {
359 cellDone.insert(std::make_pair(chid,
igain));
364 if (rampcoeff.size()==0) {
366 " channel=" <<
static_cast<long>(
m_channel) <<
" gain=" <<
igain );
368 for (coeffIndex=0;coeffIndex<rampcoeff.size();coeffIndex++)
coeffs[coeffIndex]=rampcoeff[coeffIndex];
369 nDAC = singleRamp.size();
370 nCoeff = rampcoeff.size();
372 if (nDAC>1 && nCoeff>0) {
375 for (
unsigned iDAC=1;iDAC<nDAC;iDAC++) {
376 double fittedResult=0;
377 for (
unsigned icoeff=0;icoeff<nCoeff;icoeff++)
379 rampDev+=(fittedResult-DAC[iDAC])*(fittedResult-DAC[iDAC]);
381 RampRMS=1./(nDAC-1)*sqrt(rampDev);
387 if (
sc!=StatusCode::SUCCESS) {
389 return StatusCode::FAILURE;
406 if (
cabling->isOnlineConnected(chid)) {
408 if ( !cellDone.empty() && cellDone.contains(std::make_pair(chid,
gain)) )
continue;
411 if (rampcoeff.size()==0)
continue;
412 cellIndex = cellCounter;
414 for (coeffIndex=0;coeffIndex<rampcoeff.size();coeffIndex++)
coeffs[coeffIndex]=rampcoeff[coeffIndex];
418 if (
sc!=StatusCode::SUCCESS) {
420 return StatusCode::FAILURE;
439 for(;itUndo!=itUndo_e;itUndo++) {
443 const std::vector<float>& rampcoeff=itUndo->second.m_vRamp;
444 if (rampcoeff.empty())
447 cellIndex = cellCounter;
450 for (coeffIndex=0;coeffIndex<rampcoeff.size();coeffIndex++)
coeffs[coeffIndex]=rampcoeff[coeffIndex];
454 if (
sc!=StatusCode::SUCCESS) {
456 return StatusCode::FAILURE;
463 if (rampComplete_nc) {
465 ATH_MSG_INFO(
"Reverted corrections of LArRampComplete container");
469 return StatusCode::SUCCESS;
◆ 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()
◆ m_addBC
Gaudi::Property< bool > LArCond2NtupleBase::m_addBC {this, "AddBadChannelInfo", true, "dump BadChan info ?"} |
|
protectedinherited |
◆ m_addCalib
Gaudi::Property< bool > LArCond2NtupleBase::m_addCalib {this, "AddCalib", false, "add also calib line info info ?"} |
|
protectedinherited |
◆ m_addCorrUndo
bool LArRamps2Ntuple::m_addCorrUndo |
|
private |
◆ m_addFEBTemp
Gaudi::Property< bool > LArCond2NtupleBase::m_addFEBTemp {this, "AddFEBTempInfo", false, "dump FEB temperature info ?"} |
|
protectedinherited |
◆ m_addHash
Gaudi::Property< bool > LArCond2NtupleBase::m_addHash {this, "AddHash", false, "add also ID hash info ?"} |
|
protectedinherited |
◆ m_applyCorr
bool LArRamps2Ntuple::m_applyCorr |
|
private |
◆ m_badChanWord
NTuple::Item<long> LArCond2NtupleBase::m_badChanWord |
|
protectedinherited |
◆ m_barrel_ec
NTuple::Item<long> LArCond2NtupleBase::m_barrel_ec |
|
protectedinherited |
◆ m_BCKey
◆ m_cablingKey
◆ m_cablingSCKey
◆ m_calibLine
NTuple::Item<long> LArCond2NtupleBase::m_calibLine |
|
protectedinherited |
◆ m_calibMapKey
◆ m_calibMapSCKey
◆ m_caloId
◆ m_caloMgrKey
◆ m_caloSuperCellMgrKey
◆ m_chanHash
NTuple::Item<long> LArCond2NtupleBase::m_chanHash |
|
protectedinherited |
◆ m_channel
NTuple::Item<long> LArCond2NtupleBase::m_channel |
|
protectedinherited |
◆ m_contKey
std::vector<std::string> LArRamps2Ntuple::m_contKey |
|
private |
◆ m_detector
NTuple::Item<long> LArCond2NtupleBase::m_detector |
|
protectedinherited |
◆ m_detStore
◆ m_emId
◆ m_eta
NTuple::Item<long> LArCond2NtupleBase::m_eta |
|
protectedinherited |
◆ m_evtStore
◆ m_expandId
Gaudi::Property< bool > LArCond2NtupleBase::m_expandId {this,"ExpandId", true ,"add online Id decoded fields ?"} |
|
protectedinherited |
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_fcalId
◆ m_febHash
NTuple::Item<long> LArCond2NtupleBase::m_febHash |
|
protectedinherited |
◆ m_FEBTemp1
NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp1 |
|
protectedinherited |
◆ m_FEBTemp2
NTuple::Item<float> LArCond2NtupleBase::m_FEBTemp2 |
|
protectedinherited |
◆ m_FEBTempTool
◆ m_FT
NTuple::Item<long> LArCond2NtupleBase::m_FT |
|
protectedinherited |
◆ m_hecId
◆ m_initialized
bool LArCond2NtupleBase::m_initialized |
|
privateinherited |
◆ m_isConnected
NTuple::Item<long> LArCond2NtupleBase::m_isConnected |
|
protectedinherited |
◆ m_isFlat
Gaudi::Property< bool > LArCond2NtupleBase::m_isFlat {this, "isFlat", false, "are we working with Flat conditions ?"} |
|
protectedinherited |
◆ m_isSC
Gaudi::Property< bool > LArCond2NtupleBase::m_isSC {this, "isSC", false, "are we working with SC?"} |
|
protectedinherited |
◆ m_layer
NTuple::Item<long> LArCond2NtupleBase::m_layer |
|
protectedinherited |
◆ m_nt
NTuple::Tuple* LArCond2NtupleBase::m_nt |
|
protectedinherited |
◆ m_ntName
std::string LArRamps2Ntuple::m_ntName |
|
private |
◆ m_ntpath
std::string LArCond2NtupleBase::m_ntpath |
|
protectedinherited |
◆ m_ntTitle
std::string LArCond2NtupleBase::m_ntTitle |
|
protectedinherited |
◆ m_OffId
Gaudi::Property< bool > LArCond2NtupleBase::m_OffId {this, "OffId", false, "dump also offline ID ?"} |
|
protectedinherited |
◆ m_oflChanId
NTuple::Item<long> LArCond2NtupleBase::m_oflChanId |
|
protectedinherited |
◆ m_oflHash
NTuple::Item<long> LArCond2NtupleBase::m_oflHash |
|
protectedinherited |
◆ m_onlChanId
NTuple::Item<long> LArCond2NtupleBase::m_onlChanId |
|
protectedinherited |
◆ m_onlineId
◆ m_phi
NTuple::Item<long> LArCond2NtupleBase::m_phi |
|
protectedinherited |
◆ m_pos_neg
NTuple::Item<long> LArCond2NtupleBase::m_pos_neg |
|
protectedinherited |
◆ m_rampKey
◆ m_rawRamp
bool LArRamps2Ntuple::m_rawRamp |
|
private |
◆ m_realgeom
Gaudi::Property< bool > LArCond2NtupleBase::m_realgeom {this, "RealGeometry", false, "add real geometry values ?"} |
|
protectedinherited |
◆ m_region
NTuple::Item<long> LArCond2NtupleBase::m_region |
|
protectedinherited |
◆ m_reta
NTuple::Item<float> LArCond2NtupleBase::m_reta |
|
protectedinherited |
◆ m_rphi
NTuple::Item<float> LArCond2NtupleBase::m_rphi |
|
protectedinherited |
◆ m_saveAllSamples
bool LArRamps2Ntuple::m_saveAllSamples |
|
private |
◆ m_slot
NTuple::Item<long> LArCond2NtupleBase::m_slot |
|
protectedinherited |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
int phi(const Identifier id) const
return phi according to :
StatusCode applyCorrections()
apply correction set
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
NTuple::Item< long > m_layer
NTuple::Item< long > m_isConnected
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
NTuple::Item< long > m_detector
int eta(const Identifier id) const
return eta [0,9] outer part [0,3] inner part
const LArFCAL_Base_ID * m_fcalId
Gaudi::Property< bool > m_addFEBTemp
NTuple::Item< long > m_slot
bool is_lar_fcal(Identifier id) const
Gaudi::Property< bool > m_addCalib
NTuple::Item< long > m_pos_neg
NTuple::Item< long > m_onlChanId
StatusCode undoCorrections()
undo corrections that have been already applied
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
const std::vector< HWIdentifier > & calibSlotLine(const HWIdentifier id) const
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
NTuple::Item< float > m_rphi
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
int module(const Identifier id) const
module [1,3]
int region(const Identifier id) const
return region according to :
NTuple::Item< long > m_oflHash
int sampling(const Identifier id) const
return sampling according to :
ConstCorrectionIt undoCorrEnd(unsigned int gain) const
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingSCKey
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
int eta(const Identifier id) const
return eta according to :
ToolHandle< ILArFEBTempTool > m_FEBTempTool
NTuple::Item< long > m_barrel_ec
int eta(const Identifier id) const
eta [0,63] module 1 ; [0,31] module 2 ; [0,15] module 3
float eta_raw() const
cell eta_raw
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Property< bool > m_addHash
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
NTuple::Item< long > m_febHash
int phi(const Identifier id) const
phi [0,15]
NTuple::Item< long > m_region
Subset::ConstCorrectionVecIt ConstCorrectionIt
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
Gaudi::Property< bool > m_addBC
virtual StatusCode sysInitialize() override
Override sysInitialize.
id_range channel_range() const
NTuple::Item< long > m_badChanWord
NTuple::Item< long > m_phi
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
::StatusCode StatusCode
StatusCode definition for legacy code.
NTuple::Item< float > m_FEBTemp1
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapKey
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
std::vector< std::string > m_contKey
bool is_lar_hec(Identifier id) const
Gaudi::Property< bool > m_expandId
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
virtual void renounce()=0
virtual RampRef_t ADC2DAC(const HWIdentifier &id, int gain) const =0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
NTuple::Item< long > m_eta
LArCond2NtupleBase(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
This class stores a unfittet ramp (=a vector a ADC and DAC values)
int barrel_ec(const Identifier id) const
return barrel_ec according to :
StatusCode initialize(bool used=true)
ConstCorrectionIt undoCorrBegin(unsigned int gain) const
get iterator over the Undo-Vector for a certain gain
const LArOnlineID_Base * m_onlineId
NTuple::Item< long > m_oflChanId
Gaudi::Property< bool > m_realgeom
bool fillFromIdentifier(const HWIdentifier &id)
DataObjIDColl m_extendedExtraObjects
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
NTuple::Item< float > m_FEBTemp2
#define ATH_MSG_WARNING(x)
NTuple::Item< float > m_reta
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
Gaudi::Property< bool > m_isSC
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
StoreGateSvc * m_detStore
NTuple::Item< long > m_chanHash
SG::ReadCondHandleKey< LArCalibLineMapping > m_calibMapSCKey
const LArHEC_Base_ID * m_hecId
NTuple::Item< long > m_calibLine
constexpr int pow(int base, int exp) noexcept
SG::ReadCondHandleKey< ILArRamp > m_rampKey
int region(const Identifier id) const
return region [0,1]
bool is_lar_em(Identifier id) const
NTuple::Item< long > m_FT
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Exception class for LAr Identifiers.
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
const CaloCell_Base_ID * m_caloId
Gaudi::Property< bool > m_OffId
Proxy for accessing a range of float values like a vector.
float phi_raw() const
cell phi_raw
bool correctionsApplied() const
Have corrections been applied?
int phi(const Identifier id) const
return phi[0,63] outer part [0,31] inner part
NTuple::Item< long > m_channel
const LArEM_Base_ID * m_emId