ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
15 class TMemberInspector;
21 class CRDC :
public TObject {
32 fcathode = sqrt(-1.0);
52 fcathode = sqrt(-1.0);
61 void SetCal(
const std::vector<Float_t> &cal)
74 for (Int_t i = 0; i < j; i++) {
75 fxpad.push_back((Int_t)xpad[i]);
80 for (Int_t i = 0; i < j; i++) {
81 fypad.push_back((Float_t)ypad[i]);
86 void SetID(
int id) { fid = id; }
87 void SetX(Float_t x) { fx = x; }
89 void SetXcog(Float_t x_cog) { fx_cog = x_cog; }
90 void SetXfit(Float_t x_fit) { fx_fit = x_fit; }
91 void SetTAC(
float tac) { ftac = tac; }
94 void SetMaxPad(Short_t maxpad) { fmaxpad = maxpad; }
95 void SetMaxChg(Float_t maxchg) { fmaxchg = maxchg; }
96 void SetFitPrm(Short_t i, Float_t prm) { ffitprm[i] = prm; }
97 void SetFnorm(Float_t fnorm) { ffnorm = fnorm; }
112 std::vector<Float_t>
GetCal() {
return fcal; }
113 std::vector<Int_t>
GetChan() {
return fchan; }
118 std::vector<Int_t>
GetXpad() {
return fxpad; }
119 std::vector<Float_t>
GetYpad() {
return fypad; }
147 class TOF :
public TObject {
155 ftac_obj = sqrt(-1.0);
156 ftac_xfp = sqrt(-1.0);
166 ftac_obj = sqrt(-1.0);
167 ftac_xfp = sqrt(-1.0);
169 void Set(Float_t rf, Float_t obj, Float_t xfp)
215 if (fE1Up.size() != 0) {
224 if (fE1Down.size() != 0) {
232 if (fXf.size() != 0) {
241 if (fObj.size() != 0) {
250 if (fRf.size() != 0) {
259 if (fHodoscope.size() != 0) {
260 return fHodoscope[0];
299 void Set(Float_t time, Float_t de)
308 ftime = (tup + tdown) / 2.;
310 void SetDE(Float_t de_up, Float_t de_down)
314 fde = sqrt(de_up * de_down);
350 class IC :
public TObject {
371 for (UShort_t i = 0; i < cal.size(); i++) {
372 if (!isnan(cal[i]) && cal[i] > 0.0) {
373 fcal.push_back(cal[i]);
379 void SetDE(Float_t de) { fde = de; }
383 std::vector<Float_t>
GetCal() {
return fcal; }
384 std::vector<Int_t>
GetChan() {
return fchan; }
418 void Set(
int registr,
int s800,
int external1,
int external2,
int secondary)
422 fexternal1 = external1;
423 fexternal2 = external2;
424 fsecondary = secondary;
500 void SetTS(
long long int ts) { fts = ts; }
502 long long int GetTS() {
return fts; }
void Clear(Option_t *="")
void SetFnorm(Float_t fnorm)
std::vector< Float_t > fPedSubtractedPads
HODOSCOPE * GetHODOSCOPE(Int_t id)
vector< Float_t > fHodoscope
std::vector< Int_t > fxpad
void SetCal(std::vector< Float_t > cal)
Short_t GetExternal1()
Gets the time difference between the master TDC start and the External1 signal.
double(* f)(double t, const double *par)
void SetCal(const std::vector< Float_t > &cal)
std::vector< Float_t > GetFitPrm()
std::vector< Float_t > fcal
void SetYpad(Double_t ypad[300], Int_t j)
vector< Float_t > GetMTDCXf()
void SetXcog(Float_t x_cog)
void SetTime(Float_t tup, Float_t tdown)
std::vector< Int_t > GetChan()
std::vector< Int_t > GetChan()
std::vector< Float_t > fypad
std::vector< Float_t > GetCal()
void Clear(Option_t *="")
MultiHitTOF * GetMultiHitTOF()
void Set(int registr, int s800, int external1, int external2, int secondary)
void SetTimeS800(Float_t time)
void SetXpad(Double_t xpad[300], Int_t j)
void SetEnergy(Float_t energy)
vector< Float_t > fGalotte
void Clear(Option_t *="")
void SetSCINT(SCINT scint, int id)
void SetTS(long long int ts)
std::vector< Float_t > GetYpad()
Float_t GetFirstHodoscopeHit()
void SetPedSubtractedPads(vector< Float_t > v)
void SetXfit(Float_t x_fit)
void Set(Float_t time, Float_t de)
void Clear(Option_t *="")
vector< Float_t > GetMTDCObj()
Float_t GetMaxClusterWidth()
void Clear(Option_t *="")
std::vector< Float_t > ffitprm
void SetHODOSCOPE(HODOSCOPE hodoscope, int id)
long long int GetInternalTS()
std::vector< Float_t > & GetPedSubtractedPads()
void SetInternalTS(long long int ts)
void SetTrigger(Trigger in)
Short_t GetS800()
Gets the time difference between the master TDC start and the E1Up signal.
void SetDE(Float_t de_up, Float_t de_down)
vector< Float_t > fE1Down
Short_t GetRegistr()
Gets a flag for the trigger type of event (1 singles, 2 coincidence)
Float_t GetFirstE1DownHit()
void Clear(Option_t *="")
void SetMaxPad(Short_t maxpad)
void SetNumClusters(Int_t n)
std::vector< Float_t > fcal
std::vector< Int_t > fchan
std::vector< Int_t > GetXpad()
Short_t GetExternal2()
Gets the time difference between the master TDC start and the External2 signal.
void SetMultiHitTOF(MultiHitTOF f)
Short_t GetSecondary()
Gets the time difference between the master TDC start and the Secondary signal.
std::vector< Float_t > GetCal()
void Set(Float_t rf, Float_t obj, Float_t xfp)
void SetIsInCut(Bool_t val)
void SetTAC(Float_t obj, Float_t xfp)
void SetCRDC(CRDC crdc, int id)
void SetMaxChg(Float_t maxchg)
std::vector< Int_t > fchan
void SetCathode(float cathode)
void SetMaxClusterWidth(Float_t w)
void SetAnode(float anode)
void SetFitPrm(Short_t i, Float_t prm)
Float_t GetFirstE1UpHit()