Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FillNPlane.h

Go to the documentation of this file.
00001 #ifndef ANP_FILLNPLANE_H
00002 #define ANP_FILLNPLANE_H
00003 
00004 // $Id: FillNPlane.h,v 1.1 2008/03/10 20:06:46 rustem Exp $
00005 //
00006 // Fill number of planes above pulse threshold
00007 
00008 // Local
00009 #include "PhysicsNtuple/AlgEvent.h"
00010 #include "PhysicsNtuple/AlgSnarl.h"
00011 
00012 namespace Anp
00013 {
00014    struct DataNPlane
00015    {
00016       DataNPlane();
00017       explicit DataNPlane(const Strip &strip);
00018 
00019       short  plane;
00020       double pulse;
00021       double time;
00022    };
00023    
00024 
00025    class FillNPlane: public AlgSnarl, public AlgEvent
00026    {
00027    public:
00028 
00029       FillNPlane();      
00030       virtual ~FillNPlane();
00031     
00032       bool Run(Record &record);
00033 
00034       bool Run(Event &event, const Record &record, const bool pass);
00035 
00036       void Config(const Registry &reg);
00037 
00038    private:
00039       
00040       int    fKeyBase;
00041       double fMinStripAdc;
00042    };
00043 
00044    bool operator <(const DataNPlane &lhs, const DataNPlane &rhs);
00045    bool operator==(const DataNPlane &lhs, const DataNPlane &rhs);
00046 }
00047 
00048 #endif

Generated on Mon Feb 15 11:06:42 2010 for loon by  doxygen 1.3.9.1