10 #include "TClonesArray.h"
12 #include "TrackToJetIndex.h"
13 #include "TowerToJetIndex.h"
31 void Clear(
bool clearTracks =
false);
32 void Clear(Option_t* opt);
36 bool bemcCorrupt()
const {
return mCorrupt; }
39 int nJets()
const {
return mJets->GetEntriesFast(); }
42 TClonesArray*
jets() {
return mJets; }
44 void addJet(
StJet& jet);
47 TClonesArray*
tracks() {
return mTrackToJetIndices; }
48 TClonesArray* towers() {
return mTowerToJetIndices; }
54 TObjArray
tracks(
int jetIndex)
const;
55 TObjArray towers(
int jetIndex)
const;
56 vector<TLorentzVector*> particles(
int jetIndex)
const;
59 int eventId ()
const {
return mEventId ; }
60 int eventNumber()
const {
return mEventNumber; }
61 int runId ()
const {
return mRunId ; }
62 int runNumber ()
const {
return mRunNumber ; }
64 void seteventId (
int v) { mEventId = v; }
65 void seteventNumber(
int v) { mEventNumber = v; }
66 void setrunId (
int v) { mRunId = v; }
67 void setrunNumber (
int v) { mRunNumber = v; }
74 void setDylanPoints(
int v) { mDylanPoints = v; }
77 double sumEmcE()
const {
return mSumEmcE; }
78 void setSumEmcE(
double v) { mSumEmcE = v; }
81 double e (
int jetIndex)
const;
82 double et (
int jetIndex)
const;
83 double p (
int jetIndex)
const;
84 double pt (
int jetIndex)
const;
85 double phi (
int jetIndex)
const;
86 double eta (
int jetIndex)
const;
87 int nCell (
int jetIndex)
const;
88 int charge(
int jetIndex)
const;
103 TClonesArray* mTrackToJetIndices;
104 TClonesArray* mTowerToJetIndices;
110 inline void StJets::Clear(Option_t* opt)
113 mEventId = mEventNumber = mRunId = mRunNumber = 0;
double sumEmcE() const
Summed energy of towers with e>0.4 (after status check)
void setBemcCorrupt(bool v)
Set the BEMC corrupt flag. true –> event is corrupt, no jet finding was performed.
TClonesArray * jets()
Access to the jets in this event.
double e(int jetIndex) const
User Interface as per Thomas H's request. Access jet kinematics based on index:
int nJets() const
The number of jets found in this event.
int eventId() const
access to event numbers, used to synchronize with StMuDstMaker for simultaneous reading ...
TClonesArray * tracks()
The track/tower to jet indices TClonesArray: this contains all the 4momenta contained in jets for jet...
int nDylanPoints() const
A double check, used to synchronize with StMuDstMaker for simultaneous reading.