ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
ZDCFitExpFermiLHCfPrePulse Class Reference

#include <ZDCFitWrapper.h>

Inheritance diagram for ZDCFitExpFermiLHCfPrePulse:
Collaboration diagram for ZDCFitExpFermiLHCfPrePulse:

Public Member Functions

 ZDCFitExpFermiLHCfPrePulse (const std::string &tag, float tmin, float tmax, float tau1, float tau2)
 
 ~ZDCFitExpFermiLHCfPrePulse ()
 
virtual void DoInitialize (float initialAmp, float initialT0, float ampMin, float ampMax) override
 
virtual void SetT0FitLimits (float tMin, float tMax) override
 
virtual void SetInitialPrePulse (float amp, float t0, float, bool) override
 
virtual void SetPrePulseT0Range (float tmin, float tmax) override
 
virtual void SetPostPulseT0Range (float, float, float) override
 
virtual void ConstrainFit () override
 
virtual void UnconstrainFit () override
 
virtual unsigned int GetPreT0ParIndex () const override
 
virtual float GetAmplitude () const override
 
virtual float GetAmpError () const override
 
virtual float GetTau1 () const override
 
virtual float GetTau2 () const override
 
virtual float GetPreT0 () const override
 
virtual float GetPreAmp () const override
 
virtual float GetPostT0 () const override
 
virtual float GetPostAmp () const override
 
virtual float GetExpAmp () const override
 
virtual float GetTime () const override
 
virtual float GetShapeParameter (size_t index) const override
 
virtual float GetBkgdMaxFraction () const override
 
virtual double operator() (const double *x, const double *p) override
 
void Initialize (float initialAmp, float initialT0, float ampMin, float ampMax)
 
void Initialize (float initialAmp, float initialT0, float ampMin, float ampMax, float fitTmin, float fitTmax, float fitTRef)
 
void SetAmpMinMax (float minAmp, float maxAmp)
 
void SetT0Range (float t0Min, float t0Max)
 
float GetMinAmp () const
 
float GetMaxAmp () const
 
float GetTMin () const
 
float GetTMax () const
 
float GetT0Min () const
 
float GetT0Max () const
 
float GetTMinAdjust () const
 
virtual std::shared_ptr< TF1 > GetWrapperTF1 ()
 
virtual const TF1 * GetWrapperTF1 () const
 
virtual TF1 * GetWrapperTF1RawPtr () const
 

Protected Attributes

float m_preT0Min
 
float m_preT0Max
 

Private Attributes

float m_tau1 {0}
 
float m_tau2 {0}
 
float m_timeCorr {0}
 
double m_preNorm {1.}
 
std::shared_ptr< TF1 > m_expFermiLHCfFunc = 0
 
std::shared_ptr< TF1 > m_expFermiPreFunc = 0
 
std::shared_ptr< TF1 > m_wrapperTF1 {}
 
float m_tmin {0}
 
float m_tmax {0}
 
float m_ampMin {0}
 
float m_ampMax {0}
 
float m_t0Min {0}
 
float m_t0Max {0}
 
bool m_adjTLimitsEvent {false}
 
float m_tminAdjust {0}
 
float m_tempTmin {0}
 
float m_tempTmax {0}
 

Detailed Description

Definition at line 464 of file ZDCFitWrapper.h.

Constructor & Destructor Documentation

◆ ZDCFitExpFermiLHCfPrePulse()

ZDCFitExpFermiLHCfPrePulse::ZDCFitExpFermiLHCfPrePulse ( const std::string &  tag,
float  tmin,
float  tmax,
float  tau1,
float  tau2 
)

Definition at line 564 of file ZDCFitWrapper.cxx.

