Fork me on GitHub

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

Last change on this file since 539 was 443, checked in by Xavier Rouby, 15 years ago

new header in all files

File size: 3.5 KB
Line 
1#ifndef ANALYSIS_EX_H
2#define ANALYSIS_EX_H
3
4/***********************************************************************
5** **
6** /----------------------------------------------\ **
7** | Delphes, a framework for the fast simulation | **
8** | of a generic collider experiment | **
9** \------------- arXiv:0903.2225v1 ------------/ **
10** **
11** **
12** This package uses: **
13** ------------------ **
14** ROOT: Nucl. Inst. & Meth. in Phys. Res. A389 (1997) 81-86 **
15** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
16** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
17** FROG: [hep-ex/0901.2718v1] **
18** HepMC: Comput. Phys. Commun.134 (2001) 41 **
19** **
20** ------------------------------------------------------------------ **
21** **
22** Main authors: **
23** ------------- **
24** **
25** Severine Ovyn Xavier Rouby **
26** severine.ovyn@uclouvain.be xavier.rouby@cern **
27** **
28** Center for Particle Physics and Phenomenology (CP3) **
29** Universite catholique de Louvain (UCL) **
30** Louvain-la-Neuve, Belgium **
31** **
32** Copyright (C) 2008-2009, **
33** All rights reserved. **
34** **
35***********************************************************************/
36
37#include "TObject.h"
38#include "TClonesArray.h"
39#include <string>
40
41#include "Utilities/ExRootAnalysis/interface/ExRootTreeReader.h"
42#include "Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h"
43#include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h"
44#include "Utilities/ExRootAnalysis/interface/TSimpleArray.h"
45#include "Utilities/ExRootAnalysis/interface/BlockClasses.h"
46
47using namespace std;
48
49class Analysis_Ex
50{
51public :
52
53 Analysis_Ex(string CardWithCuts,string LogName);
54 ~Analysis_Ex();
55
56 void Run(ExRootTreeReader *treeReaderGen, ExRootTreeReader *treeReaderRec, ExRootTreeReader *treeReaderTrig, ExRootTreeWriter *treeWriter);//Analyze de l'event
57 void WriteOutput(string LogName);
58
59private :
60
61 int total, cut_trig,cut_1,cut_2;
62
63 //******** Thresholds definition ***********
64 float INV_MASS_LL;
65 float PT_ELEC,PT_MUON;
66
67 TSimpleArray<TRootElectron> SubArrayEl(const TClonesArray *ELEC,float pt);
68 TSimpleArray<TRootMuon> SubArrayMu(const TClonesArray *MUON,float pt);
69
70};
71
72//------------------------------------------------------------------------------
73
74class TRootInvm: public TObject
75{
76public:
77
78Float_t M;
79
80 ClassDef(TRootInvm, 1)
81};
82
83
84#endif
Note: See TracBrowser for help on using the repository browser.