ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerEmbedWeight.h
Revision: 1.1
Committed: Thu Nov 24 11:41:42 2011 UTC (13 years, 5 months ago) by pharris
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_025c_branch2, Mit_025c_branch1, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b
Branch point for: Mit_025c_branch
Log Message:
Added Embedded Weight

File Contents

# User Rev Content
1 pharris 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerMCEventInfo.h,v 1.11 2010/03/18 20:21:00 bendavid 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     std::string mitName_; //mitname
33     EmbedWeightArr *embedWeight_; //event info
34     };
35     }
36     #endif