Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaS2CoincTime.h
Go to the documentation of this file.
1#ifndef Podd_THaS2CoincTime_h_
2#define Podd_THaS2CoincTime_h_
3
5//
6// THaS2CoincTime
7// Calculate coincidence times for all tracks for a pair of
8// spectrometers, USING ONLY S2 for track timing!!!!
9// Assumes a difference in common starts -- timing offsets
10// for different paddles are NOT taken into account here
11// (and shouldn't need to be).
13
14#include "THaPhysicsModule.h"
15#include "TString.h"
16#include "THaCoincTime.h"
17#include "THaVar.h"
18
20
21public:
22 THaS2CoincTime( const char* name, const char* description,
23 const char* spec1="L", const char* spec2="R",
24 Double_t mass1 = .938272, Double_t mass2 = 0.000511,
25 const char* ch_name1=nullptr, const char* ch_name2=nullptr,
26 const char* detname1="s2", const char* detname2="");
27
28 virtual ~THaS2CoincTime();
29
30 virtual Int_t Process( const THaEvData& );
31 virtual EStatus Init( const TDatime& run_time );
32
33protected:
34 // store the THaVar variable locations for faster processing
39
44
46
47public:
48
49 ClassDef(THaS2CoincTime,0) // Coinc.Time calc using only S2
50};
51
52#endif
int Int_t
double Double_t
#define ClassDef(name, id)
char name[80]
virtual Int_t Process(const THaEvData &)
virtual ~THaS2CoincTime()
THaVar * fS2TrPath2
THaVar * fS2TrPath1