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

CellHitMerge.h

Go to the documentation of this file.
00001 
00002 // $Id: CellHitMerge.h,v 1.1.1.1 2009/08/21 19:19:16 vahle Exp $
00003 //
00004 // A module to merge CellHits if necessary
00005 //
00006 // \author $Author: vahle $
00007 //
00009 
00010 #ifndef CELLHITMERGE_H
00011 #define CELLHITMERGE_H
00012 #include "JobControl/Module.h"
00013 // NOvA includes
00014 #include "Config/Config.h"
00015 #include "Config/Param.h"
00016 #include "EventDataModel/EventHandle.h"
00017 #include "JobControl/ModuleFactory.h"
00018 
00019 class TH2D;
00020 class TH1D;
00021 
00022 namespace cellhitmerge {
00023 
00024   class CellHitMerge : public jobc::Module
00025     {
00026     public:
00027       CellHitMerge(const char* version); // Required!
00028       void Update(const cfg::Config& c); // Required!
00029       
00030       // Optional, but recommended...
00031       ~CellHitMerge();                        
00032       
00033       // Optional, read/write access to event
00034       jobc::Result Reco(edm::EventHandle& evt); 
00035       // Optional, read-only access
00036       jobc::Result Ana(const edm::EventHandle& evt);          
00037       
00038     private:
00039       int nprinted;
00040       TH1D *delTMerged;
00041       TH1D *delPHMerged;
00042       TH2D *delPhvdelT;
00043       TH1D *celldiff;
00044       TH2D *delPhvPh;
00045       TH2D *phvph;
00046 
00047       bool fSkipMe;
00048       int nevtmerged;
00049       int maxdiffcells;
00050       int npruned;
00051       int maxpruned;
00052     };
00053 }
00054 
00055 #endif //CELLHITMERGE_H
00056 

Generated on Mon Nov 23 04:45:24 2009 for NOvA Offline by  doxygen 1.3.9.1