PandaRoot
RhoMassParticleSelector.h
Go to the documentation of this file.
1 #ifndef RHOMASSPARTICLESELECTOR_H
2 #define RHOMASSPARTICLESELECTOR_H
3 // //
5 // RhoMassParticleSelector //
6 // //
7 // Selector classes for mass 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  RhoMassParticleSelector(const char *name = "RhoMassParticleSelector", 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(RhoMassParticleSelector, 1) // Particle selector (Mass window)
44 };
45 
46 #endif
virtual Bool_t Accept(RhoCandidate *b)
RhoMassParticleSelector(const char *name="RhoMassParticleSelector", Double_t cv=0, Double_t w=DBL_MAX, const char *type=nullptr)