 |
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, V, H > &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, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &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 975 of file LArWFParamTool.cxx.
989 const unsigned range = 2 ;
992 double maxSample = -9.E+10 ;
1003 if ( thisSample > maxSample ) maxSample = thisSample ;
1006 double loc_tremble = 0 ;
1008 double delta = thisSample - larCaliWave.
getSample(
k) ;
1009 loc_tremble += delta*delta;
1010 if ( delta < 0 )
max = false ;
1012 if (
max ) nMax ++ ;
1013 tremble += loc_tremble / (2*
range) ;
1016 if ( sqrt(tremble/
length)/maxSample > 0.1 ) {
◆ cosCorr()
Definition at line 733 of file LArWFParamTool.cxx.
735 const double C1=(fstep*fstep-fstep*fstep*fstep)/Tc;
736 const double C2=(fstep+omega*omega*Tc*Tc);
737 const double C3=(fstep-1.)*omega*Tc;
738 const double C4=( fstep*fstep+omega*omega*Tc*Tc );
739 for (
unsigned i=0 ;
i<
N ;
i++ ) {
742 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 311 of file LArWFParamTool.cxx.
319 const unsigned nAfterMin = 150;
320 const unsigned nBeforeEnd = 125;
321 t1 = wt.Tmin + nAfterMin;
328 if (fitPars.size() == 2 ) {
335 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 864 of file LArWFParamTool.cxx.
877 const double r = (3.-sqrt(5.0))/2;
879 assert( tol > 0 &&
b >
a );
881 v =
a +
r*(
b-
a); fv = (this->*
f)(v,gCali,wf,waverange);
889 double middle_range = (
a+
b)/2;
894 if( fabs(
x-middle_range) +
range/2 <= 2*tol_act )
898 new_step =
r * (
x<middle_range ?
b-
x :
a-
x );
902 if( fabs(
x-
w) >= tol_act )
919 if( fabs(
p) < fabs(new_step*
q) &&
920 p >
q*(
a-
x+2*tol_act) &&
921 p <
q*(
b-
x-2*tol_act) )
929 if( fabs(new_step) < tol_act ) {
930 if( new_step > (
double)0 )
938 double t =
x + new_step;
939 double ft = (this->*
f)(t,gCali,wf,waverange);
957 if(
ft <= fw ||
w==
x )
962 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 356 of file LArWFParamTool.cxx.
361 const double dfstep =
dFstep(gCali,fstep,Tc,Ttail) ;
363 if ( niter > 50 || fstep < 0. ) {
367 if ( fabs( dfstep ) <=
m_TINY )
break;
◆ GetFstep()
Definition at line 344 of file LArWFParamTool.cxx.
349 const double fstep1=0.0;
350 const double Tcal=wfParams.
tcal();
353 return StatusCode::SUCCESS ;
◆ getLArWaveParams()
Definition at line 193 of file LArWFParamTool.cxx.
208 WaveTiming_t waveTiming=
timeExtr(gCali);
212 const double Tcal =
expTail(gCali,waveTiming) ;
215 <<
" gain=" << (
int)
gain ) ;
217 return StatusCode::FAILURE;
228 if (
sc.isFailure() ) {
230 <<
" gain=" << (
int)
gain );
241 if (
sc.isFailure() ) {
243 <<
" gain=" << (
int)
gain );
262 if (
sc.isFailure() ) {
264 <<
" gain=" << (
int)
gain ) ;
278 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 ;
176 return StatusCode::FAILURE;
185 return StatusCode::FAILURE;
189 return StatusCode::SUCCESS;
◆ injCorr()
Definition at line 761 of file LArWFParamTool.cxx.
765 const double tau0 = 1./omega0;
766 const double Delta = taur*taur - 4*tau0*tau0;
768 const double sqrtDelta = sqrt(Delta) ;
769 const double taup = 0.5*( taur + sqrtDelta ) ;
770 const double taum = 0.5*( taur - sqrtDelta ) ;
771 for (
unsigned i=0 ;
i<
N ;
i++ ) {
773 w.setSample(
i, (
exp(-
t/taup) -
exp(-
t/taum) ) / (taup - taum));
776 }
else if ( Delta < 0 ) {
777 const double T = sqrt(-Delta) ;
778 const double A = 2 * taur / ( (taur*taur) - Delta ) ;
779 const double B = 2 *
T / ( (taur*taur) - Delta );
780 for (
unsigned i=0 ;
i<
N ;
i++ ) {
786 const double tau = 0.5 * taur ;
788 for (
unsigned i=0 ;
i<
N ;
i++ ) {
790 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 494 of file LArWFParamTool.cxx.
496 omegaScanParams_t ret{};
509 ret.DeltaOmega = 0.02 ;
516 ret.range.min = wt.Tstart;
517 ret.range.max = wt.Tcross;
519 ret.omegamin = 0.240;
520 ret.omegamax = 0.330;
525 ret.range.min = wt.Tstart;
526 ret.range.max = wt.Tcross;
527 ret.cosRespScan =
true;
533 ret.omegamin = 0.220;
534 ret.omegamax = 0.310;
543 ret.range.min = wt.Tstart;
545 ret.cosRespScan =
false;
546 ret.omegamin = 0.060;
547 ret.omegamax = 0.215;
552 ret.range.min = wt.Tstart;
553 ret.range.max = wt.Tcross;
554 ret.cosRespScan =
false;
555 ret.omegamin = 0.100;
556 ret.omegamax = 0.700;
570 ret.DeltaOmega = 0.001 ;
576 if ( IsEMECInnerWheel ) {
581 ret.omegamin = 0.12 ;
584 ret.omegamin = 0.12 ;
586 ret.omegamax = 0.16 ;
591 ret.omegamin = 0.14 ;
592 ret.omegamax = 0.18 ;
604 ret.cosRespScan =
true;
609 ret.cosRespScan =
false;
619 ret.cosRespScan =
false;
626 ret.cosRespScan =
true;
630 ret.omegamax = 0.140 ;
633 ret.omegamax = 0.135 ;
636 ret.omegamax = 0.15 ;
643 ret.omegamin = 0.12 ;
644 ret.omegamax = 0.20 ;
647 ret.omegamin = 0.12 ;
648 ret.omegamax = 0.22 ;
651 ret.omegamin = 0.12 ;
652 ret.omegamax = 0.24 ;
655 ret.omegamin = 0.12 ;
656 ret.omegamax = 0.245 ;
660 ret.omegamin = 0.24 ;
661 ret.omegamax = 0.32 ;
664 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 422 of file LArWFParamTool.cxx.
430 omegaScanParams_t OSParams{};
433 OSParams.cosRespScan = true ;
434 OSParams.omegamin = 0.01 ;
435 OSParams.omegamax = 1. ;
436 OSParams.Npoint = 100 ;
437 OSParams.DeltaOmega = 0.01 ;
447 OSParams.DeltaOmega = 0.02 ;
453 waveRange_t
range=OSParams.range;
460 if ( OSParams.cosRespScan ){
462 const double dOmega = (OSParams.omegamax-OSParams.omegamin)/OSParams.Npoint;
463 const unsigned vectSize = (
unsigned) ceil ( OSParams.omegamax/dOmega );
465 if (omegaScanWave) omegaScanWave->setSize(vectSize);
467 for (
int i=0;
i<OSParams.Npoint;
i++) {
468 const double omega = OSParams.omegamin+dOmega*
i ;
470 if (omegaScanWave) omegaScanWave->setSample(
i+
indexmin,
chi2);
471 if (
chi2 < chi2min ) {
477 OSParams.omegamin = omega0raw - OSParams.DeltaOmega ;
478 OSParams.omegamax = omega0raw + OSParams.DeltaOmega ;
481 if ( OSParams.omegamin == OSParams.omegamax ) {
490 return StatusCode::SUCCESS ;
◆ RTM_Taur()
Definition at line 679 of file LArWFParamTool.cxx.
686 double taurmax = 100.;
688 if ( wf.omega0()==0) {
690 ATH_MSG_VERBOSE(
"*** Injection point skipped\t--> m_Taur = " << wf.taur() ) ;
709 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
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)
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
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.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
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
const std::string & layerName(LayerIndex index)
convert LayerIndex into a string
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.
constexpr int pow(int base, int exp) noexcept
std::vector< double > expfit(const LArWave &theWave, unsigned iFirst, unsigned iLast, double &rho) const
int getTrigger(unsigned i) const
trigger per time bin