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
19
class
THaS2CoincTime
:
public
THaCoincTime
{
20
21
public
:
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
33
protected
:
34
// store the THaVar variable locations for faster processing
35
THaVar
*
fTrPads1
;
36
THaVar
*
fS2TrPath1
;
37
THaVar
*
fS2Times1
;
38
THaVar
*
fTrPath1
;
39
40
THaVar
*
fTrPads2
;
41
THaVar
*
fS2TrPath2
;
42
THaVar
*
fS2Times2
;
43
THaVar
*
fTrPath2
;
44
45
TString
fDetName1
,
fDetName2
;
46
47
public
:
48
49
ClassDef
(
THaS2CoincTime
,0)
// Coinc.Time calc using only S2
50
};
51
52
#endif
Int_t
int Int_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
name
char name[80]
THaCoincTime.h
THaPhysicsModule.h
THaVar.h
TString.h
TDatime
THaAnalysisObject::Init
EStatus Init()
Definition
THaAnalysisObject.cxx:397
THaAnalysisObject::EStatus
EStatus
Definition
THaAnalysisObject.h:34
THaCoincTime
Definition
THaCoincTime.h:23
THaEvData
Definition
THaEvData.h:27
THaS2CoincTime
Definition
THaS2CoincTime.h:19
THaS2CoincTime::fDetName2
TString fDetName2
Definition
THaS2CoincTime.h:45
THaS2CoincTime::fS2Times1
THaVar * fS2Times1
Definition
THaS2CoincTime.h:37
THaS2CoincTime::fTrPads1
THaVar * fTrPads1
Definition
THaS2CoincTime.h:35
THaS2CoincTime::Process
virtual Int_t Process(const THaEvData &)
Definition
THaS2CoincTime.cxx:124
THaS2CoincTime::fTrPads2
THaVar * fTrPads2
Definition
THaS2CoincTime.h:40
THaS2CoincTime::~THaS2CoincTime
virtual ~THaS2CoincTime()
THaS2CoincTime::fDetName1
TString fDetName1
Definition
THaS2CoincTime.h:45
THaS2CoincTime::fS2Times2
THaVar * fS2Times2
Definition
THaS2CoincTime.h:42
THaS2CoincTime::fTrPath2
THaVar * fTrPath2
Definition
THaS2CoincTime.h:43
THaS2CoincTime::fTrPath1
THaVar * fTrPath1
Definition
THaS2CoincTime.h:38
THaS2CoincTime::fS2TrPath2
THaVar * fS2TrPath2
Definition
THaS2CoincTime.h:41
THaS2CoincTime::fS2TrPath1
THaVar * fS2TrPath1
Definition
THaS2CoincTime.h:36
THaVar
Definition
THaVar.h:20
TString
HallA
THaS2CoincTime.h
Generated by
1.9.8