ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
4 #include <Math/Point3D.h>
5 #include <Math/Point3Dfwd.h>
6 #include <Math/Vector3D.h>
7 #include <Math/Vector3Dfwd.h>
14 #include <type_traits>
70 virtual std::shared_ptr<AtPulse>
Clone()
const {
return std::make_shared<AtPulse>(*
this); }
75 double GetGain(
int padNum,
int numElectrons);
void SetDoConvolution(bool val)
virtual bool AssignElectronsToPad(AtSimulatedPoint *point)
ROOT::Math::XYZVector XYZVector
AtRawEvent GenerateEvent(std::vector< SimPointPtr > &vec)
ROOT::Math::XYZVector XYZVector
double fPeakingTime
GET Gain (ADC ch/electron).
bool fUseFastGain
Response function of the electronics.
std::function< double(int, double)> ResponseFunc
Function (or callable object) to use as the response function. Parameters are padNum and time (us)
bool fSaveCharge
Sigma of random gaussian noise to apply to trace.
ROOT::Math::XYZPoint XYZPoint
std::unique_ptr< AtSimulatedPoint > SimPointPtr
void SetParameters(const AtDigiPar *fPar)
int fNumTbs
Time bucket size in us.
std::shared_ptr< AtMap > AtMapPtr
double fGETGain
If pad is AtMap::kLowGain multiply gain by this factor.
double GetGain(int padNum, int numElectrons)
void FillPad(AtPad &pad, TH1F &hist)
void SetSaveCharge(bool val)
std::set< int > fPadsWithCharge
std::shared_ptr< AtMap > AtMapPtr
void SetNoiseSigma(double val)
std::vector< std::unique_ptr< TH1F > > fPadCharge
double fLowGainFactor
Micromegas gain.
double fTBTime
Electronic peaking time in us.
std::add_pointer_t< double(double)> ResponseFunctionType
virtual std::shared_ptr< AtPulse > Clone() const
AtPulse(AtMapPtr map, ResponseFunc response=nullptr)
std::unique_ptr< TF1 > fGainFunc
ROOT::Math::XYZPoint XYZPoint
int fTBPadPlane
Window location in timebuckets (from config)
void ApplyNoise(AtPad &pad)
Container class for AtPadBase objects.
int fTBEntrance
Number of time buckers.
void UseFastGain(bool val)
void GenerateTraceFromElectrons()
ResponseFunc fResponse
Pad plane location in TBs (calculated from DriftVelocity, TBEntrance, ZPadPlane.