forked from crovelli/HHggbb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RedNtpFinalizer_commonNtp.h
53 lines (36 loc) · 1.35 KB
/
RedNtpFinalizer_commonNtp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef RedNtpFinalizer_commonNtp_h
#define RedNtpFinalizer_commonNtp_h
#include <vector>
#include "TChain.h"
#include "TH1F.h"
#include "TFile.h"
#include "AnalysisJet.h"
#include "RedNtpFinalizer.h"
class RedNtpFinalizer_commonNtp {
public:
RedNtpFinalizer_commonNtp( const std::string& analyzerType, const std::string& dataset, const std::string& flags="" );
virtual ~RedNtpFinalizer_commonNtp();
void createOutputFile( const std::string& additionalFlags="" );
virtual void addFile(const std::string& dataseti, const std::string& selection="");
TChain* get_tree() { return tree_; };
TFile* get_outFile() { return outFile_; };
bool get_DEBUG() { return DEBUG_; };
void clear();
void set_outFile( const std::string& fileName="", const std::string& suffix="" );
void set_outputDir( const std::string& outputDir ) { outputDir_ = outputDir; };
void set_dataset( const std::string& dataset ) { dataset_ = dataset; };
void set_redNtpDir( const std::string& redNtpDir ) { redNtpDir_ = redNtpDir; };
void set_flags( const std::string& flags ) { flags_ = flags; };
void set_DEBUG( bool DEBUG ) { DEBUG_ = DEBUG; };
virtual void finalize() = 0;
TChain* tree_;
std::string analyzerType_;
std::string outputDir_;
std::string redNtpDir_;
std::string dataset_;
std::string flags_;
TFile* outFile_;
bool DEBUG_;
private:
};
#endif