|
ATLAS Offline Software
|
#include <LArWFParamTool.h>
|
| LArWFParamTool (const std::string &type, const std::string &name, const IInterface *parent) |
|
virtual | ~LArWFParamTool () |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | finalize () |
|
StatusCode | getLArWaveParams (const LArCaliWave &larCaliWave, const HWIdentifier chid, const CaloGain::CaloGain gain, LArWFParams &wfParams, const LArOnOffIdMapping *cabling, std::optional< LArCaliWave > &omegaScan, std::optional< LArCaliWave > &resOscill0, std::optional< LArCaliWave > &resOscill1) const |
|
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 | sysInitialize () override |
| Perform system initialization for an algorithm. 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 |
|
|
WaveTiming_t | timeExtr (LArWave &gCali) const |
|
double | expTail (const LArWave &gCali, const WaveTiming_t &wt) const |
|
StatusCode | GetFstep (const LArWave &gCali, LArWFParams &wfParams, const WaveTiming_t &wt) const |
|
double | fstepMin (const LArWave &gCali, double fstep, const double Tc, const unsigned Ttail) const |
|
double | dFstep (const LArWave &gCali, const double fstep, const double Tc, const unsigned Ttail) const |
|
LArWave | dstepRespDfstep (const LArWave &gCali, const double &fstep, const double &Tc) const |
|
StatusCode | RTM_Omega0 (const LArWave &gCali, const HWIdentifier chid, LArWFParams &wfParams, const WaveTiming_t &wt, const LArOnOffIdMapping *cabling, std::optional< LArCaliWave > &omegaScan) const |
|
StatusCode | RTM_Taur (const LArWave &gCali, LArWFParams &wfParams, const WaveTiming_t &wt) const |
|
double | logChi2CosRespShaper (const double omega, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &range) const |
|
double | logChi2InjRespRes (const double taur, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &range) const |
|
LArWave | cosRespShaper (const LArWave &gCali, const double &fstep, const double &tcal, const double &w, const double &tsh) const |
|
double | omega0MinNum (double omegaMin, double omegaMax, const double tol, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &) const |
|
double | taurMinNum (const double taurmin, const double taurmax, const double tol, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &) const |
|
double | fminbr (double a, double b, const double tol, double(LArWFParamTool::*f)(double, const LArWave &, const LArWFParams &, const waveRange_t &) const, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &range) const |
|
unsigned | checkStatus (const LArCaliWave &larCaliWave) const |
|
omegaScanParams_t | OmegaScanHelper (const Identifier id, const WaveTiming_t &wt) const |
|
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...
|
|
|
static LArWave | stepResp (const LArWave &gCali, const double fstep, const double Tc) |
|
static LArWave | stepCorr (const LArWave &gCali, const double &fstep, const double &Tc) |
|
static double | dstepCorrDfstep (const double t, const double &fstep, const double &Tc) |
|
static LArWave | dstepCorrDfstep (const LArWave &gCali, const double &fstep, const double &Tcal) |
|
static LArWave | cosResp (const LArWave &gCali, const double &fstep, const double &tcal, const double &omega) |
|
static LArWave | injRespRes (const LArWave &w, const double omega0, const double taur) |
|
static LArWave | injCorr (const unsigned N, const double dt, const double omega0, const double taur) |
|
static LArWave | cosCorr (const unsigned N, const double dt, const double fstep, const double tcal, const double omega) |
|
Definition at line 28 of file LArWFParamTool.h.
◆ StoreGateSvc_t
◆ anonymous enum
Enumerator |
---|
FailExtract | |
DoExtract | |
DefaultNotSet | |
Definition at line 33 of file LArWFParamTool.h.
◆ anonymous enum
Enumerator |
---|
OK | |
TooShort | |
NotFilled | |
LowStat | |
Noisy | |
Oscillating | |
Definition at line 68 of file LArWFParamTool.h.
◆ LArWFParamTool()
LArWFParamTool::LArWFParamTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
Definition at line 36 of file LArWFParamTool.cxx.
45 declareInterface<LArWFParamTool>(
this);
53 int default_deltattail[3] = { 100, 50, 0 } ;
54 for (
unsigned i=0;
i<3; ++
i )
60 int default_ttailmin[4] = { 0, 0, 0, 0 };
61 int default_ttailmax[4] = { 0, 0, 0, 0 };
62 for (
unsigned i=0;
i<4; ++
i ) {
71 bool defaults[4] = { false , true , false ,
true } ;
72 for (
unsigned i=0 ;
i<4 ; ++
i )
81 float default_omegamin[4] = { 0.01 , 0.10 , 0.10 , 0.10 };
82 float default_omegamax[4] = { 1.00 , 0.33 , 0.20 , 0.33 };
83 unsigned default_npoints[4] = { 100 , 100 , 100 , 100 };
87 for (
unsigned i=0 ;
i<4 ; ++
i ) {
◆ ~LArWFParamTool()
LArWFParamTool::~LArWFParamTool |
( |
| ) |
|
|
virtualdefault |
◆ checkStatus()
Definition at line 979 of file LArWFParamTool.cxx.
993 const unsigned range = 2 ;
996 double maxSample = -9.E+10 ;
1007 if ( thisSample > maxSample ) maxSample = thisSample ;
1010 double loc_tremble = 0 ;
1012 double delta = thisSample - larCaliWave.
getSample(
k) ;
1013 loc_tremble += delta*delta;
1014 if ( delta < 0 )
max = false ;
1016 if (
max ) nMax ++ ;
1017 tremble += loc_tremble / (2*
range) ;
1020 if ( sqrt(tremble/
length)/maxSample > 0.1 ) {
◆ cosCorr()
Definition at line 737 of file LArWFParamTool.cxx.
739 const double C1=(fstep*fstep-fstep*fstep*fstep)/Tc;
740 const double C2=(fstep+omega*omega*Tc*Tc);
741 const double C3=(fstep-1.)*omega*Tc;
742 const double C4=( fstep*fstep+omega*omega*Tc*Tc );
743 for (
unsigned i=0 ;
i<
N ;
i++ ) {
746 const double p=(C1*
exp(-fstep*
t/Tc) - omega*(C2*
sin(omega*
t) + C3*
cos(omega*
t))) / C4 ;
◆ cosResp()
◆ cosRespShaper()
◆ 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()
◆ dFstep()
◆ dstepCorrDfstep() [1/2]
double LArWFParamTool::dstepCorrDfstep |
( |
const double |
t, |
|
|
const double & |
fstep, |
|
|
const double & |
Tc |
|
) |
| |
|
staticprivate |
◆ dstepCorrDfstep() [2/2]
◆ dstepRespDfstep()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ expTail()
Definition at line 315 of file LArWFParamTool.cxx.
323 const unsigned nAfterMin = 150;
324 const unsigned nBeforeEnd = 125;
325 t1 = wt.Tmin + nAfterMin;
332 if (fitPars.size() == 2 ) {
339 const double Tcal = -1./
A ;
◆ 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
◆ finalize()
virtual StatusCode LArWFParamTool::finalize |
( |
| ) |
|
|
inlinevirtual |
◆ fminbr()
Definition at line 868 of file LArWFParamTool.cxx.
881 const double r = (3.-sqrt(5.0))/2;
883 assert( tol > 0 &&
b >
a );
885 v =
a +
r*(
b-
a); fv = (this->*
f)(v,gCali,wf,waverange);
893 double middle_range = (
a+
b)/2;
898 if( fabs(
x-middle_range) +
range/2 <= 2*tol_act )
902 new_step =
r * (
x<middle_range ?
b-
x :
a-
x );
906 if( fabs(
x-
w) >= tol_act )
923 if( fabs(
p) < fabs(new_step*
q) &&
924 p >
q*(
a-
x+2*tol_act) &&
925 p <
q*(
b-
x-2*tol_act) )
933 if( fabs(new_step) < tol_act ) {
934 if( new_step > (
double)0 )
942 double t =
x + new_step;
943 double ft = (this->*
f)(t,gCali,wf,waverange);
966 else if(
ft<=fv ||
v==
x ||
v==
w )
◆ fstepMin()
double LArWFParamTool::fstepMin |
( |
const LArWave & |
gCali, |
|
|
double |
fstep, |
|
|
const double |
Tc, |
|
|
const unsigned |
Ttail |
|
) |
| const |
|
private |
Definition at line 360 of file LArWFParamTool.cxx.
365 const double dfstep =
dFstep(gCali,fstep,Tc,Ttail) ;
367 if ( niter > 50 || fstep < 0. ) {
371 if ( fabs( dfstep ) <=
m_TINY )
break;
◆ GetFstep()
Definition at line 348 of file LArWFParamTool.cxx.
353 const double fstep1=0.0;
354 const double Tcal=wfParams.
tcal();
357 return StatusCode::SUCCESS ;
◆ getLArWaveParams()
Definition at line 197 of file LArWFParamTool.cxx.
212 WaveTiming_t waveTiming=
timeExtr(gCali);
216 const double Tcal =
expTail(gCali,waveTiming) ;
219 <<
" gain=" << (
int)
gain ) ;
221 return StatusCode::FAILURE;
232 if (
sc.isFailure() ) {
234 <<
" gain=" << (
int)
gain );
245 if (
sc.isFailure() ) {
247 <<
" gain=" << (
int)
gain );
266 if (
sc.isFailure() ) {
268 <<
" gain=" << (
int)
gain ) ;
282 return( StatusCode::SUCCESS );
◆ initialize()
StatusCode LArWFParamTool::initialize |
( |
| ) |
|
|
virtual |
Definition at line 112 of file LArWFParamTool.cxx.
114 std::string layerName[4] = {
"PS" ,
"Strips" ,
"Middle" ,
"Back" } ;
123 ATH_MSG_INFO(
"Cosine response (Omega0) -> Will use OmegaScanHelper() to dynamically select settings" );
136 ATH_MSG_INFO(
"Will use OmegaScanHelper() to dynamically select settings" ) ;
142 return StatusCode::FAILURE ;
180 return StatusCode::FAILURE;
189 return StatusCode::FAILURE;
193 return StatusCode::SUCCESS;
◆ injCorr()
Definition at line 765 of file LArWFParamTool.cxx.
769 const double tau0 = 1./omega0;
770 const double Delta = taur*taur - 4*tau0*tau0;
772 const double sqrtDelta = sqrt(Delta) ;
773 const double taup = 0.5*( taur + sqrtDelta ) ;
774 const double taum = 0.5*( taur - sqrtDelta ) ;
775 for (
unsigned i=0 ;
i<
N ;
i++ ) {
777 w.setSample(
i, (
exp(-
t/taup) -
exp(-
t/taum) ) / (taup - taum));
780 }
else if ( Delta < 0 ) {
781 const double T = sqrt(-Delta) ;
782 const double A = 2 * taur / ( (taur*taur) - Delta ) ;
783 const double B = 2 *
T / ( (taur*taur) - Delta );
784 for (
unsigned i=0 ;
i<
N ;
i++ ) {
790 const double tau = 0.5 * taur ;
792 for (
unsigned i=0 ;
i<
N ;
i++ ) {
794 w.setSample(
i,
exp(-
t/tau) *
t / (tau*tau)) ;
◆ injRespRes()
◆ 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.
◆ interfaceID()
static const InterfaceID& LArWFParamTool::interfaceID |
( |
| ) |
|
|
inlinestatic |
◆ logChi2CosRespShaper()
◆ logChi2InjRespRes()
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ omega0MinNum()
◆ OmegaScanHelper()
Definition at line 498 of file LArWFParamTool.cxx.
500 omegaScanParams_t ret{};
513 ret.DeltaOmega = 0.02 ;
520 ret.range.min = wt.Tstart;
521 ret.range.max = wt.Tcross;
523 ret.omegamin = 0.240;
524 ret.omegamax = 0.330;
529 ret.range.min = wt.Tstart;
530 ret.range.max = wt.Tcross;
531 ret.cosRespScan =
true;
537 ret.omegamin = 0.220;
538 ret.omegamax = 0.310;
547 ret.range.min = wt.Tstart;
549 ret.cosRespScan =
false;
550 ret.omegamin = 0.060;
551 ret.omegamax = 0.215;
556 ret.range.min = wt.Tstart;
557 ret.range.max = wt.Tcross;
558 ret.cosRespScan =
false;
559 ret.omegamin = 0.100;
560 ret.omegamax = 0.700;
574 ret.DeltaOmega = 0.001 ;
580 if ( IsEMECInnerWheel ) {
585 ret.omegamin = 0.12 ;
588 ret.omegamin = 0.12 ;
590 ret.omegamax = 0.16 ;
595 ret.omegamin = 0.14 ;
596 ret.omegamax = 0.18 ;
608 ret.cosRespScan =
true;
613 ret.cosRespScan =
false;
623 ret.cosRespScan =
false;
630 ret.cosRespScan =
true;
634 ret.omegamax = 0.140 ;
637 ret.omegamax = 0.135 ;
640 ret.omegamax = 0.15 ;
647 ret.omegamin = 0.12 ;
648 ret.omegamax = 0.20 ;
651 ret.omegamin = 0.12 ;
652 ret.omegamax = 0.22 ;
655 ret.omegamin = 0.12 ;
656 ret.omegamax = 0.24 ;
659 ret.omegamin = 0.12 ;
660 ret.omegamax = 0.245 ;
664 ret.omegamin = 0.24 ;
665 ret.omegamax = 0.32 ;
668 ret.cosRespScan =
false;
◆ 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()
◆ RTM_Omega0()
Definition at line 426 of file LArWFParamTool.cxx.
434 omegaScanParams_t OSParams{};
437 OSParams.cosRespScan = true ;
438 OSParams.omegamin = 0.01 ;
439 OSParams.omegamax = 1. ;
440 OSParams.Npoint = 100 ;
441 OSParams.DeltaOmega = 0.01 ;
451 OSParams.DeltaOmega = 0.02 ;
457 waveRange_t
range=OSParams.range;
464 if ( OSParams.cosRespScan ){
466 const double dOmega = (OSParams.omegamax-OSParams.omegamin)/OSParams.Npoint;
467 const unsigned vectSize = (
unsigned) ceil ( OSParams.omegamax/dOmega );
469 if (omegaScanWave) omegaScanWave->setSize(vectSize);
471 for (
int i=0;
i<OSParams.Npoint;
i++) {
472 const double omega = OSParams.omegamin+dOmega*
i ;
474 if (omegaScanWave) omegaScanWave->setSample(
i+
indexmin,
chi2);
475 if (
chi2 < chi2min ) {
481 OSParams.omegamin = omega0raw - OSParams.DeltaOmega ;
482 OSParams.omegamax = omega0raw + OSParams.DeltaOmega ;
485 if ( OSParams.omegamin == OSParams.omegamax ) {
494 return StatusCode::SUCCESS ;
◆ RTM_Taur()
Definition at line 683 of file LArWFParamTool.cxx.
690 double taurmax = 100.;
692 if ( wf.omega0()==0) {
694 ATH_MSG_VERBOSE(
"*** Injection point skipped\t--> m_Taur = " << wf.taur() ) ;
713 return StatusCode::SUCCESS ;
◆ stepCorr()
◆ stepResp()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ taurMinNum()
◆ timeExtr()
◆ updateVHKA()
◆ m_cosRespScan
std::vector<bool> LArWFParamTool::m_cosRespScan |
|
private |
◆ m_DEFAULT
const double LArWFParamTool::m_DEFAULT = -1 |
|
staticprivate |
◆ m_DeltaTtail
std::vector<int> LArWFParamTool::m_DeltaTtail |
|
private |
◆ m_detStore
◆ m_emId
◆ m_EPSILON
const double LArWFParamTool::m_EPSILON =2.22045e-16 |
|
staticprivate |
◆ m_evtStore
◆ m_isSC
bool LArWFParamTool::m_isSC |
|
private |
◆ m_NBaseline
unsigned int LArWFParamTool::m_NBaseline |
|
private |
◆ m_npoints
std::vector<unsigned> LArWFParamTool::m_npoints |
|
private |
◆ m_omegamax
std::vector<double> LArWFParamTool::m_omegamax |
|
private |
◆ m_omegamin
std::vector<double> LArWFParamTool::m_omegamin |
|
private |
◆ m_onlineHelper
◆ m_ShiftToStart
bool LArWFParamTool::m_ShiftToStart |
|
private |
◆ m_SQRT_EPSILON
const double LArWFParamTool::m_SQRT_EPSILON =1.49012e-08 |
|
staticprivate |
◆ m_storeResOscill
std::vector<bool> LArWFParamTool::m_storeResOscill |
|
private |
◆ m_SubtractBaseline
bool LArWFParamTool::m_SubtractBaseline |
|
private |
◆ m_TINY
const double LArWFParamTool::m_TINY =2.22045e-16 |
|
staticprivate |
◆ m_Tshaper
double LArWFParamTool::m_Tshaper |
|
private |
◆ m_TtailMax
std::vector<int> LArWFParamTool::m_TtailMax |
|
private |
◆ m_TtailMin
std::vector<int> LArWFParamTool::m_TtailMin |
|
private |
◆ m_UseOmegaScanHelper
bool LArWFParamTool::m_UseOmegaScanHelper |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_wHelper
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
double getSumRegion(const LArWave &theWave, unsigned iFirst, unsigned iLast) const
size_t getSize() const
number of time samples
unsigned getStart(const LArWave &theWave) const
void setTcal(double tcal)
void setFstep(double fstep)
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const std::vector< double > & getWave() const
Wave parameters.
double getBaseline(const LArWave &theWave, unsigned nBase) const
const LArEM_ID * getEM_ID(void) const
std::vector< ALFA_RawDataCollection_p1 > t1
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)
std::vector< SG::VarHandleKeyArray * > m_vhka
value_type get_compact() const
Get the compact id.
int getDAC() const
DAC value.
int sampling(const Identifier id) const
return sampling according to :
#define ATH_MSG_VERBOSE(x)
unsigned int getMax(const LArWave &theWave) const
return index of maximum sample
int eta(const Identifier id) const
return eta according to :
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
void setTshaper(double tsh)
const double & getSample(const unsigned int i) const
Amplitude per time bin.
double getSumTail(const LArWave &theWave, unsigned iFirst) const
This class initializes the Calo (LAr and Tile) offline identifiers.
void setFlag(unsigned flag)
::StatusCode StatusCode
StatusCode definition for legacy code.
void setTaur(double taur)
double getSumSquareRegion(const LArWave &theWave, unsigned iFirst, unsigned iLast) const
double chi2(TH1 *h0, TH1 *h1)
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Helper for the Liquid Argon Calorimeter cell identifiers.
double getSumSquareTail(const LArWave &theWave, unsigned iFirst) const
unsigned getZeroCross(const LArWave &theWave) const
dictionary defaults
This includes now the top quark, the leptons and the bosons.
bool is_em_endcap_inner(const Identifier id) const
test if the id belongs to the EM Endcap inner wheel
std::vector< ALFA_RawDataContainer_p1 > t2
unsigned int getMin(const LArWave &theWave) const
return index of minimum sample
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
void setOmega0(double omega0)
#define ATH_MSG_WARNING(x)
double getError(unsigned i) const
error per time bin
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
const LArEM_SuperCell_ID * getEM_SuperCell_ID(void) const
std::string channel_name(const HWIdentifier id) const
Return a string corresponding to a feedthrough name given an identifier.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
std::vector< double > expfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, double &rho) const
int getTrigger(unsigned i) const
trigger per time bin