ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/src/FillerMetaInfos.cc
Revision: 1.1
Committed: Thu Jun 19 16:53:43 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Added FillerMetaInfos. Reworked BaseFiller.

File Contents

# User Rev Content
1 loizides 1.1 // $Id: FillerMetaInfos.cc,v 1.3 2008/06/18 19:17:21 loizides Exp $
2    
3     #include "MitProd/TreeFiller/interface/FillerMetaInfos.h"
4     #include "FWCore/MessageLogger/interface/MessageLogger.h"
5     #include "DataFormats/Common/interface/Handle.h"
6     #include "MitAna/DataTree/interface/Names.h"
7    
8     using namespace std;
9     using namespace edm;
10     using namespace mithep;
11    
12     //-------------------------------------------------------------------------------------------------
13     FillerMetaInfos::FillerMetaInfos(const ParameterSet &cfg) :
14     BaseFiller(cfg,"MetaInfos")
15     {
16     }
17    
18     //-------------------------------------------------------------------------------------------------
19     FillerMetaInfos::~FillerMetaInfos()
20     {
21     }
22    
23     //-------------------------------------------------------------------------------------------------
24     void FillerMetaInfos::BookDataBlock(TreeWriter *tws)
25     {
26     if (! tws) {
27     throw edm::Exception(edm::errors::Configuration, "FillerMetaInfos::BookDataBlock()\n")
28     << "Invalid pointer.\n";
29     return;
30     }
31     // tws->AddBranch(mitName_.c_str(),&muons_);
32     }
33    
34     //-------------------------------------------------------------------------------------------------
35     void FillerMetaInfos::FillDataBlock(const edm::Event &event,
36     const edm::EventSetup &setup)
37     {
38    
39     }
40    
41     //-------------------------------------------------------------------------------------------------
42     void FillerMetaInfos::ResolveLinks(const edm::Event &event,
43     const edm::EventSetup &setup)
44     {
45    
46     }