ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerConversions.h
Revision: 1.7
Committed: Tue Mar 10 15:56:00 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.6: +2 -2 lines
Log Message:
Introduced more dynamic filling interface.

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerConversions.h,v 1.6 2008/09/10 03:30:22 loizides Exp $
3 //
4 // FillerConversions
5 //
6 // Implementation of a filler creating mithep::Conversion objects from the reconstructed
7 // conversion electrons.
8 //
9 // Authors: J.Bendavid
10 //--------------------------------------------------------------------------------------------------
11
12 #ifndef MITPROD_TREEFILLER_FILLERCONVERSIONS_H
13 #define MITPROD_TREEFILLER_FILLERCONVERSIONS_H
14
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 FillerConversions(const edm::ParameterSet &cfg, const char *name, bool active=1);
28 ~FillerConversions();
29
30 void BookDataBlock(TreeWriter &tws);
31 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
32
33 private:
34 std::string edmName_; //name of edm conversions
35 std::string mitName_; //name of Conversions in OAK
36 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 };
42 }
43 #endif