ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/DiTauSystem.h
(Generate patch)

Comparing UserCode/MitPhysics/Utils/interface/DiTauSystem.h (file contents):
Revision 1.1 by loizides, Wed Oct 15 06:02:05 2008 UTC vs.
Revision 1.3 by ceballos, Fri Nov 28 10:46:28 2008 UTC

# Line 1 | Line 1
1   //--------------------------------------------------------------------------------------------------
2   // $Id$
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.
4 > // DiTauSystem
5   //
6 < // Authors: ceballos
6 > // 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 > // CMS note 2006/082
9 > //
10 > // Authors: G.Ceballos
11   //--------------------------------------------------------------------------------------------------
12  
12 // TODO: Needs cleanup CL
13
13   #ifndef MITPHYSICS_UTILS_DITAUSYSTEM_H
14 < #define MITPHYSICSUTILS_DITAUSYSTEM_H
14 > #define MITPHYSICS_UTILS_DITAUSYSTEM_H
15  
16 < #include "MitAna/DataTree/interface/Collections.h"
16 > #include <Rtypes.h>
17  
18   namespace mithep
19   {
20 +  class ChargedParticle;
21 +  class Met;
22 +
23    class DiTauSystem {
24      public:
25 +      DiTauSystem(ChargedParticle *t1, ChargedParticle *t2, Met *met);
26 +      ~DiTauSystem() {}
27  
28 <  DiTauSystem(ChargedParticle *t1, ChargedParticle *t2, Met *met);
29 <  ~DiTauSystem() {};
30 <
31 <  double        RecoMass()       {return fRecoMass;}
32 <  double        VisMass()        {return fVisMass;}
33 <  double        XTau1()          {return fXTau[0];}
34 <  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();
28 >      Double_t         RecoMass()        const { return fRecoMass;}
29 >      Double_t         TransverseMass()  const { return fMT;      }
30 >      Double_t         TransverseEll()   const { return fETll;    }
31 >      Double_t         TransverseEnn()   const { return fETnn;    }
32 >      Double_t         VisMass()         const { return fVisMass; }
33 >      Double_t         XTau1()           const { return fXTau[0]; }
34 >      Double_t         XTau2()           const { return fXTau[1]; }
35    
36 <  ChargedParticle *fT1;
37 <  ChargedParticle *fT2;
40 <  Met             *fMet;
36 >    private:
37 >      void             Init();
38    
39 <  // derived data members
40 <  double        fXTau[2];
41 <  double        fRecoMass;
42 <  double        fVisMass;
43 <  double        fMT;
44 <  double        fETll;
45 <  double        fETnn;
46 < };
39 >      ChargedParticle *fT1;       //first tau
40 >      ChargedParticle *fT2;       //second tau
41 >      Met             *fMet;      //missing et
42 >      Double_t         fXTau[2];  //visible fraction of the tau momenta
43 >      Double_t         fRecoMass; //higgs mass
44 >      Double_t         fVisMass;  //visible mass
45 >      Double_t         fMT;       //transverse visible mass
46 >      Double_t         fETll;     //transverse energy of tau products
47 >      Double_t         fETnn;     //transverse missing energy
48 >  };
49   }
50   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines