Fork me on GitHub

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

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

new header in all files

File size: 3.5 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 | **
[443]9** \------------- arXiv:0903.2225v1 ------------/ **
[260]10** **
11** **
12** This package uses: **
13** ------------------ **
[443]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] **
[260]17** FROG: [hep-ex/0901.2718v1] **
[443]18** HepMC: Comput. Phys. Commun.134 (2001) 41 **
[260]19** **
20** ------------------------------------------------------------------ **
21** **
22** Main authors: **
23** ------------- **
24** **
[443]25** Severine Ovyn Xavier Rouby **
26** severine.ovyn@uclouvain.be xavier.rouby@cern **
[260]27** **
[443]28** Center for Particle Physics and Phenomenology (CP3) **
29** Universite catholique de Louvain (UCL) **
30** Louvain-la-Neuve, Belgium **
31** **
[260]32** Copyright (C) 2008-2009, **
[443]33** All rights reserved. **
[260]34** **
35***********************************************************************/
36
[227]37#include "TObject.h"
[81]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
[84]56 void Run(ExRootTreeReader *treeReaderGen, ExRootTreeReader *treeReaderRec, ExRootTreeReader *treeReaderTrig, ExRootTreeWriter *treeWriter);//Analyze de l'event
[81]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
[84]72//------------------------------------------------------------------------------
73
74class TRootInvm: public TObject
75{
76public:
77
78Float_t M;
79
80 ClassDef(TRootInvm, 1)
81};
82
83
[81]84#endif
Note: See TracBrowser for help on using the repository browser.