1 #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
2 #include "StHbtMaker/Cut/franksTrackCutMonitor.h"
5 #include "StLorentzVector.hh"
12 franksTrackCutMonitor::franksTrackCutMonitor(
const char* name){
13 string s(
"franksTrackCutMonitor");
15 mDCAxy=
new StHbt1DHisto( (s+n+
"mDCAxy").c_str(),
"Momentum (GeV/c) vs Energy loss (a.u.)",1000,0,5.);
16 mDCAxyGlobal=
new StHbt1DHisto( (s+n+
"mDCAxyGlobal").c_str(),
"Momentum (GeV/c) vs Energy loss (a.u.)",1000,0.,5.);
17 mPvsDedx=
new StHbt2DHisto( (s+n+
"mPvsDedx").c_str(),
"Momentum (GeV/c) vs Energy loss (a.u.)",100,-3.,3.,50,0.,5e-6);
27 franksTrackCutMonitor::~franksTrackCutMonitor(){
34 mDCAxy->Fill( track->DCAxy(), 1.);
35 mDCAxyGlobal->Fill( track->DCAxyGlobal(), 1.);
36 mPvsDedx->Fill( abs(track->P())*track->Charge(), track->dEdx(), 1.);