PandaRoot
RhoMomentumParticleSelector.h
Go to the documentation of this file.
1 #ifndef RHOMOMENTUMPARTICLESELECTOR_H
2 #define RHOMOMENTUMPARTICLESELECTOR_H
3 // //
5 // RhoMomentumParticleSelector //
6 // //
7 // Selector classes for particle selection //
8 // //
9 // Author List: //
10 // Marcel Kunze, RUB, Feb. 99 //
11 // Copyright (C) 1999-2001, Ruhr-University Bochum. //
12 // Ralf Kliemt, HIM/GSI Feb.2013 (Cleanup & Restructuring) //
13 // //
15 
16 #include <iostream>
17 
18 #include <float.h>
19 #include "TNamed.h"
21 
22 class RhoCandidate;
23 class PndPidCandidate;
24 
25 //----------------------------------------------------------------
26 
28 
29  public:
30  // Constructor
31  RhoMomentumParticleSelector(const char *name = "RhoMomentumParticleSelector", Double_t cv = 0, Double_t w = DBL_MAX, const char *type = nullptr);
32  // Destructor
34 
35  // operations
36  virtual Bool_t Accept(RhoCandidate *b);
37  virtual Bool_t Accept(PndPidCandidate *b);
38 
39  private:
40  Double_t fCentralValue, fWindow;
41 
42  public:
43  ClassDef(RhoMomentumParticleSelector, 1) // Particle selector (Momentum window)
44 };
45 #endif
virtual Bool_t Accept(RhoCandidate *b)
RhoMomentumParticleSelector(const char *name="RhoMomentumParticleSelector", Double_t cv=0, Double_t w=DBL_MAX, const char *type=nullptr)