ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/DataFormats/src/StablePart.cc
Revision: 1.2
Committed: Tue Jul 29 22:52:55 2008 UTC (16 years, 9 months ago) by bendavid
Content type: text/plain
Branch: MAIN
Changes since 1.1: +1 -13 lines
Log Message:
Added proper edm references to producers

File Contents

# User Rev Content
1 bendavid 1.2 // $Id: StablePart.cc,v 1.1 2008/07/29 13:16:22 loizides Exp $
2 loizides 1.1
3     #include "MitEdm/DataFormats/interface/BasePartAction.h"
4     #include "MitEdm/DataFormats/interface/StablePart.h"
5    
6     using namespace std;
7     using namespace mitedm;
8    
9     StablePart::StablePart() :
10     BasePart(),
11     hits_(0),
12     stat_(0),
13     phi0_(0) ,phi0Err_(0),
14     d0_ (0) ,d0Err_ (0),
15     pt_ (0) ,ptErr_ (0),
16     z0_ (0) ,z0Err_ (0),
17     cotT_(0) ,cotTErr_(0)
18     {
19     }
20    
21     StablePart::StablePart(int pid) :
22     BasePart(pid),
23     hits_(0),
24     stat_(0),
25     phi0_(0) ,phi0Err_(0),
26     d0_ (0) ,d0Err_ (0),
27     pt_ (0) ,ptErr_ (0),
28     z0_ (0) ,z0Err_ (0),
29     cotT_(0) ,cotTErr_(0)
30     {
31     }
32    
33     StablePart::StablePart(int pid, double mass) :
34     BasePart(pid,mass),
35     hits_(0),
36     stat_(0),
37     phi0_(0) ,phi0Err_(0),
38     d0_ (0) ,d0Err_ (0),
39     pt_ (0) ,ptErr_ (0),
40     z0_ (0) ,z0Err_ (0),
41     cotT_(0) ,cotTErr_(0)
42     {
43     }
44    
45     void StablePart::print(ostream &os) const
46     {
47     os << " StablePart::print - pid: " << pid_ << " mass: " << mass_ << endl;
48     }
49    
50     void StablePart::doAction(BasePartAction *action) const
51     {
52     action->doAction(this);
53     return;
54     }