564  :
565  ZDCPrePulseFitWrapper(std::make_shared<TF1>(("ExpFermiLHCfPrePulse" + tag).c_str(), this, tmin, tmax, 7)),
566  m_tau1(tau1), m_tau2(tau2)
567 {
568  // Create the reference function that we use to evaluate ExpFermiFit more efficiently
569  //
570  std::string funcNameRefFunc = "ExpFermiLHCfPrePulseRefFunc" + tag;
571  std::string funcNamePreFunc = "ExpFermiLHCfPrePulsePreFunc" + tag;
572 
573  m_expFermiLHCfFunc = std::make_shared<TF1>(funcNameRefFunc.c_str(), ZDCFermiExpFitRefl, tmin, tmax, 9);
574  m_expFermiLHCfFunc->SetParameter(0, 1);
575  m_expFermiLHCfFunc->SetParameter(1, 0);
576  m_expFermiLHCfFunc->SetParameter(2, m_tau1);
577  m_expFermiLHCfFunc->SetParameter(3, m_tau2);
578  m_expFermiLHCfFunc->SetParameter(4, 0);
579  m_expFermiLHCfFunc->SetParameter(5, 6.5);
580  m_expFermiLHCfFunc->SetParameter(6, 0.2);
581  m_expFermiLHCfFunc->SetParameter(7, 1.5);
582  m_expFermiLHCfFunc->SetParameter(8, 0.01);
583 
584  m_expFermiPreFunc = std::make_shared<TF1>(funcNamePreFunc.c_str(), ZDCFermiExpFit, tmin, tmax, 9);
585 
586  m_expFermiPreFunc->SetParameter(0, 1);
587  m_expFermiPreFunc->SetParameter(1, 0);
588  m_expFermiPreFunc->SetParameter(2, m_tau1);
589  m_expFermiPreFunc->SetParameter(3, m_tau2);
590  m_expFermiPreFunc->SetParameter(4, 0);
591  m_preNorm = 1. / m_expFermiPreFunc->GetMaximum();
592 
593  // Now set up the actual TF1
594  //
595  std::shared_ptr<TF1> theTF1 = ZDCFitWrapper::GetWrapperTF1();
596 
597  // The actual paerameters we fit
598  //
599  theTF1->SetParName(0, "Amp");
600  theTF1->SetParName(1, "T0");
601  theTF1->SetParName(2, "tau1");
602  theTF1->SetParName(3, "tau2");
603  theTF1->SetParName(4, "Amp_{pre}");
604  theTF1->SetParName(5, "T0_{pre}");
605  theTF1->SetParName(6, "C");
606 
607  // BAC, parameter 0 limits now is set in DoInitialize
608  theTF1->SetParLimits(1, tmin, tmax);
609  theTF1->SetParLimits(2, 1.0, 2);
610  theTF1->SetParLimits(3, 3.5, 5.5);
611  theTF1->SetParLimits(4, 1, 8196); // Increase the upper range to 2 times of ADC range to deal with large exponential tail case of pre-pulse.
612  theTF1->SetParLimits(5, -20, 10);
613  theTF1->SetParLimits(6, -50, 50);
614 
615 }

◆ ~ZDCFitExpFermiLHCfPrePulse()

ZDCFitExpFermiLHCfPrePulse::~ZDCFitExpFermiLHCfPrePulse ( )
inline

Definition at line 478 of file ZDCFitWrapper.h.

478 {}

Member Function Documentation

◆ ConstrainFit()

void ZDCFitExpFermiLHCfPrePulse::ConstrainFit ( )
overridevirtual

Implements ZDCFitWrapper.

Definition at line 617 of file ZDCFitWrapper.cxx.

618 {
619  // We force the constant term and per-pulse amplitude to zero
620  //
621  std::shared_ptr<TF1> theTF1 = GetWrapperTF1();
622 
623  theTF1->FixParameter(4, 0);
624  theTF1->FixParameter(6, 0);
625 }

◆ DoInitialize()

void ZDCFitExpFermiLHCfPrePulse::DoInitialize ( float  initialAmp,
float  initialT0,
float  ampMin,
float  ampMax 
)
overridevirtual

Implements ZDCFitWrapper.

Definition at line 650 of file ZDCFitWrapper.cxx.

651 {
652  GetWrapperTF1()->SetParameter(0, initialAmp);
653  GetWrapperTF1()->SetParameter(1, initialT0);
654  GetWrapperTF1()->SetParameter(2, m_tau1);
655  GetWrapperTF1()->SetParameter(3, m_tau2);
656  GetWrapperTF1()->SetParameter(4, 5);
657  GetWrapperTF1()->SetParameter(5, -10);
658  GetWrapperTF1()->SetParameter(6, 0);
659 
660  GetWrapperTF1()->SetParLimits(0, ampMin, ampMax);
661  // Set parameter errors for fit step size
662  //
663  double ampStep = std::min(0.05*initialAmp, std::abs(ampMax - initialAmp)/2.);
664  GetWrapperTF1()->SetParError(0, ampStep);
665  GetWrapperTF1()->SetParError(1, 1.0);
666  GetWrapperTF1()->SetParError(2, 0.05);
667  GetWrapperTF1()->SetParError(3, 1);
668  GetWrapperTF1()->SetParError(4, 5.0);
669  GetWrapperTF1()->SetParError(5, 1.0);
670  GetWrapperTF1()->SetParError(6, 2.0);
671 }

