PulseShapeEval.hh

Go to the documentation of this file.
00001 
00007 #ifndef PULSESHAPEEVAL_h
00008 #define PULSESHAPEEVAL_h
00009 
00010 #include "BaseModule.hh"
00011 #include <map>
00016 class TH1F;
00017 class PulseShapeEval : public BaseModule
00018 {
00019 public:
00020   PulseShapeEval();
00021   ~PulseShapeEval();
00022   int Initialize();
00023   int Finalize();
00024   int Process(EventPtr evt);
00025   static const std::string GetDefaultName(){ return "PulseShapeEval"; }
00026 
00027 private:
00028     TH1F* event_shape;
00029 
00030     std::map<int, TH1F*> gatti_weights;
00031     std::map<int, TH1F*> ll_ele_weights;
00032     std::map<int, TH1F*> ll_nuc_weights;
00033     std::map<int, TH1F*> ll_r_weights;
00034 
00035     std::string pulse_shape_file;
00036     std::string gatti_weights_hist;
00037     std::string ll_ele_weights_hist;
00038     std::string ll_nuc_weights_hist;
00039     std::string ll_r_weights_hist;
00040     
00041     int LoadWeights();
00042 };
00043 
00044 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 20 Jun 2014 for daqman by  doxygen 1.6.1