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;
43 void Set(Short_t rf, Short_t obj, Short_t xfp, Short_t si)
50 void SetTAC(Short_t tac_obj, Short_t tac_xfp)
95 void Set(
int registr,
int s800,
int external1,
int external2,
int secondary)
99 fexternal1 = external1;
100 fexternal2 = external2;
101 fsecondary = secondary;
142 void Set(
int de_up,
int time_up,
int de_down,
int time_down)
151 ftime_down = time_down;
176 void SetEnergy(Int_t energy) { fenergy = (Float_t)energy; }
201 void Set(
int ch,
int data)
203 fchannels.push_back(ch);
204 fdata.push_back(data);
208 std::vector<float>
GetData() {
return fdata; }
248 void Set(Short_t data, Short_t sample, Short_t ch)
250 fdata.push_back(data);
251 fsample.push_back(sample);
252 fchannels.push_back(ch);
256 std::vector<Short_t>
GetData() {
return fdata; }
310 memset(raw_crdc, 0,
sizeof(raw_crdc));
316 memset(raw_crdc, 0,
sizeof(raw_crdc));
319 void Set_raw(
int n,
int q,
float val) { raw_crdc[n][q] = val; }
320 std::vector<float>
GetData() {
return fdata; }
321 float Get_raw(
int n,
int q) {
return raw_crdc[n][q]; }
324 float raw_crdc[2][224];
343 fMultiHitTOF.Clear();
346 for (
int i = 0; i < 3; i++)
347 fScintillator[i].Clear();
349 for (
int i = 0; i < 2; i++)
351 for (
int i = 0; i < 32; i++) {
352 fHodoscope[i].Clear();
356 void SetTS(
long long int ts) { fts = ts; }
365 long long int GetTS() {
return fts; }
372 int DecodeS800(
unsigned short *pevent,
unsigned short twords);
389 unsigned short *DecodeS800Crdc(
unsigned short *pevent,
int id);
390 unsigned short *DecodeS800CrdcRaw(
unsigned short *pevent,
int id);
391 unsigned short *DecodeS800Scintillator(
unsigned short *pevent,
unsigned short updown,
int id);
392 unsigned short *DecodeS800IonChamber(
unsigned short *pevent);
393 unsigned short *DecodeS800TimeOfFlight(
unsigned short *pevent);
394 unsigned short *DecodeS800Trigger(
unsigned short *pevent);
395 unsigned short *DecodeS800HodoScope(
unsigned short *pevent);
397 unsigned short *DecodeS800NewMultiHitTDC(
unsigned short *pevent);
ClassDef(GTimeOfFlight, 1)
void SetInternalTS(long long int ts)
float Get_raw(int n, int q)
GScintillator * GetScintillator(int id)
void Set(int registr, int s800, int external1, int external2, int secondary)
long long int GetInternalTS()
vector< Float_t > fHodoscope
void SetTAC(Short_t tac_obj, Short_t tac_xfp)
std::vector< int > GetChannels()
void SetTS(long long int ts)
void SetAnodeTAC(int anode, int tac)
std::vector< Short_t > fsample
GHodoscope * GetHodoscope(int id)
vector< Float_t > fGalotte
ClassDef(GMultiHitTOF, 1)
void SetEnergy(Int_t energy)
std::vector< Short_t > fdata
GIonChamber * GetIonChamber()
GCrdc_test * GetCrdc_test()
ClassDef(GScintillator, 1)
std::vector< float > fdata
std::vector< Short_t > GetChannels()
std::vector< float > fdata
std::vector< Short_t > GetData()
void SetSampleWidth(int width)
vector< Float_t > fE1Down
std::vector< float > GetData()
std::vector< float > GetData()
void Set(int ch, int data)
void SetEvtNr(long long int nr)
void Set(int de_up, int time_up, int de_down, int time_down)
void Set_raw(int n, int q, float val)
std::vector< int > fchannels
GTimeOfFlight * GetTimeOfFlight()
GMultiHitTOF * GetMultiHitTOF()
GMultiHitTOF fMultiHitTOF
std::vector< Short_t > fchannels
void Set(Short_t rf, Short_t obj, Short_t xfp, Short_t si)
void Set(Short_t data, Short_t sample, Short_t ch)
std::vector< Short_t > GetSample()