19 #ifndef StEmcPosition_H
20 #define StEmcPosition_H
24 #include "StarClassLibrary/StThreeVectorD.hh"
25 #include "StarClassLibrary/StThreeVectorF.hh"
26 #include "StPhysicalHelixD.hh"
51 Int_t
getTowerEtaPhi(Double_t eta, Double_t phi, Float_t* towerEta, Float_t* towerPhi)
const;
53 Int_t
getNextTowerId(Float_t eta, Float_t phi, Int_t nTowersdEta, Int_t nTowersdPhi)
const;
54 Int_t
getNextTowerId(Int_t softId, Int_t nTowersdEta, Int_t nTowersdPhi)
const;
55 Int_t
getNextTowerId(Int_t m, Int_t e, Int_t s, Int_t nTowersdEta, Int_t nTowersdPhi)
const;
56 Int_t
getNextId(Int_t det, Int_t m, Int_t e, Int_t s, Int_t nEta, Int_t nPhi)
const;
57 Int_t
getNextId(Int_t det, Int_t softId, Int_t nEta, Int_t nPhi)
const;
59 Float_t
getDistTowerToTrack(Double_t trackEta, Double_t trackPhi, Int_t nTowersdEta, Int_t nTowersdPhi)
const;
Float_t getThetaFromVertex(const StVertex *const vertex, Int_t TowerId) const
Return theta of the tower considering the collision vertex.
Bool_t trackOnEmc(StThreeVectorD *position, StThreeVectorD *momentum, const StTrack *const track, Double_t magField, Double_t emcRadius=225.405) const
Track projection utility.
Float_t getDistTowerToTrack(Double_t trackEta, Double_t trackPhi, Int_t nTowersdEta, Int_t nTowersdPhi) const
Return distance from track to center of one tower.
Int_t getNextId(Int_t det, Int_t m, Int_t e, Int_t s, Int_t nEta, Int_t nPhi) const
Return neighbor id (works for all detectors 1=bemc, 2=bprs, 3=bsmde, 4=bsmdp)
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
Int_t getTowerEtaPhi(Double_t eta, Double_t phi, Float_t *towerEta, Float_t *towerPhi) const
Return tower eta/phi.
Int_t getNextTowerId(Float_t eta, Float_t phi, Int_t nTowersdEta, Int_t nTowersdPhi) const
Return neighbor tower id's.
StThreeVectorF getPosFromVertex(const StVertex *const vertex, Int_t TowerId) const
Return Position from collision vertex.
Float_t getEtaFromVertex(const StVertex *const vertex, Int_t TowerId) const
Return eta of the tower considering the collision vertex.
Float_t getPhiFromVertex(const StVertex *const vertex, Int_t TowerId) const
Return phi of the tower considering the collision vertex.
Bool_t projTrack(StThreeVectorD *atFinal, StThreeVectorD *momentumAtFinal, const StTrack *const track, Double_t magField, Double_t radius=225.405, Int_t option=1) const
Track projection utility.