Line | |
---|
1 | #ifndef ANALYSIS_EX_H
|
---|
2 | #define ANALYSIS_EX_H
|
---|
3 |
|
---|
4 | #include <TROOT.h>
|
---|
5 | #include <TChain.h>
|
---|
6 | #include <TFile.h>
|
---|
7 | #include <TParticle.h>
|
---|
8 | #include <TObject.h>
|
---|
9 | #include <TFormula.h>
|
---|
10 | #include <TLorentzVector.h>
|
---|
11 | #include "TClonesArray.h"
|
---|
12 | #include <vector>
|
---|
13 | #include <string>
|
---|
14 |
|
---|
15 | #include "Utilities/ExRootAnalysis/interface/ExRootTreeReader.h"
|
---|
16 | #include "Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h"
|
---|
17 | #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h"
|
---|
18 |
|
---|
19 | #include "Utilities/ExRootAnalysis/interface/TSimpleArray.h"
|
---|
20 |
|
---|
21 | #include "Utilities/ExRootAnalysis/interface/BlockClasses.h"
|
---|
22 |
|
---|
23 | #include <iostream>
|
---|
24 | #include <sstream>
|
---|
25 | #include <fstream>
|
---|
26 | #include <iomanip>
|
---|
27 |
|
---|
28 | using namespace std;
|
---|
29 |
|
---|
30 | class Analysis_Ex
|
---|
31 | {
|
---|
32 | public :
|
---|
33 |
|
---|
34 | Analysis_Ex(string CardWithCuts,string LogName);
|
---|
35 | ~Analysis_Ex();
|
---|
36 |
|
---|
37 | void Run(ExRootTreeReader *treeReaderGen, ExRootTreeReader *treeReaderRec, ExRootTreeReader *treeReaderTrig, ExRootTreeWriter *treeWriter);//Analyze de l'event
|
---|
38 | void WriteOutput(string LogName);
|
---|
39 |
|
---|
40 | private :
|
---|
41 |
|
---|
42 | int total, cut_trig,cut_1,cut_2;
|
---|
43 |
|
---|
44 | //******** Thresholds definition ***********
|
---|
45 | float INV_MASS_LL;
|
---|
46 | float PT_ELEC,PT_MUON;
|
---|
47 |
|
---|
48 | TSimpleArray<TRootElectron> SubArrayEl(const TClonesArray *ELEC,float pt);
|
---|
49 | TSimpleArray<TRootMuon> SubArrayMu(const TClonesArray *MUON,float pt);
|
---|
50 |
|
---|
51 | };
|
---|
52 |
|
---|
53 | //------------------------------------------------------------------------------
|
---|
54 |
|
---|
55 | class TRootInvm: public TObject
|
---|
56 | {
|
---|
57 | public:
|
---|
58 |
|
---|
59 | Float_t M;
|
---|
60 |
|
---|
61 | ClassDef(TRootInvm, 1)
|
---|
62 | };
|
---|
63 |
|
---|
64 |
|
---|
65 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.