ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerConversions.h
Revision: 1.3
Committed: Mon Jul 7 16:14:01 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.2: +7 -7 lines
Log Message:
coding conventions

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.3 // $Id: FillerConversions.h,v 1.2 2008/07/03 07:56:14 loizides Exp $
3 bendavid 1.1 //
4     // FillerConversions
5     //
6 loizides 1.2 // Todo
7 bendavid 1.1 //
8     // Authors: J. Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef TREEFILLER_FILLERCONVERSIONS_H
12     #define TREEFILLER_FILLERCONVERSIONS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "MitAna/DataUtil/interface/TreeWriter.h"
16     #include "DataFormats/TrackReco/interface/TrackFwd.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 FillerConversions : public BaseFiller
24     {
25     public:
26 loizides 1.2 FillerConversions(const edm::ParameterSet &cfg, bool active=1,
27     const ConversionElectronMap *conversionElectronMap=0);
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     const ConversionMap *GetConversionMap() const { return conversionMap_; }
33 bendavid 1.1
34     private:
35 loizides 1.3 std::string edmName_;
36     std::string mitName_;
37     const mithep::ConversionElectronMap* conversionElectronMap_;
38     mithep::ConversionArr *conversions_;
39     mithep::ConversionMap *conversionMap_;
40     edm::Handle<reco::ConversionCollection> conversionProduct_;
41 bendavid 1.1 };
42     }
43     #endif