1 #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
2 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
3 #include "StHbtMaker/Cut/trackCutMonitor_P_vs_Dedx.h"
5 #include "StLorentzVector.hh"
12 trackCutMonitor_P_vs_Dedx::trackCutMonitor_P_vs_Dedx(){
16 trackCutMonitor_P_vs_Dedx::trackCutMonitor_P_vs_Dedx(
int charge){
20 trackCutMonitor_P_vs_Dedx::trackCutMonitor_P_vs_Dedx(
int charge,
const char* TitCutMoni,
const char* title,
21 int nbins1,
double min1,
double max1,
22 int nbins2,
double min2,
double max2){
23 mHisto=
new StHbt2DHisto(TitCutMoni, title, nbins1 , min1, max1, nbins2 , min2, max2);
28 mCharge = cutMoni.mCharge;
37 trackCutMonitor_P_vs_Dedx::~trackCutMonitor_P_vs_Dedx(){
42 if (track->Charge() == mCharge || mCharge == 0)
43 mHisto->Fill( abs( track->P() ), track->dEdx(), 1.);