source: trunk/modules/MadGraphMatchingTreeWriter.h@ 21

Last change on this file since 21 was 13, checked in by Pavel Demin, 16 years ago

add configuration for branches

File size: 983 bytes
Line 
1#ifndef MadGraphMatchingTreeWriter_h
2#define MadGraphMatchingTreeWriter_h
3
4#include "ExRootAnalysis/ExRootModule.h"
5
6#include <map>
7
8class TClass;
9class TIterator;
10class ExRootTreeBranch;
11
12class MadGraphMatchingTreeWriter: public ExRootModule
13{
14public:
15
16 MadGraphMatchingTreeWriter();
17 ~MadGraphMatchingTreeWriter();
18
19 void Init();
20 void Process();
21 void Finish();
22
23private:
24
25 void ProcessPartons(ExRootTreeBranch *branch, TIterator *iterator);
26 void ProcessMatching(ExRootTreeBranch *branch, TIterator *iterator);
27 void ProcessJets(ExRootTreeBranch *branch, TIterator *iterator);
28
29 Double_t fJetPTMin, fJetEtaMax; //!
30#ifndef __CINT__
31 typedef void (MadGraphMatchingTreeWriter::*TProcessMethod)(ExRootTreeBranch*, TIterator*); //!
32
33 typedef std::map<ExRootTreeBranch *, std::pair<TProcessMethod, TIterator*> > TBranchMap; //!
34
35 TBranchMap fBranchMap; //!
36
37 std::map< TClass *, TProcessMethod > fClassMap; //!
38#endif
39 ClassDef(MadGraphMatchingTreeWriter, 1)
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.