Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackOnlyPrimariesCut.h
1/*
2 * TrackOnlyPrimariesCut.h
3 *
4 * Created on: 07-08-2014
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALTRACKONLYPRIMARIESCUT_H_
10#define HALTRACKONLYPRIMARIESCUT_H_
11#include "TrackCut.h"
15namespace Hal {
17 public:
19 void AcceptOnlyNonPrimaries() { SetMinAndMax(0); };
20 void AcceptOnlyPrimaries() { SetMinAndMax(1); };
21 void AcceptAll() { SetMinMax(0, 1); }
22 virtual Bool_t Pass(Track* track);
23 virtual ~TrackOnlyPrimariesCut();
24 ClassDef(TrackOnlyPrimariesCut, 1)
25 };
26} // namespace Hal
27
28#endif /* HALTRACKONLYPRIMARIESCUT_H_ */
void SetMinAndMax(Double_t val, Int_t i=0)
Definition Cut.cxx:91
void SetMinMax(Double_t min, Double_t max, Int_t i=0)
Definition Cut.cxx:93
virtual Bool_t Pass(Track *track)