ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerSuperClusters.h
Revision: 1.7
Committed: Fri Sep 25 08:42:50 2009 UTC (15 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a
Changes since 1.6: +2 -2 lines
Log Message:
Extended interface of BookDataBlock to contain event setup.

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.7 // $Id: FillerSuperClusters.h,v 1.6 2009/06/15 15:00:25 loizides Exp $
3 sixie 1.1 //
4     // FillerSuperClusters
5     //
6 loizides 1.4 // Implementation of a filler to fill EDM super clusters into our mithep::SuperCluster
7     // data structure.
8 sixie 1.1 //
9 loizides 1.4 // Authors: S.Xie
10 sixie 1.1 //--------------------------------------------------------------------------------------------------
11    
12 loizides 1.2 #ifndef MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H
13     #define MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H
14 sixie 1.1
15 loizides 1.6 #include "MitAna/DataTree/interface/SuperClusterCol.h"
16     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
17 sixie 1.1 #include "MitProd/TreeFiller/interface/BaseFiller.h"
18    
19     namespace mithep
20     {
21     class FillerSuperClusters : public BaseFiller
22     {
23     public:
24     FillerSuperClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
25     ~FillerSuperClusters();
26    
27 loizides 1.7 void BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
28 loizides 1.5 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29     const mithep::SuperClusterMap *GetSuperClusterMap() const { return superClusterMap_; }
30 sixie 1.1
31     private:
32 loizides 1.5 std::string edmName_; //edm name of collection
33     std::string mitName_; //mit name of collection
34     std::string basicClusterMapName_; //name of imp. map wrt basic clus
35     std::string superClusterMapName_; //name of exported map
36     std::string superClusterIdMapName_; //name of exported id map
37     const mithep::BasicClusterMap *basicClusterMap_; //map wrt basic clusters
38     mithep::SuperClusterArr *superClusters_; //array of super clusters
39     mithep::SuperClusterMap *superClusterMap_; //map wrt super clusters
40     mithep::SuperClusterIdMap *superClusterIdMap_; //map of DetIds to superclusters
41 sixie 1.1 };
42     }
43     #endif