-
Notifications
You must be signed in to change notification settings - Fork 0
/
StEpSimuJetDef.h
55 lines (38 loc) · 1.04 KB
/
StEpSimuJetDef.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Jet Algo Container
#ifndef StEpSimuJetDef_def
#define StEpSimuJetDef_def
#include "TObject.h"
#include "TRefArray.h"
#include "TVector3.h"
class StEpSimuJetEvent;
class StEpSimuJet;
class StEpSimuJetDef : public TObject {
public:
StEpSimuJetDef();
enum ALGO { AKT, KT };
enum FRAME { BEAM, GAMMA, BREIT};
// Declare Setters
void setRadius(float rad);
void setMinPt(float pt);
void setAlgo(int algo);
void setFrame(int frame);
// Declare and Implement Getters
float radius() const { return mRadius; }
float minPt() const { return mMinPt; }
int algo() const { return mALGO; }
int frame() const { return mFRAME; }
// Get Number of Jets
int numberOfJets() const;
// Get Jet
StEpSimuJet* jet(int i) const; //{ return (StForwardJet*)mJets.At(i); }
// Add Jet to Dijet
StEpSimuJet* addJet(StEpSimuJet* jet); //{ mJets.Add((TObject*)jet); return (StForwardJet*)mJets.Last(); }
private:
float mRadius;
float mMinPt;
int mALGO;
int mFRAME;
TRefArray mJets;
ClassDef(StEpSimuJetDef,3);
};
#endif