◆ GetAmpError()

virtual float ZDCFitExpFermiLHCfPrePulse::GetAmpError ( ) const
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 504 of file ZDCFitWrapper.h.

504 {return GetWrapperTF1()->GetParError(0); }

◆ GetAmplitude()

virtual float ZDCFitExpFermiLHCfPrePulse::GetAmplitude ( ) const
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 503 of file ZDCFitWrapper.h.

503 {return GetWrapperTF1()->GetParameter(0); }

◆ GetBkgdMaxFraction()

virtual float ZDCFitExpFermiLHCfPrePulse::GetBkgdMaxFraction ( ) const
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 529 of file ZDCFitWrapper.h.

530  {
531  const TF1* theTF1 = ZDCFitWrapper::GetWrapperTF1();
532 
533  double maxTime = GetTime();
534 
535  double amp = theTF1->GetParameter(0);
536  if (amp <= 0) return 1;
537 
538  double preAmp = theTF1->GetParameter(2);
539  double preT0 = theTF1->GetParameter(3);
540 
541  double deltaTPre = maxTime - preT0;
542  double background = preAmp * m_preNorm * m_expFermiLHCfFunc->operator()(deltaTPre);
543 
544  return background / (amp + background);
545  }

◆ GetExpAmp()

virtual float ZDCFitExpFermiLHCfPrePulse::GetExpAmp ( ) const
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 515 of file ZDCFitWrapper.h.

515 {return 0;}

◆ GetMaxAmp()

float ZDCFitWrapper::GetMaxAmp ( ) const
inlineinherited

Definition at line 87 of file ZDCFitWrapper.h.

87 {return m_ampMax;}

◆ GetMinAmp()

float ZDCFitWrapper::GetMinAmp ( ) const
inlineinherited

Definition at line 86 of file ZDCFitWrapper.h.

86 {return m_ampMin;}

◆ GetPostAmp()

virtual float ZDCFitExpFermiLHCfPrePulse::GetPostAmp ( ) const
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 513 of file ZDCFitWrapper.h.

513 {return 0;}

◆ GetPostT0()

virtual float ZDCFitExpFermiLHCfPrePulse::GetPostT0 ( ) const
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 512 of file ZDCFitWrapper.h.

512 {return 0;}

◆ GetPreAmp()

virtual float ZDCFitExpFermiLHCfPrePulse::GetPreAmp ( ) const
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 510 of file ZDCFitWrapper.h.

510 {return GetWrapperTF1()->GetParameter(3);}

◆ GetPreT0()

virtual float ZDCFitExpFermiLHCfPrePulse::GetPreT0 ( ) const
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 509 of file ZDCFitWrapper.h.

509 {return GetWrapperTF1()->GetParameter(3);}

◆ GetPreT0ParIndex()

virtual unsigned int ZDCFitExpFermiLHCfPrePulse::GetPreT0ParIndex ( ) const
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 501 of file ZDCFitWrapper.h.

501 {return 3;}

◆ GetShapeParameter()

virtual float ZDCFitExpFermiLHCfPrePulse::GetShapeParameter ( size_t  index) const
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 521 of file ZDCFitWrapper.h.

522  {
523  if (index == 0) return m_tau1;
524  else if (index == 1) return m_tau2;
525  else if (index < 5) return GetWrapperTF1()->GetParameter(index);
526  else throw std::runtime_error("Fit parameter does not exist.");
527  }

◆ GetT0Max()

float ZDCFitWrapper::GetT0Max ( ) const
inlineinherited

Definition at line 97 of file ZDCFitWrapper.h.

97  {
98  if (m_adjTLimitsEvent) return m_tempTmax;
99  else return m_t0Max;
100  }

