10#include "TrackPdgCut.h"
13#include "DataFormatManager.h"
17 TrackPdgCut::TrackPdgCut() : TrackMCCut(1) { SetUnitName(
"Pdg code"); }
19 TrackPdgCut::~TrackPdgCut() {
23 Bool_t TrackPdgCut::Pass(
Track* track) {
24 SetValue(((
McTrack*) track)->GetPdg());
35 TrackPdgAbsCut::~TrackPdgAbsCut() {}
void SetValue(Double_t val, Int_t i=0)
void SetUnitName(TString name, Int_t i=0)
virtual Bool_t Pass(Track *track)