ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerEmbedWeight.h
Revision: 1.2
Committed: Fri Dec 28 17:27:20 2012 UTC (12 years, 4 months ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_030_pre1, Mit_029a
Changes since 1.1: +2 -1 lines
Log Message:
Added Embedded and PFAOD functionality

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerEmbedWeight.h,v 1.1 2011/11/24 11:41:42 pharris Exp $
3 //
4 // FillerMCEventInfo
5 //
6 // Implementation of a filler that stores MC related quantities, like the pdf info, in the
7 // bambu records.
8 //
9 // Authors: C.Loizides
10 //--------------------------------------------------------------------------------------------------
11
12 #ifndef MITPROD_TREEFILLER_FILLEREMBEDWEIGHT_H
13 #define MITPROD_TREEFILLER_FILLEREMBEDWEIGHT_H
14
15 #include "MitAna/DataTree/interface/EmbedWeightFwd.h"
16 #include "MitProd/TreeFiller/interface/BaseFiller.h"
17
18 namespace mithep
19 {
20 class FillerEmbedWeight : public BaseFiller
21 {
22 public:
23 FillerEmbedWeight(const edm::ParameterSet &cfg,
24 const char *name="EmbedWeight", bool active=1);
25 ~FillerEmbedWeight();
26
27 void BookDataBlock(TreeWriter &tws);
28 void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
29
30 private:
31 std::string edmName_; //edmname
32 bool genInfo_;
33 std::string mitName_; //mitname
34 EmbedWeightArr *embedWeight_; //event info
35 };
36 }
37 #endif