|
ATLAS Offline Software
|
Go to the documentation of this file.
63 double peak = gCaliMB.getSample( wHelper.
getMax(gCaliMB) ) ;
68 gCaliMB = gCaliMB * (1./peak) ;
93 int deltaRespDAC = -3 ;
125 return ((fstep*fstep-fstep)/(Tc*Tc)) *
exp( -fstep*
t/Tc );
143 double Delta =
pow(taur,2.) -
pow(2*tau0,2.) ;
145 double sqrtDelta = sqrt(Delta) ;
146 double taup = 0.5*( taur + sqrtDelta ) ;
147 double taum = 0.5*( taur - sqrtDelta ) ;
148 return (
exp(-
t/taup) -
exp(-
t/taum) ) / ( taup - taum ) ;
149 }
else if ( Delta < 0 ) {
150 double T = sqrt(-Delta) ;
151 double A = 2 * taur / (
pow(taur,2.) - Delta ) ;
152 double B = 2 *
T / (
pow(taur,2.) - Delta ) ;
155 double tau = 0.5 * taur ;
156 return exp(-
t/tau) *
t /
pow(tau,2.) ;
159 double taur2 = taur*taur, tau02 = tau0*tau0 ;
160 double taua = sqrt( 4.*tau02 - taur2 );
161 return (2./taua)*
exp(-
t*taur/(2.*tau02))*
sin(
t*taua/(2.*tau02));
size_t getSize() const
number of time samples
unsigned getStart(const LArWave &theWave) const
unsigned getFlag() const
flag: ...
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 double & getDt() const
delta time
LArWave translate(const LArWave &theWave, int nShift, double baseline=0.) const
#define ATH_MSG_VERBOSE(x)
unsigned int getMax(const LArWave &theWave) const
return index of maximum sample
int getIsPulsedInt() const
isPulsed value
#define ATH_MSG_WARNING(x)
LArWave derive_smooth(const LArWave &theWave) const
smoothed derivative
constexpr int pow(int base, int exp) noexcept