ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerBasicClusters.h
Revision: 1.3
Committed: Sun Mar 15 11:20:40 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre2
Changes since 1.2: +9 -8 lines
Log Message:
Introduced BranchTable plus general cleanup.

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.3 // $Id: FillerBasicClusters.h,v 1.2 2008/09/10 03:30:22 loizides Exp $
3 sixie 1.1 //
4     // FillerBasicClusters
5     //
6 loizides 1.3 // Implementation of a filler to fill EDM basic clusters into the
7     // mithep::BasicCluster data structure.
8 sixie 1.1 //
9 loizides 1.3 // Authors: S.Xie
10 sixie 1.1 //--------------------------------------------------------------------------------------------------
11    
12 loizides 1.2 #ifndef MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H
13     #define MITPROD_TREEFILLER_FILLERBASICCLUSTERS_H
14 sixie 1.1
15     #include "FWCore/ParameterSet/interface/ParameterSet.h"
16     #include "MitAna/DataUtil/interface/TreeWriter.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 FillerBasicClusters : public BaseFiller
24     {
25     public:
26     FillerBasicClusters(const edm::ParameterSet &cfg, const char *name, bool active=1);
27     ~FillerBasicClusters();
28    
29     void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31     const BasicClusterMap *GetBasicClusterMap() const { return basicClusterMap_; }
32    
33     private:
34 loizides 1.3 std::string edmName_; //edm name of clusters
35     std::string mitName_; //mit name of clusters
36     std::string basicClusterMapName_; //name of export map
37     mithep::BasicClusterArr *basicClusters_; //array of basic clusters
38     mithep::BasicClusterMap *basicClusterMap_; //map wrt basic Clusters
39 sixie 1.1 };
40     }
41     #endif