◆ GetT0Min()

float ZDCFitWrapper::GetT0Min ( ) const
inlineinherited

Definition at line 92 of file ZDCFitWrapper.h.

92  {
93  if (m_adjTLimitsEvent) return m_tempTmin;
94  else return m_t0Min;
95  }

◆ GetTau1()

virtual float ZDCFitExpFermiLHCfPrePulse::GetTau1 ( ) const
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 506 of file ZDCFitWrapper.h.

506 {return m_tau1;}

◆ GetTau2()

virtual float ZDCFitExpFermiLHCfPrePulse::GetTau2 ( ) const
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 507 of file ZDCFitWrapper.h.

507 {return m_tau2;}

◆ GetTime()

virtual float ZDCFitExpFermiLHCfPrePulse::GetTime ( ) const
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 517 of file ZDCFitWrapper.h.

517  {
518  return GetWrapperTF1()->GetParameter(1) + m_timeCorr; // Correct the time to the maximum
519  }

◆ GetTMax()

float ZDCFitWrapper::GetTMax ( ) const
inlineinherited

Definition at line 90 of file ZDCFitWrapper.h.

90 {return m_tmax;}

◆ GetTMin()

float ZDCFitWrapper::GetTMin ( ) const
inlineinherited

Definition at line 89 of file ZDCFitWrapper.h.

89 {return m_tmin;}

◆ GetTMinAdjust()

float ZDCFitWrapper::GetTMinAdjust ( ) const
inlineinherited

Definition at line 102 of file ZDCFitWrapper.h.

102 {return m_tminAdjust;}

◆ GetWrapperTF1() [1/2]

virtual std::shared_ptr<TF1> ZDCFitWrapper::GetWrapperTF1 ( )
inlinevirtualinherited

Definition at line 110 of file ZDCFitWrapper.h.

110 {return m_wrapperTF1;}

◆ GetWrapperTF1() [2/2]

virtual const TF1* ZDCFitWrapper::GetWrapperTF1 ( ) const
inlinevirtualinherited

Definition at line 111 of file ZDCFitWrapper.h.

111 {return m_wrapperTF1.get();}

◆ GetWrapperTF1RawPtr()

virtual TF1* ZDCFitWrapper::GetWrapperTF1RawPtr ( ) const
inlinevirtualinherited

Definition at line 112 of file ZDCFitWrapper.h.

112 {return m_wrapperTF1.get();}

◆ Initialize() [1/2]

void ZDCFitWrapper::Initialize ( float  initialAmp,
float  initialT0,
float  ampMin,
float  ampMax 
)
inherited

Definition at line 9 of file ZDCFitWrapper.cxx.

10 {
11  // Clear the errors on the TF1 because retaining the errors seems to affect
12  // the convergence of fits
13  //
14  unsigned int npar = GetWrapperTF1()->GetNpar();
15  std::vector<double> zeroVec(npar, 0.0);
16  GetWrapperTF1()->SetParErrors(&zeroVec[0]);
17 
18  // If we adjusted the time range on the previous event, restore to default
19  //
20  if (m_adjTLimitsEvent) {
22 
23  m_adjTLimitsEvent = false;
24  m_tminAdjust = 0;
25  }
26 
27  SetAmpMinMax(ampMin, ampMax);
28 
29  DoInitialize(initialAmp, initialT0, ampMin, ampMax);
30 }

◆ Initialize() [2/2]

void ZDCFitWrapper::Initialize ( float  initialAmp,
float  initialT0,
float  ampMin,
float  ampMax,
float  fitTmin,
float  fitTmax,
float  fitTRef 
)
inherited

Definition at line 32 of file ZDCFitWrapper.cxx.

33 {
34  // Clear the errors on the TF1 because retaining the errors seems to affect
35  // the convergence of fits
36  //
37  unsigned int npar = GetWrapperTF1()->GetNpar();
38  std::vector<double> zeroVec(npar, 0.0);
39  GetWrapperTF1()->SetParErrors(&zeroVec[0]);
40 
41  m_adjTLimitsEvent = true;
42 
43  m_tminAdjust = fitTRef; // Note: this is the time corresponding to the sample used for presample subtraction
44 
45  m_tempTmin = std::max(m_t0Min, fitTmin);
46  m_tempTmax = std::min(m_t0Max, fitTmax);
47 
48  SetAmpMinMax(ampMin, ampMax);
50 
51  DoInitialize(initialAmp, initialT0, ampMin, ampMax);
52 }

