ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerSuperClusters.h
Revision: 1.1
Committed: Fri Aug 8 11:12:38 2008 UTC (16 years, 8 months ago) by sixie
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Log Message:
Add BasicCluster and SuperCluster objects into the Data Tree, and their Fillers.

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: $
3     //
4     // FillerSuperClusters
5     //
6     // Imlementation of a filler to fill EDM super clusters into our mithep::SuperCluster data structure.
7     //
8     // Authors: Si Xie
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef TREEFILLER_FILLERSUPERCLUSTERS_H
12     #define TREEFILLER_FILLERSUPERCLUSTERS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "MitAna/DataUtil/interface/TreeWriter.h"
16     #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
17     #include "MitAna/DataTree/interface/Collections.h"
18     #include "MitProd/TreeFiller/interface/BaseFiller.h"
19     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
20    
21     namespace mithep
22     {
23     class FillerSuperClusters : public BaseFiller
24     {
25     public:
26     FillerSuperClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
27     ~FillerSuperClusters();
28    
29     void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31    
32     const mithep::SuperClusterMap *GetSuperClusterMap() const { return superClusterMap_; }
33    
34     private:
35     std::string edmName_;
36     std::string mitName_;
37    
38     std::string basicClusterMapName_; //name of imported map wrt basic clusters
39     std::string superClusterMapName_; //name of export map
40    
41     const mithep::BasicClusterMap *basicClusterMap_; //map wrt basic clusters
42    
43     mithep::SuperClusterArr *superClusters_; //array of super clusters
44     mithep::SuperClusterMap *superClusterMap_; //map wrt super clusters
45    
46    
47     };
48     }
49     #endif
50