|
ATLAS Offline Software
|
#include <LArPhysWavePredictor.h>
|
| LArPhysWavePredictor (const std::string &name, ISvcLocator *pSvcLocator) |
|
| ~LArPhysWavePredictor () |
|
StatusCode | initialize () |
|
StatusCode | execute () |
|
StatusCode | stop () |
|
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 |
|
|
SG::ReadCondHandleKey< LArBadChannelCont > | m_BCKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
|
SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKeySC {this,"ScCablingKey","LArOnOffIdMapSC","SG Key of SC LArOnOffIdMapping object"} |
|
LArBadChannelMask | m_bcMask |
|
Gaudi::Property< std::vector< std::string > > | m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"} |
|
const LArOnlineID_Base * | m_onlineHelper =nullptr |
|
const CaloCell_Base_ID * | m_caloCellId =nullptr |
|
bool | m_testmode |
|
bool | m_storeEmpty |
|
bool | m_dumpMphysMcali |
|
bool | m_normalizeCali |
|
bool | m_isSC |
|
std::vector< std::string > | m_keyCali |
|
std::string | m_keyPhys |
|
std::string | m_keyMphysMcali |
|
std::string | m_keyIdealPhys |
|
std::string | m_keyFcal |
|
std::string | m_groupingType |
|
bool | m_useJOCaliPulseParams |
|
double | m_Tcali |
|
double | m_Fstep |
|
bool | m_useJODetCellParams |
|
double | m_Omega0 |
|
double | m_Taur |
|
bool | m_isHEC |
|
bool | m_useJOTdrift |
|
std::vector< double > | m_Tdrift |
|
bool | m_doubleTriangle |
|
std::vector< double > | m_Tdrift2 |
|
std::vector< double > | m_wTriangle2 |
|
bool | m_useJOPhysCaliTdiff |
|
int | m_timeShiftByIndex |
|
bool | m_timeShiftByHelper |
|
bool | m_timeShiftByLayer |
|
std::vector< unsigned int > | m_TshiftLayer |
|
bool | m_timeShiftByFEB |
|
int | m_timeShiftGuardRegion |
|
DataObjIDColl | m_extendedExtraObjects |
|
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 |
|
Definition at line 26 of file LArPhysWavePredictor.h.
◆ StoreGateSvc_t
◆ LArPhysWavePredictor()
LArPhysWavePredictor::LArPhysWavePredictor |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
Definition at line 48 of file LArPhysWavePredictor.cxx.
82 double default_Tdrift[4] = { 420 , 475 , 475 , 475 } ;
83 for (
unsigned i=0;
i<4;
i++)
m_Tdrift.push_back(default_Tdrift[
i]);
86 double default_Tdrift2[4] = { 1200. , 1200. , 1200. , 1200. } ;
87 for (
unsigned i=0;
i<4;
i++)
m_Tdrift2.push_back(default_Tdrift2[
i]);
90 double default_wTriangle2[4] = { 0.01 , 0.01 , 0.01 , 0.01 } ;
105 unsigned int default_TshiftLayer[4] = { 0 , 0 , 0 , 0 } ;
◆ ~LArPhysWavePredictor()
LArPhysWavePredictor::~LArPhysWavePredictor |
( |
| ) |
|
|
default |
◆ 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 LArPhysWavePredictor::execute |
( |
| ) |
|
|
inline |
◆ 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();
◆ finalize()
StatusCode LArPhysWavePredictor::finalize |
( |
| ) |
|
|
inline |
◆ initialize()
StatusCode LArPhysWavePredictor::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()
◆ notFoundMsg()
Definition at line 731 of file LArPhysWavePredictor.cxx.
737 <<
", gain = " <<
gain <<
". Will use jobO setting." ) ;
742 const std::string badChanStatus=packer.
stringStatus(bc);
745 <<
", gain = " <<
gain <<
" BC status=[" << badChanStatus <<
"]. Will use jobO setting." );
◆ 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 LArPhysWavePredictor::stop |
( |
| ) |
|
Definition at line 167 of file LArPhysWavePredictor.cxx.
182 ToolHandle<LArPhysWaveTool> larPhysWaveTool(
"LArPhysWaveTool");
184 if (
sc!=StatusCode::SUCCESS) {
190 ToolHandle<LArPhysWaveHECTool> larPhysWaveHECTool(
"LArPhysWaveHECTool");
192 sc=larPhysWaveHECTool.retrieve();
193 if (
sc!=StatusCode::SUCCESS) {
206 return StatusCode::FAILURE;
213 return StatusCode::FAILURE;
224 sc =
detStore()->retrieve(larCaliPulseParams);
225 if (
sc == StatusCode::FAILURE ) {
229 ATH_MSG_INFO(
"LArCaliPulseParams successfully retrieved" ) ;
236 if (
sc == StatusCode::FAILURE ) {
240 ATH_MSG_INFO(
"LArDetCellParams successfully retrieved" );
249 if (
sc == StatusCode::FAILURE ) {
253 ATH_MSG_INFO(
"LArTdriftComplete successfully retrieved" );
259 if (
sc == StatusCode::FAILURE ) {
263 ATH_MSG_INFO(
"LArPhysCaliTdiff successfully retrieved" );
270 ATH_MSG_INFO(
"Will use helper class for start time." );
281 ATH_MSG_INFO(
"Manually shifting pulses by *layer-dependent* time indexes." );
285 ATH_MSG_INFO(
"Manually shifting pulses by *FEB* time indexes." );
288 larFebTshift =
nullptr;
296 if (
sc.isFailure() || !fcalPhysWaves) {
300 ATH_MSG_INFO(
"LArPhysWave fro FCAL successfully retrieved" );
307 std::unique_ptr<LArPhysWaveContainer> larPhysWaveContainer = std::make_unique<LArPhysWaveContainer>();
310 if (
sc.isFailure()) {
311 ATH_MSG_ERROR(
"Failed to set groupingType for LArPhysWaveContainer object" );
316 if (
sc.isFailure()) {
317 ATH_MSG_ERROR(
"Failed initialize LArPhysWaveContainer object" );
322 std::unique_ptr<LArMphysOverMcalComplete>
MphysOverMcalComplete = std::make_unique<LArMphysOverMcalComplete>();
324 if (
sc.isFailure()) {
325 ATH_MSG_ERROR(
"Failed to set groupingType for LArMphysOverMcalComplete object" );
330 if (
sc.isFailure()) {
331 ATH_MSG_ERROR(
"Failed initialize LArMphysOverMcalComplete object" );
337 f = fopen(
"MphysOverMcali.dat",
"w");
338 fprintf(
f,
"# Region Layer Eta Phi Gain MphysMcali\n");
340 FileCloser fcloser (
f);
342 std::vector<int> nTotal;
343 std::vector<int> noTcali;
344 std::vector<int> noFstep;
345 std::vector<int> noOmega0;
346 std::vector<int> noTaur;
347 std::vector<int> noTdrift;
348 std::vector<int> noTdiff;
351 for (
unsigned i=0;
i<maxgain; ++
i ) {
353 noTcali.push_back(0);
354 noFstep.push_back(0);
355 noOmega0.push_back(0);
357 noTdrift.push_back(0);
358 noTdiff.push_back(0);
380 if (
sc.isFailure()) {
384 if ( caliWaveContainer ==
nullptr ) {
389 ATH_MSG_INFO(
"Processing LArCaliWaveContainer from StoreGate, key = " <<
key );
393 ATH_MSG_INFO(
"Now processing gain = " <<
gain <<
" in LArCaliWaveContainer with key = " <<
key );
398 const_iterator itVec = caliWaveContainer->
begin(
gain);
399 const_iterator itVec_e = caliWaveContainer->
end(
gain);
400 for (; itVec != itVec_e; ++itVec) {
405 << std::hex << itVec.channelId().get_identifier32().get_compact() << std::dec);
411 id =
cabling->cnvToIdentifier(chid);
413 ATH_MSG_ERROR(
"LArCabling exception caught for channel 0x" << MSG::hex << chid << MSG::dec
414 <<
". Skipping channel." ) ;
421 if ( nchannel < 100 || ( nchannel < 1000 && nchannel%100==0 ) || nchannel%1000==0 )
422 ATH_MSG_INFO(
"Processing calibration waveform number " << nchannel );
427 fcalw = fcalPhysWaves->
get(chid,0);
431 std::vector<double> amp;
433 const std::vector<double>& fvec = fcalw.
getWave();
434 std::copy(fvec.begin(), fvec.end(), amp.begin());
450 ATH_MSG_VERBOSE(
"Predicting physics waveform for channel 0x" << MSG::hex << chid << MSG::dec
451 <<
" (gain = " <<
gain <<
" - DAC = " << larCaliWave.getDAC() <<
")");
457 if ( !
cabling->isOnlineConnected(chid) ) {
458 ATH_MSG_VERBOSE(
"Unconnected channel 0x" << MSG::hex << chid << MSG::dec
459 <<
". Skipping channel.");
473 Tcali = larCaliPulseParams->
Tcal(chid,
gain) ;
480 Fstep = larCaliPulseParams->
Fstep(chid,
gain) ;
493 Omega0 = larDetCellParams->
Omega0(chid,
gain) ;
499 Taur = larDetCellParams->
Taur(chid,
gain) ;
512 Tdrift = larTdrift->
Tdrift(chid) ;
544 Tdiff = larWaveHelper.
getStart(theLArCaliWave) ;
561 float Tshaper = 15. ;
562 float Amplitude = 1. ;
563 LArWFParams wfParams(Tcali,Fstep,Tdrift,Omega0,Taur,Tshaper,Amplitude);
564 wfParams.setFlag( 0 ) ;
565 wfParams.setTdiff(Tdiff);
567 ATH_MSG_VERBOSE(
"wfParams: " << Tcali <<
" " <<Fstep<<
" " <<Tdrift<<
" "<<Omega0<<
" "<<Taur<<
" "<<Tdiff<<
" "<<
layer<<
" "<<region );
572 double peak = theLArCaliWave.
getSample(larWaveHelper.
getMax(theLArCaliWave));
573 ATH_MSG_VERBOSE(
"Channel 0x" << MSG::hex << chid << MSG::dec <<
" -> Applying normalisation (CaliWave peak = " << peak <<
")");
577 theLArCaliWave =
LArCaliWave( (theLArCaliWave*(1./peak)).getWave(),
580 theLArCaliWave.
getDt(),
600 sc = larPhysWaveHECTool->makeLArPhysWaveHEC(wfParams,theLArCaliWave,larPhysWave,laridealPhysWave,MphysMcali,chid,
gain,
LArWaveFlag);
606 sc = larPhysWaveTool->makeLArPhysWave(wfParams,theLArCaliWave,region,
layer,larPhysWave,MphysMcali);
608 if (
sc.isFailure()) {
621 sc = larPhysWaveTool->makeLArPhysWave(wfParams2,theLArCaliWave,region,
layer,larPhysWave2,MphysMcali2);
622 if (
sc.isFailure()) {
623 ATH_MSG_FATAL(
"Cannot predict LArPhysWave for channel 0x" << MSG::hex << chid << MSG::dec <<
"with double triangle." );
632 ATH_MSG_WARNING(
"Double triangle implemented only for EMB, skip channel!" ) ;
638 ATH_MSG_DEBUG(
"Time shift for channel " << (itVec.channelId()).get_compact() <<
" is "
639 << Tdiff <<
" samples (" << Tdiff*larPhysWave.
getDt() <<
" ns)");
650 if (MphysMcali<=0.) {
653 ATH_MSG_VERBOSE(
"Channel 0x" << MSG::hex << chid << MSG::dec <<
" -> Mphys/Mcali = " << MphysMcali);
659 fprintf(
f ,
"%2d %2d %3d %3d %2u %8.3f \n", region,
layer,
eta,
phi,
gain, MphysMcali ) ;
672 ATH_MSG_INFO(
" Summary : Number of cells with a PhysWave values computed : " << NPhysWave );
673 ATH_MSG_INFO(
" Summary : Number of cells with a MphysOverMcal values computed : " << NMPMC );
674 ATH_MSG_INFO(
" Summary : Number of Barrel PS cells side A or C (connected+unconnected): 3904+ 192 " );
675 ATH_MSG_INFO(
" Summary : Number of Barrel cells side A or C (connected+unconnected): 50944+2304 " );
676 ATH_MSG_INFO(
" Summary : Number of EMEC cells side A or C (connected+unconnected): 31872+3456 " );
677 ATH_MSG_INFO(
" Summary : Number of HEC cells side A or C (connected+unconnected): 2816+ 256 " );
678 ATH_MSG_INFO(
" Summary : Number of FCAL cells side A or C (connected+unconnected): 1762+ 30 " );
689 ATH_MSG_INFO(
"\t" << noTcali[theGain] <<
" / " << nTotal[theGain] <<
" channel(s) missing Tcali" );
690 ATH_MSG_INFO(
"\t" << noFstep[theGain] <<
" / " << nTotal[theGain] <<
" channel(s) missing Fstep" );
693 ATH_MSG_INFO(
"\t" << noOmega0[theGain] <<
" / " << nTotal[theGain] <<
" channel(s) missing Omega0" );
694 ATH_MSG_INFO(
"\t" << noTaur[theGain] <<
" / " << nTotal[theGain] <<
" channel(s) missing Taur" );
697 ATH_MSG_INFO(
"\t" << noTdrift[theGain] <<
" / " << nTotal[theGain] <<
" channel(s) missing Tdrift" );
699 ATH_MSG_INFO(
"\t" << noTdiff[theGain] <<
" / " << nTotal[theGain] <<
" channel(s) missing Tdiff" );
705 if (
sc.isFailure()) {
707 return StatusCode::FAILURE;
712 if (
sc.isFailure()) {
714 return StatusCode::FAILURE;
718 ATH_MSG_DEBUG(
"Trying to symlink ILArMphysOverMcal with LArMphysOverMcalComplete...");
720 if (
sc.isFailure()) {
721 ATH_MSG_FATAL(
"Could not symlink ILArMphysOverMcal with LArMphysOverMcalComplete." );
722 return StatusCode::FAILURE;
724 ATH_MSG_INFO(
"ILArMphysOverMcal symlink with LArMphysOverMcalComplete successfully" ) ;
728 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_BCKey
◆ m_bcMask
◆ m_cablingKey
◆ m_cablingKeySC
◆ m_caloCellId
◆ m_detStore
◆ m_doubleTriangle
bool LArPhysWavePredictor::m_doubleTriangle |
|
private |
◆ m_dumpMphysMcali
bool LArPhysWavePredictor::m_dumpMphysMcali |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_Fstep
double LArPhysWavePredictor::m_Fstep |
|
private |
◆ m_groupingType
std::string LArPhysWavePredictor::m_groupingType |
|
private |
◆ m_isHEC
bool LArPhysWavePredictor::m_isHEC |
|
private |
◆ m_isSC
bool LArPhysWavePredictor::m_isSC |
|
private |
◆ m_keyCali
std::vector<std::string> LArPhysWavePredictor::m_keyCali |
|
private |
◆ m_keyFcal
std::string LArPhysWavePredictor::m_keyFcal |
|
private |
◆ m_keyIdealPhys
std::string LArPhysWavePredictor::m_keyIdealPhys |
|
private |
◆ m_keyMphysMcali
std::string LArPhysWavePredictor::m_keyMphysMcali |
|
private |
◆ m_keyPhys
std::string LArPhysWavePredictor::m_keyPhys |
|
private |
◆ m_normalizeCali
bool LArPhysWavePredictor::m_normalizeCali |
|
private |
◆ m_Omega0
double LArPhysWavePredictor::m_Omega0 |
|
private |
◆ m_onlineHelper
◆ m_problemsToMask
Gaudi::Property<std::vector<std::string> > LArPhysWavePredictor::m_problemsToMask {this,"ProblemsToMask",{}, "Bad-Channel categories to mask"} |
|
private |
◆ m_storeEmpty
bool LArPhysWavePredictor::m_storeEmpty |
|
private |
◆ m_Taur
double LArPhysWavePredictor::m_Taur |
|
private |
◆ m_Tcali
double LArPhysWavePredictor::m_Tcali |
|
private |
◆ m_Tdrift
std::vector<double> LArPhysWavePredictor::m_Tdrift |
|
private |
◆ m_Tdrift2
std::vector<double> LArPhysWavePredictor::m_Tdrift2 |
|
private |
◆ m_testmode
bool LArPhysWavePredictor::m_testmode |
|
private |
◆ m_timeShiftByFEB
bool LArPhysWavePredictor::m_timeShiftByFEB |
|
private |
◆ m_timeShiftByHelper
bool LArPhysWavePredictor::m_timeShiftByHelper |
|
private |
◆ m_timeShiftByIndex
int LArPhysWavePredictor::m_timeShiftByIndex |
|
private |
◆ m_timeShiftByLayer
bool LArPhysWavePredictor::m_timeShiftByLayer |
|
private |
◆ m_timeShiftGuardRegion
int LArPhysWavePredictor::m_timeShiftGuardRegion |
|
private |
◆ m_TshiftLayer
std::vector<unsigned int> LArPhysWavePredictor::m_TshiftLayer |
|
private |
◆ m_useJOCaliPulseParams
bool LArPhysWavePredictor::m_useJOCaliPulseParams |
|
private |
◆ m_useJODetCellParams
bool LArPhysWavePredictor::m_useJODetCellParams |
|
private |
◆ m_useJOPhysCaliTdiff
bool LArPhysWavePredictor::m_useJOPhysCaliTdiff |
|
private |
◆ m_useJOTdrift
bool LArPhysWavePredictor::m_useJOTdrift |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_wTriangle2
std::vector<double> LArPhysWavePredictor::m_wTriangle2 |
|
private |
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
const LArOnlineID_Base * m_onlineHelper
virtual const float & Tdiff(const HWIdentifier &id, int gain) const =0
int m_timeShiftGuardRegion
Gaudi::Property< std::vector< std::string > > m_problemsToMask
void setPdata(const HWIdentifier id, const T &payload, unsigned int gain=0)
put payload in persistent data
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
Scalar phi() const
phi method
size_t getSize() const
number of time samples
unsigned getStart(const LArWave &theWave) const
unsigned getFlag() const
flag: ...
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual float TimeOffset(const HWIdentifier fId) const =0
const std::vector< double > & getWave() const
Wave parameters.
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
bool m_useJOPhysCaliTdiff
Declaration of const iterator.
void setTdrift(double tdrift)
const double & getDt() const
delta time
LArWave translate(const LArWave &theWave, int nShift, double baseline=0.) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
std::vector< SG::VarHandleKeyArray * > m_vhka
StatusCode buildBitMask(const std::vector< std::string > &problemsToMask, MsgStream &msg)
int getDAC() const
DAC value.
std::string m_groupingType
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
unsigned int getMax(const LArWave &theWave) const
return index of maximum sample
bool cellShouldBeMasked(const LArBadChannelCont *bcCont, const HWIdentifier &hardwareId) const
virtual const float & Tcal(const HWIdentifier &id, int gain) const =0
value_type get_compact() const
Get the compact id.
std::vector< double > m_wTriangle2
Liquid Argon Physics Wave Container.
Liquid Argon Cumulative Wave Container.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
int getIsPulsedInt() const
isPulsed value
virtual const float & Fstep(const HWIdentifier &id, int gain) const =0
const CaloCell_Base_ID * m_caloCellId
unsigned int totalNumberOfConditions() const
Statistics: total number of conditions.
bool isFCALchannel(const HWIdentifier id) const
const double & getSample(const unsigned int i) const
Amplitude per time bin.
bool m_useJODetCellParams
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
ConstConditionsMapIterator end(unsigned int gain) const
end of all channels for this gain
Helper class for offline supercell identifiers.
virtual bool isHECchannel(const HWIdentifier id) const =0
virtual const float & Omega0(const HWIdentifier &id, int gain) const =0
int sampling(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< LArBadChannelCont > m_BCKey
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
void notFoundMsg(const HWIdentifier chid, const int gain, const char *value)
Default, invalid implementation of ClassID_traits.
int eta(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
virtual const float & Tdrift(const HWIdentifier &id) const =0
std::string m_keyMphysMcali
Helper class for offline cell identifiers.
std::string m_keyIdealPhys
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
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
LArBadChannelMask m_bcMask
Helper for the Liquid Argon Calorimeter cell identifiers.
StatusCode initialize(bool used=true)
int phi(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
std::vector< double > m_Tdrift2
virtual const float & Taur(const HWIdentifier &id, int gain) const =0
std::string stringStatus(const LArBadChannel &bc) const
DataObjIDColl m_extendedExtraObjects
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
std::vector< double > m_Tdrift
std::vector< std::string > m_keyCali
virtual StatusCode initialize()
Initialization done after creation or read back - derived classes may augment the functionality.
#define ATH_MSG_WARNING(x)
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
ConstConditionsMapIterator begin(unsigned int gain) const
get iterator for all channels for a gain
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
bool m_useJOCaliPulseParams
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
void setFlag(const unsigned flag)
set flag
AthAlgorithm()
Default constructor:
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
Helper base class for offline cell identifiers.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Exception class for LAr Identifiers.
std::vector< unsigned int > m_TshiftLayer
const std::vector< double > & getErrors() const
error vector
const std::vector< int > & getTriggers() const
trigger vector