◆ operator()()

virtual double ZDCFitExpFermiLHCfPrePulse::operator() ( const double *  x,
const double *  p 
)
inlineoverridevirtual

Implements ZDCFitWrapper.

Definition at line 547 of file ZDCFitWrapper.h.

548  {
549  double t = x[0];
550 
551  double amp = p[0];
552  double t0 = p[1];
553  double tau1 = p[2];
554  double tau2 = p[3];
555  double preAmp = p[4];
556  double preT0 = p[5];
557  double C = p[6];
558 
559  m_expFermiLHCfFunc->SetParameter(0, amp);
560  m_expFermiLHCfFunc->SetParameter(2, tau1);
561  m_expFermiLHCfFunc->SetParameter(3, tau2);
562  m_expFermiLHCfFunc->SetParameter(4, tau2);
563 
564  double deltaT = t - t0;
565  double deltaTPre = t - preT0;
566 
567  // We subtract off the value of the pre-pulse at the minimum time (nominally 0,
568  // but can change if we exclude early samples) to account for the subtraction of the pre-sample
569  //
570  double deltaPresamp = GetTMinAdjust() - preT0;
571 
572  double pulse1 = m_expFermiLHCfFunc->operator()(deltaT);
573  double pulse2 = preAmp * m_preNorm * (m_expFermiPreFunc->operator()(deltaTPre) -
574  m_expFermiPreFunc->operator()(deltaPresamp));
575 
576  return C + pulse1 + pulse2;
577  }

◆ SetAmpMinMax()

void ZDCFitWrapper::SetAmpMinMax ( float  minAmp,
float  maxAmp 
)
inlineinherited

Definition at line 63 of file ZDCFitWrapper.h.

64  {
65  m_ampMin = minAmp;
66  m_ampMax = maxAmp;
67  }

◆ SetInitialPrePulse()

virtual void ZDCFitExpFermiLHCfPrePulse::SetInitialPrePulse ( float  amp,
float  t0,
float  ,
bool   
)
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 484 of file ZDCFitWrapper.h.

485  {
486  double ampMin, ampMax;
487 
488  GetWrapperTF1()->GetParLimits(2, ampMin, ampMax);
489  double initialAmp = std::min<double>(std::max<double>(amp, ampMin), ampMax);
490 
491  GetWrapperTF1()->SetParameter(4, initialAmp);
492  GetWrapperTF1()->SetParameter(5, t0);
493  }

◆ SetPostPulseT0Range()

virtual void ZDCFitExpFermiLHCfPrePulse::SetPostPulseT0Range ( float  ,
float  ,
float   
)
inlineoverridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 496 of file ZDCFitWrapper.h.

496 {return;}

◆ SetPrePulseT0Range()

void ZDCFitExpFermiLHCfPrePulse::SetPrePulseT0Range ( float  tmin,
float  tmax 
)
overridevirtual

Implements ZDCPrePulseFitWrapper.

Definition at line 636 of file ZDCFitWrapper.cxx.

637 {
638  if (tmin > GetTMin()) {
639  m_preT0Min = tmin;
640  GetWrapperTF1()->ReleaseParameter(5);
641  GetWrapperTF1()->SetParLimits(5, tmin, tmax);
642  }
643  else {
644  m_preT0Min = -25;
645  GetWrapperTF1()->SetParLimits(5, -25, tmax);
646  }
647  m_preT0Max = tmax;
648 }

◆ SetT0FitLimits()

void ZDCFitExpFermiLHCfPrePulse::SetT0FitLimits ( float  tMin,
float  tMax 
)
overridevirtual

Implements ZDCFitWrapper.

Definition at line 673 of file ZDCFitWrapper.cxx.

674 {
675  std::shared_ptr<TF1> theTF1 = GetWrapperTF1();
676  theTF1->SetParLimits(1, t0Min, t0Max);
677 }

◆ SetT0Range()

void ZDCFitWrapper::SetT0Range ( float  t0Min,
float  t0Max 
)
inlineinherited

Definition at line 69 of file ZDCFitWrapper.h.

