ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/DecayParticle.h
Revision: 1.5
Committed: Mon Jul 14 20:55:19 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.4: +3 -3 lines
Log Message:
Tried to unify Getters and Setters. Getter are without Get. Setters are with Set. This change implies modifications for analysis code

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.5 // $Id: DecayParticle.h,v 1.4 2008/07/11 13:12:07 bendavid 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 loizides 1.5 const FitVertex &DecayVertex() const { return fVertex; }
30     FitVertex &DecayVertex() { 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