00001 // 00002 // Spliter 00003 // Simple weighted method 00004 // This is only used for testing code. 00005 // 00006 // Zhe Wang 2004, 8, 31 00007 // 00008 #ifndef EMC_REC_SPLIT_WEIGHTED_H 00009 #define EMC_REC_SPLIT_WEIGHTED_H 00010 00011 #include "EmcRec/EmcRecSplitAbs.h" 00012 00013 class EmcRecShowerEnergy; 00014 class EmcRecShowerPosAbs; 00015 class EmcRecShowerShape; 00016 00017 class EmcRecSplitWeighted:public EmcRecSplitAbs 00018 { 00019 public: 00020 // Constructors and destructors 00021 EmcRecSplitWeighted(); 00022 ~EmcRecSplitWeighted(); 00023 00024 public: 00025 virtual void Split(RecEmcCluster& aCluster, 00026 const RecEmcIDVector& aMaxVec, 00027 RecEmcShowerMap& aShowerMap); 00028 00029 EmcRecShowerEnergy* fShowerE; 00030 EmcRecShowerPosAbs* fShowerPos; 00031 EmcRecShowerShape* fShowerShape; 00032 }; 00033 00034 #endif // EMC_REC_SPLIT_WEIGHTED_H 00035