70  {
71  m_t0Min = t0Min;
72  m_t0Max = t0Max;
73 
74  SetT0FitLimits(t0Min, t0Max);
75  }

◆ UnconstrainFit()

void ZDCFitExpFermiLHCfPrePulse::UnconstrainFit ( )
overridevirtual

Implements ZDCFitWrapper.

Definition at line 626 of file ZDCFitWrapper.cxx.

627 {
628  std::shared_ptr<TF1> theTF1 = GetWrapperTF1();
629  theTF1->ReleaseParameter(4);
630  theTF1->ReleaseParameter(6);
631 
632  theTF1->SetParLimits(4, 1, 8196); // Increase the upper range to 2 times of ADC range to deal with large exponential tail case of pre-pulse.
633  theTF1->SetParLimits(6, -50, 50);
634 }

Member Data Documentation

◆ m_adjTLimitsEvent

bool ZDCFitWrapper::m_adjTLimitsEvent {false}
privateinherited

Definition at line 32 of file ZDCFitWrapper.h.

◆ m_ampMax

float ZDCFitWrapper::m_ampMax {0}
privateinherited

Definition at line 27 of file ZDCFitWrapper.h.

◆ m_ampMin

float ZDCFitWrapper::m_ampMin {0}
privateinherited

Definition at line 26 of file ZDCFitWrapper.h.

◆ m_expFermiLHCfFunc

std::shared_ptr<TF1> ZDCFitExpFermiLHCfPrePulse::m_expFermiLHCfFunc = 0
private

Definition at line 473 of file ZDCFitWrapper.h.

◆ m_expFermiPreFunc

std::shared_ptr<TF1> ZDCFitExpFermiLHCfPrePulse::m_expFermiPreFunc = 0
private

Definition at line 474 of file ZDCFitWrapper.h.

◆ m_preNorm

double ZDCFitExpFermiLHCfPrePulse::m_preNorm {1.}
private

Definition at line 471 of file ZDCFitWrapper.h.

◆ m_preT0Max

float ZDCPrePulseFitWrapper::m_preT0Max
protectedinherited

Definition at line 119 of file ZDCFitWrapper.h.

◆ m_preT0Min

float ZDCPrePulseFitWrapper::m_preT0Min
protectedinherited

Definition at line 118 of file ZDCFitWrapper.h.

◆ m_t0Max

float ZDCFitWrapper::m_t0Max {0}
privateinherited

Definition at line 30 of file ZDCFitWrapper.h.

◆ m_t0Min

float ZDCFitWrapper::m_t0Min {0}
privateinherited

Definition at line 29 of file ZDCFitWrapper.h.

◆ m_tau1

float ZDCFitExpFermiLHCfPrePulse::m_tau1 {0}
private

Definition at line 467 of file ZDCFitWrapper.h.

◆ m_tau2

float ZDCFitExpFermiLHCfPrePulse::m_tau2 {0}
private

Definition at line 468 of file ZDCFitWrapper.h.

◆ m_tempTmax

float ZDCFitWrapper::m_tempTmax {0}
privateinherited

Definition at line 35 of file ZDCFitWrapper.h.

◆ m_tempTmin

float ZDCFitWrapper::m_tempTmin {0}
privateinherited

Definition at line 34 of file ZDCFitWrapper.h.

◆ m_timeCorr

float ZDCFitExpFermiLHCfPrePulse::m_timeCorr {0}
private

Definition at line 469 of file ZDCFitWrapper.h.

◆ m_tmax

float ZDCFitWrapper::m_tmax {0}
privateinherited

Definition at line 24 of file ZDCFitWrapper.h.

◆ m_tmin

float ZDCFitWrapper::m_tmin {0}
privateinherited

Definition at line 23 of file ZDCFitWrapper.h.

◆ m_tminAdjust

float ZDCFitWrapper::m_tminAdjust {0}
privateinherited

Definition at line 33 of file ZDCFitWrapper.h.

◆ m_wrapperTF1

std::shared_ptr<TF1> ZDCFitWrapper::m_wrapperTF1 {}
privateinherited

Definition at line 21 of file ZDCFitWrapper.h.


