Fork me on GitHub

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

Last change on this file since 384 was 260, checked in by severine ovyn, 15 years ago

add header

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