ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file. 1 #ifndef AtGENERICTRACE_H
2 #define AtGENERICTRACE_H
14 class TMemberInspector;
24 using trace = std::vector<Double_t>;
33 virtual std::unique_ptr<AtPadBase>
Clone()
const override;
38 void SetADC(Int_t idx, Double_t val) {
fAdc[idx] = val; }
virtual std::unique_ptr< AtPadBase > Clone() const override
Base class for AtPad composition pattern.
Int_t GetTraceSize() const
ClassDefOverride(AtGenericTrace, 1)
Trace recorded by other data acquisition systems.
void SetADC(Int_t idx, Double_t val)
std::vector< Double_t > trace
void SetRawADC(Int_t idx, Int_t val)
AtGenericTrace(Int_t traceID=-1, std::size_t size=2048)
std::vector< Int_t > rawTrace