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

DemoNPlaneCut.h

Go to the documentation of this file.
00001 #ifndef DEMONPLANECUT_H
00002 #define DEMONPLANECUT_H
00003 #include "Registry/Registry.h"
00004 #include "JobControl/JobCModule.h"
00005 
00006 class MomNavigator;        // Forward declaration of this class
00007 class CandDigitListHandle; // Forward declaration of this class
00008 
00009 class DemoNPlaneCut : public JobCModule
00010 {
00011 public:
00012   DemoNPlaneCut();                              // Class constructor
00013   
00014   // JobCModule methods implemented by this module
00015   JobCResult      Ana(const MomNavigator *mom); // Analysis method
00016   const Registry& DefaultConfig() const;        // Default configuration
00017   void            Config(const Registry& r);    // Configure given registry
00018 
00019   int CountPlanes(const CandDigitListHandle* cdlh);
00020 private:
00021   static const int PLANEARRAYSIZE = 512;
00022   
00023   int   fNplaneCut; // Only pass events with at least this many hits
00024   int   fMaxGap;    // Require planes to be continuous, allowing for a gap of this size
00025   short fPlane[512];// List of hit planes
00026 };
00027 #endif
00028 

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