Fork me on GitHub

source: svn/trunk/Examples/interface/Analysis_Ex.h@ 237

Last change on this file since 237 was 227, checked in by Xavier Rouby, 16 years ago

include statements have been cleaned

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