ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/DataFormats/interface/StableData.h
Revision: 1.2
Committed: Fri Oct 3 23:53:47 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.1: +4 -5 lines
Log Message:
Cosmetics and coding conventions.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: StableData.h,v 1.1 2008/09/30 12:57:42 bendavid Exp $
3 bendavid 1.1 //
4     // StableData
5     //
6     // Class to store information about stable daughters from a specific decay
7     //
8     // Authors: C.Paus, J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.2 #ifndef MITEDM_DATAFORMATS_STABLEDATA_H
12     #define MITEDM_DATAFORMATS_STABLEDATA_H
13 bendavid 1.1
14     #include "MitEdm/DataFormats/interface/DaughterData.h"
15    
16     namespace mitedm
17     {
18     class StableData : public DaughterData
19     {
20     public:
21     StableData() : p3_(0,0,0) {}
22     StableData(float px, float py, float pz, BasePartPtr stable) :
23     DaughterData(stable),
24     p3_(px,py,pz)
25     {}
26    
27     ~StableData() {}
28    
29     const ThreeVector32 &p3() const { return p3_; }
30 loizides 1.2 double mass() const { return originalPart_.get()->mass(); }
31 bendavid 1.1
32     protected:
33     ThreeVector32 p3_;
34     };
35     }
36     #endif