-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTopReader.h
50 lines (41 loc) · 1013 Bytes
/
TopReader.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
//
// Reader for ttbar Events
//
// This class reads events according to the TopSel
//
// first version: Hartmut Stadie 2008/12/12
// $Id: TopReader.h,v 1.9 2009/11/25 13:07:45 stadie Exp $
//
#ifndef TOPREADER_H
#define TOPREADER_H
#include <string>
#include <memory>
#include "EventReader.h"
class TopSel;
class Event;
class TH2F;
class TopReader : public EventReader{
public:
TopReader(const std::string& configfile, Parameters *p);
virtual ~TopReader();
int readEvents(std::vector<Event*>& data);
private:
Event* createTwoJetsInvMassEvents();
CorFactors* createCorFactors(int jetid) const;
std::auto_ptr<TopSel> top_;
double minJetEt_;
double maxJetEta_;
double minJetHadFrac_;
double maxJetHadFrac_;
bool useToL3CorrectedJets_;
bool useMassConstraintW_;
bool useMassConstraintTop_;
bool useGenJetInvMass_;
double massConstraintW_;
double massConstraintTop_;
int nTopEvents_;
int dataClass_;
bool createGenWHist_;
TH2F* genWPtEta_;
};
#endif