ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/DecayParticle.h
Revision: 1.4
Committed: Fri Jul 11 13:12:07 2008 UTC (16 years, 9 months ago) by bendavid
Content type: text/plain
Branch: MAIN
Changes since 1.3: +3 -2 lines
Log Message:
Updated FitVertex accessors for DecayParticle

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.4 // $Id: DecayParticle.h,v 1.3 2008/07/03 08:22:18 loizides Exp $
3 loizides 1.1 //
4     // Decay Particle
5     //
6     // Details to be worked out...
7     //
8     // Authors: J.Bendavid...
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef DATATREE_DECAYPARTICLE_H
12     #define DATATREE_DECAYPARTICLE_H
13    
14     #include "MitAna/DataTree/interface/CompositeParticle.h"
15     #include "MitAna/DataTree/interface/FitVertex.h"
16    
17     namespace mithep
18     {
19     class DecayParticle : public CompositeParticle
20     {
21     public:
22 loizides 1.2 DecayParticle() {}
23 loizides 1.1 DecayParticle(Double_t x, Double_t y, Double_t z) : fVertex(x,y,z) {}
24 loizides 1.3 DecayParticle(Double_t x, Double_t y, Double_t z,
25     Double_t xErr, Double_t yErr, Double_t zErr) :
26 loizides 1.2 fVertex(x,y,z,xErr,yErr,zErr) {}
27 loizides 1.1 ~DecayParticle() {}
28    
29 bendavid 1.4 const FitVertex &GetVertex() const { return fVertex; }
30     FitVertex &GetVertex() { return fVertex; }
31 loizides 1.1
32     protected:
33 loizides 1.2 FitVertex fVertex; //reconstructed decay vertex
34 loizides 1.1
35 loizides 1.2 ClassDef(DecayParticle, 1) //Decay particle class
36 loizides 1.1 };
37     }
38     #endif