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.8 by bendavid, Thu Mar 18 20:21:00 2010 UTC vs.
Revision 1.11 by paus, Sat May 5 16:49:59 2012 UTC

# Line 3 | Line 3
3   //
4   // FillerSuperClusters
5   //
6 < // Implementation of a filler to fill EDM super clusters into our mithep::SuperCluster
7 < // data structure.
6 > // Implementation of a filler to fill EDM super clusters into our mithep::SuperCluster data
7 > // structure.
8   //
9 < // Authors: S.Xie
9 > // Authors: C.Paus, J.Bendavid, S.Xie
10   //--------------------------------------------------------------------------------------------------
11  
12   #ifndef MITPROD_TREEFILLER_FILLERSUPERCLUSTERS_H
# Line 16 | Line 16
16   #include "MitProd/TreeFiller/interface/AssociationMaps.h"
17   #include "MitProd/TreeFiller/interface/BaseFiller.h"
18  
19 + class CaloGeometry;
20 + class CaloSubdetectorTopology;
21 + class EcalRecHit;
22 +
23   namespace mithep
24   {
25    class FillerSuperClusters : public BaseFiller
# Line 24 | Line 28 | namespace mithep
28        FillerSuperClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
29        ~FillerSuperClusters();
30  
31 <      void                            BookDataBlock(TreeWriter &tws);
32 <      void                            FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
33 <      const mithep::SuperClusterMap  *GetSuperClusterMap() const { return superClusterMap_; }
31 >      void                             BookDataBlock(TreeWriter &tws);
32 >      void                             FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
33 >      const mithep::SuperClusterMap   *GetSuperClusterMap() const { return superClusterMap_; }
34 >
35 >    protected:
36 >      std::vector<float>               getESHits(double X, double Y, double Z,
37 >                                                 std::map<DetId, EcalRecHit> rechits_map,
38 >                                                 const CaloGeometry& geometry,
39 >                                                 CaloSubdetectorTopology *topology_p, int row);    
40 >      std::vector<float>               getESShape(std::vector<float> ESHits0);
41  
42      private:
43 <      std::string                     edmName_;               //edm name of collection
44 <      std::string                     mitName_;               //mit name of collection
45 <      std::string                     basicClusterMapName_;   //name of imp. map wrt basic clus
46 <      std::string                     superClusterMapName_;   //name of exported map
47 <      std::string                     superClusterIdMapName_; //name of exported id map
48 <      const mithep::BasicClusterMap  *basicClusterMap_;       //map wrt basic clusters
49 <      mithep::SuperClusterArr        *superClusters_;         //array of super clusters
50 <      mithep::SuperClusterMap        *superClusterMap_;       //map wrt super clusters
51 <      mithep::SuperClusterIdMap      *superClusterIdMap_;     //map of DetIds to superclusters
43 >      std::string                      edmName_;               //edm name of collection
44 >      std::string                      mitName_;               //mit name of collection
45 >      std::string                      basicClusterMapName_;   //name of imp. map wrt basic clus
46 >      std::string                      psClusterMapName_;      //name of imp. map wrt ps clus
47 >      std::string                      caloTowerDetIdMapName_; //name of imp. map wrt caloTowerDetId
48 >      std::string                      superClusterMapName_;   //name of exported map
49 >      std::string                      superClusterIdMapName_; //name of exported id map
50 >      std::string                      caloTowerName_;         //name of calotower collection
51 >      const mithep::BasicClusterMap   *basicClusterMap_;       //map wrt basic clusters
52 >      const mithep::PsClusterMap      *psClusterMap_;          //map wrt preshower clusters
53 >      const mithep::CaloTowerDetIdMap *caloTowerDetIdMap_;    //map wrt calo tower det id's
54 >      mithep::SuperClusterArr         *superClusters_;         //array of super clusters
55 >      mithep::SuperClusterMap         *superClusterMap_;       //map wrt super clusters
56 >      mithep::SuperClusterIdMap       *superClusterIdMap_;     //map of DetIds to superclusters
57    };
58   }
59   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines