GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BaseFilter.h
Go to the documentation of this file.
1 #ifndef GW_BASEFILTER_H
2 #define GW_BASEFILTER_H
3 
4 #ifndef ROOT_TBuffer
5 #include <TBuffer.h>
6 #endif
7 
8 #ifndef ROOT_TList
9 #include <TList.h>
10 #endif
11 
12 #ifndef GW_RANDOM_H
13 #include <Random.h>
14 #endif
15 
16 namespace Gw {
17 
19 
28 class BaseFilter : public TNamed
29 {
30 protected:
31  Random *fRand; // unique Gw::Rand instance
32 
33 public:
34  BaseFilter();
35  virtual ~BaseFilter();
36 
38 
43  virtual Int_t ApplyE(const TSeqCollection &, TBuffer &) = 0;
44  virtual Int_t ApplyE(const TSeqCollection &, Float_t *) = 0;
46 
48  ClassDef(BaseFilter,0); // An experimental filter to real gamma-ray cascades
49 };
50 // BaseFilter inline members //////////////////////////////////////////////////////
51 // End BaseFilter inline members //////////////////////////////////////////////////
52 
53 }
54 #endif
ClassDef(BaseFilter, 0)
Root dictionnary related.
virtual Int_t ApplyE(const TSeqCollection &, TBuffer &)=0
Apply this filter to the list of links.
This class is a base class for any experimental filter.
Definition: BaseFilter.h:28
virtual ~BaseFilter()
Definition: BaseFilter.cpp:16
header file for Random
To change the internal GammaWare random generator.
Definition: Random.h:64
Random * fRand
Definition: BaseFilter.h:31