ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/DataFormats/interface/DaughterData.h
Revision: 1.1
Committed: Tue Sep 30 12:57:42 2008 UTC (16 years, 7 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_004
Log Message:
Added DaughterData, StableData, DecayData classes, updated DecayPart to use them

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: BasePart.h,v 1.3 2008/08/29 00:27:21 loizides Exp $
3     //
4     // DaughterData
5     //
6     // Base class to store information about daughters from a specific decay
7     //
8     // Authors: J.Bendavid
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITEDM_DAUGHTERDATA_H
12     #define MITEDM_DAUGHTERDATA_H
13    
14     #include "MitEdm/DataFormats/interface/BasePartFwd.h"
15    
16     namespace mitedm
17     {
18     class DaughterData
19     {
20     public:
21     // Constructors
22     DaughterData() {}
23     DaughterData(BasePartPtr ptr) : originalPart_(ptr) {}
24     ~DaughterData() {}
25    
26     BasePartPtr originalPtr() const { return originalPart_; }
27     void setOriginalPtr(BasePartPtr ptr) { originalPart_ = ptr; }
28    
29     protected:
30     // General stuff
31     BasePartPtr originalPart_;
32     };
33     }
34    
35     #endif