ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/DiTauSystem.h
Revision: 1.2
Committed: Fri Nov 28 10:29:24 2008 UTC (16 years, 5 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.1: +32 -34 lines
Log Message:
Coding conventions plus minor mem leak bugfix.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: DiTauSystem.h,v 1.1 2008/10/15 06:02:05 loizides Exp $
3 loizides 1.1 //
4 loizides 1.2 // DiTauSystem
5 loizides 1.1 //
6 loizides 1.2 // Class to calculate the mass to the di-tau system. It is assumed that the tau is boosted
7     // and that the neutrinos have the same flight direction as the tau.
8     //
9     // Authors: G.Ceballos
10 loizides 1.1 //--------------------------------------------------------------------------------------------------
11    
12     #ifndef MITPHYSICS_UTILS_DITAUSYSTEM_H
13 loizides 1.2 #define MITPHYSICS_UTILS_DITAUSYSTEM_H
14 loizides 1.1
15 loizides 1.2 #include <Rtypes.h>
16 loizides 1.1
17     namespace mithep
18     {
19 loizides 1.2 class ChargedParticle;
20     class Met;
21    
22 loizides 1.1 class DiTauSystem {
23     public:
24 loizides 1.2 DiTauSystem(ChargedParticle *t1, ChargedParticle *t2, Met *met);
25     ~DiTauSystem() {}
26 loizides 1.1
27 loizides 1.2 Double_t RecoMass() const { return fRecoMass;}
28     Double_t TransverseMass() const { return fMT; }
29     Double_t TransverseEll() const { return fETll; }
30     Double_t TransverseEnn() const { return fETnn; }
31     Double_t VisMass() const { return fVisMass; }
32     Double_t XTau1() const { return fXTau[0]; }
33     Double_t XTau2() const { return fXTau[1]; }
34 loizides 1.1
35 loizides 1.2 private:
36     void Init();
37 loizides 1.1
38 loizides 1.2 ChargedParticle *fT1; //first tau
39     ChargedParticle *fT2; //second tau
40     Met *fMet; //missing et
41     Double_t fXTau[2]; //
42     Double_t fRecoMass; //
43     Double_t fVisMass; //
44     Double_t fMT; //
45     Double_t fETll; //
46     Double_t fETnn; //
47     };
48 loizides 1.1 }
49     #endif