CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BaseRawParticleFilter.h
Go to the documentation of this file.
1 #ifndef BASERAWPARTTICLEFILTER_H
2 #define BASERAWPARTTICLEFILTER_H
3 
5 
13 public:
14 
16 
17  virtual ~BaseRawParticleFilter(){;};
18 
19 public:
20 
21  bool accept(const RawParticle& p) const;
22 
23  bool accept(const RawParticle* p) const;
24 
27 
28 protected:
29 
31  virtual bool isOKForMe(const RawParticle* p) const = 0;
32 
33 private:
34  std::vector<BaseRawParticleFilter*> myFilter;
35 };
36 
37 #endif
void addFilter(BaseRawParticleFilter *f)
Add a BaseRawParticleFilter to be run after executing this one.
double f[11][100]
bool accept(const RawParticle &p) const
virtual bool isOKForMe(const RawParticle *p) const =0
Here the specific filtering is to be done.
std::vector< BaseRawParticleFilter * > myFilter