#ifndef ANALYSIS_EX_H #define ANALYSIS_EX_H #include #include #include #include #include #include #include #include "TClonesArray.h" #include #include #include "Utilities/ExRootAnalysis/interface/ExRootTreeReader.h" #include "Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h" #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h" #include "Utilities/ExRootAnalysis/interface/TSimpleArray.h" #include "Utilities/ExRootAnalysis/interface/BlockClasses.h" #include #include #include #include using namespace std; class Analysis_Ex { public : Analysis_Ex(string CardWithCuts,string LogName); ~Analysis_Ex(); void Run(ExRootTreeReader *treeReaderGen, ExRootTreeReader *treeReaderRec, ExRootTreeReader *treeReaderTrig);//Analyze de l'event void WriteOutput(string LogName); private : int total, cut_trig,cut_1,cut_2; //******** Thresholds definition *********** float INV_MASS_LL; float PT_ELEC,PT_MUON; TSimpleArray SubArrayEl(const TClonesArray *ELEC,float pt); TSimpleArray SubArrayMu(const TClonesArray *MUON,float pt); }; #endif