ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerCaloTaus.h
Revision: 1.1
Committed: Fri Mar 20 18:47:45 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
Log Message:
Added tau fillers

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerCaloTaus.h,v 1.10 2009/03/15 11:20:40 loizides Exp $
3     //
4     // FillerCaloTaus
5     //
6     // Implementation of a filler to fill EDM calo taus into our mithep::CaloTau data structure.
7     //
8     // Authors: C.Loizides, J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERCALOTAUS_H
12     #define MITPROD_TREEFILLER_FILLERCALOTAUS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "MitAna/DataUtil/interface/TreeWriter.h"
16     #include "MitAna/DataTree/interface/Collections.h"
17     #include "MitProd/TreeFiller/interface/BaseFiller.h"
18     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
19    
20     namespace mithep
21     {
22     class FillerCaloTaus : public BaseFiller
23     {
24     public:
25     FillerCaloTaus(const edm::ParameterSet &cfg, const char *name, bool active=1);
26     ~FillerCaloTaus();
27    
28     void BookDataBlock(TreeWriter &tws);
29     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
30    
31     private:
32     std::string edmName_; //edm name of jets collection
33     std::string mitName_; //mit name of jets collection
34     std::string trackMapName_; //name of imported TrackMap
35     std::string jetMapName_; //name of imported CaloJetMap
36     std::string barrelBCMapName_; //name of imported barrel BasicCluster Map name
37     std::string endcapBCMapName_; //name of imported endcap BasicCluster Map name
38     const mithep::TrackMap *trackMap_; //map wrt Tracks
39     const mithep::CaloJetMap *jetMap_; //map wrt calojets
40     const mithep::BasicClusterMap *barrelBCMap_; //map wrt barrel Basic Clusters
41     const mithep::BasicClusterMap *endcapBCMap_; //map wrt endcap Basic Clusters
42     mithep::CaloTauArr *taus_; //array of Jets
43     };
44     }
45     #endif