1 #include "StFgtMCEvalMaker.h"
3 #include <StMuDSTMaker/COMMON/StMuEvent.h>
4 #include <StMuDSTMaker/COMMON/StMuMcTrack.h>
5 #include "StMcEvent/StMcTrack.hh"
6 #include "StMcEvent/StMcEvent.hh"
7 #include "StMcEvent/StMcVertex.hh"
12 mMcEvent = (
StMcEvent*) StMaker::GetChain()->GetDataSet(
"StMcEvent");
14 cout <<
" in eval maker" << endl;
15 if(!mMcEvent)
return false;
16 cout <<
"got mcevent!!!!" <<endl;
21 for(
unsigned int i=0; i<mMcEvent->tracks().size();i++){
22 StMcTrack* mcTrack = mMcEvent->tracks()[i];
23 int pdgId=mcTrack->pdgId();
24 float pt=mcTrack->pt();
26 if(abs(pdgId)==11 || abs(pdgId)==12 || abs(pdgId)==24 || abs(pdgId)==21 || abs(pdgId) < 10 || abs(pdgId)==92 || pt<10.0)
continue;
27 cout<<
"high pt MC track: pdgId="<<pdgId<<
" pt="<<pt<<endl;
37 Int_t StFgtMCEvalMaker::Init(){
Monte Carlo Track class All information on a simulated track is stored in this class: kinematics...
Event data structure to hold all information from a Monte Carlo simulation. This class is the interfa...