ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/DecayParticle.h
Revision: 1.1
Committed: Mon Jun 30 16:50:39 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Decay particle class

File Contents

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