Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-07-03 07:05:11

0001 /**
0002  \file
0003  Declaration of class erhic::EventMCFilterABC.
0004  
0005  \author    Thomas Burton
0006  \date      2012-01-18
0007  \copyright 2012 Brookhaven National Lab
0008  */
0009 
0010 #ifndef INCLUDE_EICSMEAR_ERHIC_EVENTMCFILTERABC_H_
0011 #define INCLUDE_EICSMEAR_ERHIC_EVENTMCFILTERABC_H_
0012 
0013 #include <Rtypes.h>
0014 
0015 namespace erhic {
0016 
0017 class VirtualEvent;
0018 
0019 /**
0020  Abstract base class for a filter on Monte Carlo events.
0021  */
0022 class EventMCFilterABC {
0023  public:
0024   /**
0025    Constructor.
0026    */
0027   virtual ~EventMCFilterABC() { }
0028 
0029   /**
0030    Implement this method in a derived class such that it returns
0031    true when the event passes the filter's criteria.
0032    */
0033   virtual bool Accept(const VirtualEvent&) const = 0;
0034 
0035   ClassDef(erhic::EventMCFilterABC, 1)
0036 };
0037 
0038 }  // namespace erhic
0039 
0040 #endif  // INCLUDE_EICSMEAR_ERHIC_EVENTMCFILTERABC_H_