ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFTaus.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: FillerPFTaus.h,v 1.10 2009/03/15 11:20:40 loizides Exp $
3     //
4     // FillerPFTaus
5     //
6     // Implementation of a filler to fill EDM pf taus into our mithep::PFTau data structure.
7     //
8     // Authors: C.Loizides, J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPFTAUS_H
12     #define MITPROD_TREEFILLER_FILLERPFTAUS_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 FillerPFTaus : public BaseFiller
23     {
24     public:
25     FillerPFTaus(const edm::ParameterSet &cfg, const char *name, bool active=1);
26     ~FillerPFTaus();
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 PFJetMap
36     std::string pfCandMapName_; //name of imported PFCandidateMap
37     const mithep::TrackMap *trackMap_; //map wrt Tracks
38     const mithep::PFJetMap *jetMap_; //map wrt pfjets
39     const mithep::PFCandidateMap *pfCandMap_; //map wrt pf candidates
40     mithep::PFTauArr *taus_; //array of taus
41     };
42     }
43     #endif