AliTPCCosmicUtils() | |
AliTPCCosmicUtils(const AliTPCCosmicUtils&) | |
~AliTPCCosmicUtils() | |
static Double_t | AngleInRange(Double_t phi) |
static void | CombinedFit(AliExternalTrackParam** trackPars, const AliTPCseed** seeds, const Int_t rowstartshift, const Int_t rowstep, const Double_t xmin, const Double_t xmax, Int_t& nfit, Int_t& nmiss, Double_t& pchi2, Double_t& lfit, Double_t& vtxD, Double_t& vtxZ, TTreeSRedirector* debugstreamer = 0x0) |
static void | DrawSeeds(const AliTPCseed** seeds, const TString tag, const TString outputformat = "png") |
static void | DrawTracks(AliESDtrack** esdtrks, const TString tag, const TString outputformat = "png") |
static Int_t | GetBField(const AliESDEvent* esd) |
static Bool_t | GetESD(AliESDEvent*& esdevent, AliESDfriend*& esdfriend) |
static Double_t | GetMinPhi(const AliExternalTrackParam** params) |
static AliTPCseed* | GetTPCseed(const AliESDtrack* esdtrack) |
static Int_t | GetTrigger(const AliESDEvent* esd) |
static AliExternalTrackParam* | MakeSeed(const AliTPCseed* tseed) |
static Double_t | Mass() |
static Int_t | NclsMin() |
static Int_t | NRow() |
AliTPCCosmicUtils& | operator=(const AliTPCCosmicUtils&) |
static Double_t | Point2LineDist(const TVector3 p0, const TVector3 l1, const TVector3 l2, TVector3* vtx = 0x0) |
static void | PrintTrackParam(const Int_t id, const AliExternalTrackParam* trackpar, const char* tag = "") |
static Bool_t | RotateSafe(AliExternalTrackParam* trackPar, const Double_t aa) |
static void | SingleFit(AliExternalTrackParam* trackInOld, AliExternalTrackParam* trackOutOld, const AliTPCseed* tseed, const Bool_t kinward, const Int_t rowstartshift, const Int_t rowstep, const Double_t xmin, const Double_t xmax, Int_t& nfit, Int_t& nmiss, Double_t& pchi2, Double_t& lfit, TTreeSRedirector* debugstreamer = 0x0) |
static void | FitKernel(AliExternalTrackParam* trackPar, const AliTPCseed* tseed, const Int_t rowstart, const Int_t rowstop, const Int_t drow, const Double_t xmin, const Double_t xmax, const Double_t eloss, Int_t& ksite, Int_t& nfit, Int_t& nmiss, Double_t& pchi2, TVector3& gposStart, TVector3& gposStop, TTreeSRedirector* debugstreamer, const Bool_t kinicov) |
static void | IniCov(AliExternalTrackParam* trackPar, const Double_t ncl) |
static Int_t | Niter() |
static void | SubCombined(AliExternalTrackParam* trackPar, const AliTPCseed** seeds, const Int_t tk0, const Int_t tk1, const Int_t rowstartshift, const Int_t rowstep, const Double_t xmin, const Double_t xmax, const Double_t eloss, Int_t& nfit, Int_t& nmiss, Double_t& pchi2, Double_t& lfit, Double_t& vtxD, Double_t& vtxZ, TTreeSRedirector* debugstreamer = 0x0) |
static Int_t | XMin() |
Inheritance Chart: | |||||
|
minimum phi angle of the two tracks, 0: horizontal
return distance of p0 to line (l2-l1)
get the phi value (in rad) in -pi ~ pi, so that fabs() works naiively
1. in AliExternalTrackParam::GetXYZ r[0]=fX; r[1]=fP[0]; r[2]=fP[1]; return Local2GlobalPosition(r,fAlpha); in AliVParticle::Local2GlobalMomentum Double_t cs=TMath::Cos(alpha), sn=TMath::Sin(alpha); Double_t r=TMath::Sqrt((1. - p[1])*(1. + p[1])); p[0]=pt*(r*cs - p[1]*sn); p[1]=pt*(p[1]*cs + r*sn); p[2]=pt*p[2]; which is cos(phi_local=Snp+fAlpha) > 0 always. 2. also in Bool_t AliExternalTrackParam::Rotate(Double_t alpha) Double_t sf=fP2, cf=TMath::Sqrt((1.- fP2)*(1.+fP2)); in AliExternalTrackParam::Set mom.RotateZ(-fAlpha); fP[2] = TMath::Sin(mom.Phi()); since only sin is used for mom.Phi(), that is assuming cos(mom.Phi())>0
print out TrackParam
draw esdtracks
draw seed and output to file
make seed for propagation of TrackParam, using np = 3 outer clusters (separated by deltancls clusters) in TPCseed
fit single track kinward is the true geometry of the track. Incomming track: 1; outgoing track: 0
combined propagation
sub-routine for combined propagation
routine for propagation