The documentation for this class was generated from the following files:
ZDCFitWrapper::GetTMinAdjust
float GetTMinAdjust() const
Definition: ZDCFitWrapper.h:102
ZDCFitWrapper::m_wrapperTF1
std::shared_ptr< TF1 > m_wrapperTF1
Definition: ZDCFitWrapper.h:21
ZDCFitWrapper::m_tmin
float m_tmin
Definition: ZDCFitWrapper.h:23
ZDCFitWrapper::SetT0FitLimits
virtual void SetT0FitLimits(float tMin, float tMax)=0
ZDCFitWrapper::DoInitialize
virtual void DoInitialize(float initialAmp, float initialT0, float ampMin, float ampMax)=0
ZDCFitExpFermiLHCfPrePulse::m_expFermiLHCfFunc
std::shared_ptr< TF1 > m_expFermiLHCfFunc
Definition: ZDCFitWrapper.h:473
index
Definition: index.py:1
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
ZDCPrePulseFitWrapper::m_preT0Max
float m_preT0Max
Definition: ZDCFitWrapper.h:119
DMTest::C
C_v1 C
Definition: C.h:26
ZDCFitWrapper::m_ampMin
float m_ampMin
Definition: ZDCFitWrapper.h:26
ALFA_EventTPCnv_Dict::t0
std::vector< ALFA_RawData_p1 > t0
Definition: ALFA_EventTPCnvDict.h:42
ZDCFitWrapper::m_t0Max
float m_t0Max
Definition: ZDCFitWrapper.h:30
ZDCFitWrapper::GetWrapperTF1
virtual std::shared_ptr< TF1 > GetWrapperTF1()
Definition: ZDCFitWrapper.h:110
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ZDCFitWrapper::m_adjTLimitsEvent
bool m_adjTLimitsEvent
Definition: ZDCFitWrapper.h:32
ZDCFitWrapper::m_tempTmax
float m_tempTmax
Definition: ZDCFitWrapper.h:35
x
#define x
ZDCFitExpFermiLHCfPrePulse::m_expFermiPreFunc
std::shared_ptr< TF1 > m_expFermiPreFunc
Definition: ZDCFitWrapper.h:474
ZDCFitWrapper::m_ampMax
float m_ampMax
Definition: ZDCFitWrapper.h:27
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
ZDCFermiExpFitRefl
double ZDCFermiExpFitRefl(const double *xvec, const double *pvec)
Definition: ZDCFitWrapper.h:1234
ZDCFitWrapper::GetTMin
float GetTMin() const
Definition: ZDCFitWrapper.h:89
ZDCFitExpFermiLHCfPrePulse::m_timeCorr
float m_timeCorr
Definition: ZDCFitWrapper.h:469
ZDCFitWrapper::m_t0Min
float m_t0Min
Definition: ZDCFitWrapper.h:29
ZDCFitWrapper::m_tminAdjust
float m_tminAdjust
Definition: ZDCFitWrapper.h:33
ZDCFitExpFermiLHCfPrePulse::m_tau1
float m_tau1
Definition: ZDCFitWrapper.h:467
ZDCFitExpFermiLHCfPrePulse::m_preNorm
double m_preNorm
Definition: ZDCFitWrapper.h:471
ZDCFitWrapper::m_tmax
float m_tmax
Definition: ZDCFitWrapper.h:24
ZDCFitWrapper::SetAmpMinMax
void SetAmpMinMax(float minAmp, float maxAmp)
Definition: ZDCFitWrapper.h:63
ZDCFitExpFermiLHCfPrePulse::m_tau2
float m_tau2
Definition: ZDCFitWrapper.h:468
ZDCPrePulseFitWrapper::ZDCPrePulseFitWrapper
ZDCPrePulseFitWrapper(std::shared_ptr< TF1 > wrapperTF1)
Definition: ZDCFitWrapper.h:121
ZDCPrePulseFitWrapper::m_preT0Min
float m_preT0Min
Definition: ZDCFitWrapper.h:118
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
ZDCFitWrapper::m_tempTmin
float m_tempTmin
Definition: ZDCFitWrapper.h:34
ZDCFitExpFermiLHCfPrePulse::GetTime
virtual float GetTime() const override
Definition: ZDCFitWrapper.h:517
ZDCFermiExpFit
double ZDCFermiExpFit(const double *xvec, const double *pvec)
Definition: ZDCFitWrapper.h:1209