1 |
//--------------------------------------------------------------------------------------------------
|
2 |
// $Id: FillerMetaInfos.h,v 1.1 2008/06/19 16:53:43 loizides Exp $
|
3 |
//
|
4 |
// FillerMetaInfos
|
5 |
//
|
6 |
// Authors: C.Loizides
|
7 |
//--------------------------------------------------------------------------------------------------
|
8 |
|
9 |
#ifndef TREEFILLER_FILLERMETAINFOS_H
|
10 |
#define TREEFILLER_FILLERMETAINFOS_H
|
11 |
|
12 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
13 |
#include "MitAna/DataTree/interface/EventHeader.h"
|
14 |
#include "MitAna/DataTree/interface/RunInfo.h"
|
15 |
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
16 |
|
17 |
namespace mithep
|
18 |
{
|
19 |
class FillerMetaInfos : public BaseFiller
|
20 |
{
|
21 |
public:
|
22 |
FillerMetaInfos(const edm::ParameterSet&);
|
23 |
~FillerMetaInfos();
|
24 |
|
25 |
void BookDataBlock(TreeWriter &tws);
|
26 |
void FillDataBlock(const edm::Event&, const edm::EventSetup&);
|
27 |
void FillRunInfo(const edm::Event&, const edm::EventSetup&);
|
28 |
|
29 |
private:
|
30 |
std::string evtName_;
|
31 |
std::string runName_;
|
32 |
EventHeader *eventHeader_;
|
33 |
RunInfo *runInfo_;
|
34 |
TTree *runTree_;
|
35 |
Int_t runEntries_;
|
36 |
std::map<UInt_t,Int_t> runmap_;
|
37 |
};
|
38 |
}
|
39 |
#endif
|