ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerSuperClusters.h
(Generate patch)

Comparing UserCode/MitProd/TreeFiller/interface/FillerSuperClusters.h (file contents):
Revision 1.1 by sixie, Fri Aug 8 11:12:38 2008 UTC vs.
Revision 1.7 by loizides, Fri Sep 25 08:42:50 2009 UTC

# Line 3 | Line 3
3   //
4   // FillerSuperClusters
5   //
6 < // Imlementation of a filler to fill EDM super clusters into our mithep::SuperCluster data structure.
6 > // Implementation of a filler to fill EDM super clusters into our mithep::SuperCluster
7 > // data structure.
8   //
9 < // Authors: Si Xie
9 > // Authors: S.Xie
10   //--------------------------------------------------------------------------------------------------
11  
12 < #ifndef TREEFILLER_FILLERSUPERCLUSTERS_H
13 < #define TREEFILLER_FILLERSUPERCLUSTERS_H
12 > #ifndef MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H
13 > #define MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H
14  
15 < #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"
15 > #include "MitAna/DataTree/interface/SuperClusterCol.h"
16   #include "MitProd/TreeFiller/interface/AssociationMaps.h"
17 + #include "MitProd/TreeFiller/interface/BaseFiller.h"
18  
19   namespace mithep
20   {
# Line 26 | Line 24 | namespace mithep
24        FillerSuperClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
25        ~FillerSuperClusters();
26  
27 <      void            BookDataBlock(TreeWriter &tws);
28 <      void            FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29 <      
32 <      const mithep::SuperClusterMap    *GetSuperClusterMap() const { return superClusterMap_; }
27 >      void                            BookDataBlock(TreeWriter &tws, const edm::EventSetup &es);
28 >      void                            FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29 >      const mithep::SuperClusterMap  *GetSuperClusterMap() const { return superClusterMap_; }
30  
31      private:
32 <      std::string                           edmName_;
33 <      std::string                           mitName_;
34 <
35 <      std::string                           basicClusterMapName_;          //name of imported map wrt basic clusters
36 <      std::string                           superClusterMapName_;          //name of export map
37 <
38 <      const mithep::BasicClusterMap         *basicClusterMap_;             //map wrt basic clusters
39 <
40 <      mithep::SuperClusterArr               *superClusters_;               //array of super clusters
44 <      mithep::SuperClusterMap               *superClusterMap_;             //map wrt super clusters
45 <      
46 <      
32 >      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    };
42   }
43   #endif
50

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines