ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerConversions.h
Revision: 1.8
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.7: +2 -2 lines
Log Message:
Introduced BranchTable plus general cleanup.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.8 // $Id: FillerConversions.h,v 1.7 2009/03/10 15:56:00 loizides Exp $
3 bendavid 1.1 //
4     // FillerConversions
5     //
6 loizides 1.5 // Implementation of a filler creating mithep::Conversion objects from the reconstructed
7     // conversion electrons.
8 bendavid 1.1 //
9 loizides 1.4 // Authors: J.Bendavid
10 bendavid 1.1 //--------------------------------------------------------------------------------------------------
11    
12 loizides 1.6 #ifndef MITPROD_TREEFILLER_FILLERCONVERSIONS_H
13     #define MITPROD_TREEFILLER_FILLERCONVERSIONS_H
14 bendavid 1.1
15     #include "FWCore/ParameterSet/interface/ParameterSet.h"
16     #include "MitAna/DataUtil/interface/TreeWriter.h"
17     #include "DataFormats/TrackReco/interface/TrackFwd.h"
18     #include "MitAna/DataTree/interface/Collections.h"
19     #include "MitProd/TreeFiller/interface/BaseFiller.h"
20     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
21    
22     namespace mithep
23     {
24     class FillerConversions : public BaseFiller
25     {
26     public:
27 loizides 1.7 FillerConversions(const edm::ParameterSet &cfg, const char *name, bool active=1);
28 bendavid 1.1 ~FillerConversions();
29    
30 loizides 1.2 void BookDataBlock(TreeWriter &tws);
31     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
32 bendavid 1.1
33     private:
34 loizides 1.5 std::string edmName_; //name of edm conversions
35 loizides 1.8 std::string mitName_; //mit name of Conversions
36 loizides 1.5 std::string convElectronMapName_; //name of imported electrons map
37     std::string conversionMapName_; //name of exported conv map
38     const mithep::ConversionElectronMap *convElectronMap_; //imported map wrt conv electrons
39     mithep::ConversionArr *conversions_; //array of Conversions
40     mithep::ConversionMap *conversionMap_; //exported map wrt Conversions
41 bendavid 1.1 };
42     }
43     #endif