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