ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerSuperClusters.h
Revision: 1.3
Committed: Mon Nov 3 11:22:35 2008 UTC (16 years, 6 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre1, Mit_006b, Mit_006a, Mit_006
Changes since 1.2: +3 -1 lines
Log Message:
Added propagation of tracks to ecal for position and supercluster links

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.3 // $Id: FillerSuperClusters.h,v 1.2 2008/09/10 03:30:23 loizides 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 bendavid 1.3 std::string superClusterIdMapName_; //name of exported id map
40 loizides 1.2 const mithep::BasicClusterMap *basicClusterMap_; //map wrt basic clusters
41     mithep::SuperClusterArr *superClusters_; //array of super clusters
42     mithep::SuperClusterMap *superClusterMap_; //map wrt super clusters
43 bendavid 1.3 mithep::SuperClusterIdMap *superClusterIdMap_; //map of DetIds to superclusters
44 sixie 1.1 };
45     }
46     #endif
47 loizides 1.2