ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerSuperClusters.h
Revision: 1.2
Committed: Wed Sep 10 03:30:23 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_005, Mit_004
Changes since 1.1: +11 -16 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: FillerSuperClusters.h,v 1.1 2008/08/08 11:12:38 sixie Exp $
3 sixie 1.1 //
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 loizides 1.2 #ifndef MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H
12     #define MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H
13 sixie 1.1
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 loizides 1.2 std::string edmName_;
36     std::string mitName_;
37     std::string basicClusterMapName_; //name of imp. map wrt basic clusters
38     std::string superClusterMapName_; //name of exported map
39     const mithep::BasicClusterMap *basicClusterMap_; //map wrt basic clusters
40     mithep::SuperClusterArr *superClusters_; //array of super clusters
41     mithep::SuperClusterMap *superClusterMap_; //map wrt super clusters
42 sixie 1.1 };
43     }
44     #endif
45 loizides 1.2