00001 00029 #ifndef _LI_PATTERN_FINDER_FANCY_H_ 00030 #define _LI_PATTERN_FINDER_FANCY_H_ 00031 00032 #include <map> 00033 00034 #include "Plex/PlexStripEndToLed.h" 00035 00036 #include "LIPatternFinder.h" 00037 00038 class CandDigitHandle; 00039 00040 using std::map; 00041 00042 class LIPatternFinderFancy : public LIPatternFinder 00043 { 00044 public: 00045 00046 LIPatternFinderFancy(); 00047 ~LIPatternFinderFancy(); 00048 00049 void DefaultConfig (void); 00050 void Configure (const Registry & registry); 00051 bool IsLightInjectionTrash (CandDigitListHandle * cdlh); 00052 00053 private: 00054 00055 void BuildPlexMaps(CandDigitListHandle * cdlh); 00056 00057 const PlexLedId * FindLedIdFromStripEndId( 00058 const PlexStripEndId & stripend_id) const; 00059 00060 map<PlexStripEndId, PlexLedId> fStrip2LedMap; 00061 00062 double fFractionalChargeThreshold; 00063 00064 ClassDef(LIPatternFinderFancy, 0) // algorithm for LI pattern matching 00065 }; 00066 00067 #endif // _LI_PATTERN_FINDER_FANCY_H_
1.3.9.1