ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Utils/interface/DiTauSystem.h
Revision: 1.1
Committed: Tue Oct 14 06:13:55 2008 UTC (16 years, 6 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
Start of MitPhysics

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: DiTauSystem.h,v 1.1 2008/10/06 15:57:45 ceballos Exp $
3     //
4     // to calculate the mass to the di-tau system, I
5     // assume that the tau is boosted and that the
6     // neutrinos have the same flight direction as the
7     // tau.
8     //
9     // Authors: ceballos
10     //--------------------------------------------------------------------------------------------------
11    
12     // TODO: Needs cleanup CL
13    
14     #ifndef MITPHYSICS_UTILS_DITAUSYSTEM_H
15     #define MITPHYSICSUTILS_DITAUSYSTEM_H
16    
17     #include "MitAna/DataTree/interface/Collections.h"
18    
19     namespace mithep
20     {
21     class DiTauSystem {
22     public:
23    
24     DiTauSystem(ChargedParticle *t1, ChargedParticle *t2, Met *met);
25     ~DiTauSystem() {};
26    
27     double RecoMass() {return fRecoMass;}
28     double VisMass() {return fVisMass;}
29     double XTau1() {return fXTau[0];}
30     double XTau2() {return fXTau[1];}
31     double TransverseMass() {return fMT;}
32     double TransverseEll() {return fETll;}
33     double TransverseEnn() {return fETnn;}
34    
35     private:
36     void init();
37    
38     ChargedParticle *fT1;
39     ChargedParticle *fT2;
40     Met *fMet;
41    
42     // derived data members
43     double fXTau[2];
44     double fRecoMass;
45     double fVisMass;
46     double fMT;
47     double fETll;
48     double fETnn;
49     };
50     }
51     #endif