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