19 #ifndef STMUEMCPOSITION_H
20 #define STMUEMCPOSITION_H
24 #include "StarClassLibrary/StThreeVectorD.hh"
25 #include "StarClassLibrary/StThreeVectorF.hh"
26 #include "StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
76 #endif // STMUEMCPOSITION_H
float getPhiFromVertex(const StThreeVectorF &, int)
Return phi of the tower considering the collision vertex.
float getDistTowerToTrack(double, double, int, int)
Return distance from track to center of one tower.
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
float getEtaFromVertex(const StThreeVectorF &, int)
Return eta of the tower considering the collision vertex.
bool trackOnBEmc(StThreeVectorD *, StThreeVectorD *, const StMuTrack *, double, double=225.405)
StjTrack projection utility.
StThreeVectorF getPosFromVertex(const StThreeVectorF &, int)
Return Position from collision vertex.
int getTowerEtaPhi(double, double, float *, float *)
Return tower eta/phi.
float getThetaFromVertex(const StThreeVectorF &, int)
Return theta of the tower considering the collision vertex.
bool trackOnEEmc(StThreeVectorD *position, StThreeVectorD *momentum, const StMuTrack *track, double magField=0.5, double z=kEEmcZSMD) const
Project track into EEMC at SMD depth (magnetic field must be in Tesla)
int getNextId(int, int, int, int, int, int)
Return neighbor id (works for all detectors 1=bemc, 2=bprs, 3=bsmde, 4=bsmdp)
bool projTrack(StThreeVectorD *, StThreeVectorD *, const StMuTrack *, double, double=225.405, int=1)
StjTrack projection utility.
bool trackOnEmc(StThreeVectorD *, StThreeVectorD *, const StMuTrack *, double, double=225.405)
StjTrack projection utility.
int getNextTowerId(float, float, int, int)
Return neighbor tower id's.