Skip to content

Commit

Permalink
Add dEdxPull
Browse files Browse the repository at this point in the history
  • Loading branch information
fisyak committed Dec 26, 2024
1 parent d5dfbdf commit b9df134
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions StRoot/StPicoEvent/StPicoTrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@
#include "StPicoMessMgr.h"
#include "StPicoTrack.h"

#if defined (__TFG__VERSION__)
#include "TF1.h"
#include "St_base/StMessMgr.h"
#include "StMuDSTMaker/COMMON/StMuTrack.h"
#include "StBichsel/Bichsel.h"
#include "StBichsel/StdEdxModel.h"
#include "StBichsel/StdEdxPull.h"
#endif /* __TFG__VERSION__ */

ClassImp(StPicoTrack)

Expand Down Expand Up @@ -212,7 +209,6 @@ StPicoPhysicalHelix StPicoTrack::helix(Float_t const B) const {
static_cast<float>( charge() ) );
}

#if defined (__TFG__VERSION__)
//_________________
Float_t StPicoTrack::dEdxPull(Float_t mass, UChar_t fit, Int_t charge) const {
Float_t z = -999.;
Expand Down Expand Up @@ -408,7 +404,6 @@ Float_t StPicoTrack::dEdxPullToF(Float_t mass, UChar_t fit, Int_t charge) const
return z;
}

#endif /* __TFG__VERSION__ */

//_________________
Float_t StPicoTrack::gDCAs(TVector3 point) const {
Expand Down
4 changes: 0 additions & 4 deletions StRoot/StPicoEvent/StPicoTrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
#include "StarClassLibrary/PhysicalConstants.h"
#endif

#if defined (__TFG__VERSION__)
#include "StPicoTrackCovMatrix.h"
#endif /* __TFG__VERSION__ */

//_________________
class StPicoTrack : public TObject {
Expand Down Expand Up @@ -117,14 +115,12 @@ class StPicoTrack : public TObject {
/// Return dE/dx error of the track (in GeV/cm)
Float_t dEdxError() const { return mDedxError; }

#if defined (__TFG__VERSION__)
Float_t dEdxPull(Float_t mass, UChar_t fit = 1, Int_t charge = 1) const;
Float_t dEdxPullToF(Float_t mass, UChar_t fit = 1, Int_t charge = 1) const;
Float_t dEdxPullPion() const { return dEdxPull(0.13956995,1); }
Float_t dEdxPullKaon() const { return dEdxPull(0.493677,1); }
Float_t dEdxPullProton() const { return dEdxPull(0.93827231,1); }
Float_t dEdxPullElectron() const { return dEdxPull(0.51099907e-3,1); }
#endif
/// Return dN/dx of the track
Float_t dNdx() const { return mDnDx; }
/// Return dN/dx error of the track
Expand Down

0 comments on commit b9df134

Please sign in to comment.