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
1.3.9.1