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"
15
namespace
Hal
{
16
class
TrackOnlyPrimariesCut
:
public
TrackCut
{
17
public
:
18
TrackOnlyPrimariesCut
();
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_ */
Hal::Cut::SetMinAndMax
void SetMinAndMax(Double_t val, Int_t i=0)
Definition
Cut.cxx:91
Hal::Cut::SetMinMax
void SetMinMax(Double_t min, Double_t max, Int_t i=0)
Definition
Cut.cxx:93
Hal::TrackCut
Definition
TrackCut.h:18
Hal::TrackOnlyPrimariesCut
Definition
TrackOnlyPrimariesCut.h:16
Hal::TrackOnlyPrimariesCut::Pass
virtual Bool_t Pass(Track *track)
Definition
TrackOnlyPrimariesCut.cxx:19
Hal::Track
Definition
Track.h:29
Hal
Definition
EventAnaChain.cxx:28
cuts
trackcuts
TrackOnlyPrimariesCut.h
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0