1 |
bendavid |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
loizides |
1.2 |
// $Id: DecayData.h,v 1.1 2008/09/30 12:57:42 bendavid Exp $
|
3 |
bendavid |
1.1 |
//
|
4 |
|
|
// DecayData
|
5 |
|
|
//
|
6 |
loizides |
1.2 |
// Class to store information about decay daughters from a specific decay.
|
7 |
bendavid |
1.1 |
//
|
8 |
|
|
// Authors: C.Paus, J.Bendavid
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
loizides |
1.2 |
#ifndef MITEDM_DATAFORMATS_DECAYDATA_H
|
12 |
|
|
#define MITEDM_DATAFORMATS_DECAYDATA_H
|
13 |
bendavid |
1.1 |
|
14 |
|
|
#include "MitEdm/DataFormats/interface/DaughterData.h"
|
15 |
|
|
|
16 |
|
|
namespace mitedm
|
17 |
|
|
{
|
18 |
|
|
class DecayData : public DaughterData
|
19 |
|
|
{
|
20 |
|
|
public:
|
21 |
|
|
DecayData() :
|
22 |
|
|
p4_(0,0,0,0),
|
23 |
|
|
massErr_(0),
|
24 |
|
|
lxy_(0),
|
25 |
|
|
lxyErr_(0),
|
26 |
|
|
dxy_(0),
|
27 |
|
|
dxyErr_(0),
|
28 |
|
|
lz_(0),
|
29 |
|
|
lzErr_(0) {}
|
30 |
loizides |
1.2 |
|
31 |
bendavid |
1.1 |
DecayData(FourVector32 &p4, float massErr, float lxy, float lxyErr, float dxy,
|
32 |
|
|
float dxyErr, float lz, float lzErr,
|
33 |
|
|
BasePartPtr decay) :
|
34 |
|
|
DaughterData(decay),
|
35 |
|
|
p4_(p4),
|
36 |
|
|
massErr_(massErr),
|
37 |
|
|
lxy_(lxy),
|
38 |
|
|
lxyErr_(lxyErr),
|
39 |
|
|
dxy_(dxy),
|
40 |
|
|
dxyErr_(dxyErr),
|
41 |
|
|
lz_(lz),
|
42 |
loizides |
1.2 |
lzErr_(lzErr) {}
|
43 |
bendavid |
1.1 |
|
44 |
|
|
~DecayData() {}
|
45 |
|
|
|
46 |
|
|
const FourVector32 &p4() const { return p4_; }
|
47 |
loizides |
1.2 |
float massErr() const { return massErr_; }
|
48 |
|
|
float lxy() const { return lxy_; }
|
49 |
|
|
float lxyErr() const { return lxyErr_; }
|
50 |
|
|
float dxy() const { return dxy_; }
|
51 |
|
|
float dxyErr() const { return dxyErr_; }
|
52 |
|
|
float lz() const { return lz_; }
|
53 |
|
|
float lzErr() const { return lzErr_; }
|
54 |
bendavid |
1.1 |
|
55 |
|
|
protected:
|
56 |
|
|
FourVector32 p4_;
|
57 |
|
|
float massErr_;
|
58 |
|
|
float lxy_;
|
59 |
|
|
float lxyErr_;
|
60 |
|
|
float dxy_;
|
61 |
|
|
float dxyErr_;
|
62 |
|
|
float lz_;
|
63 |
|
|
float lzErr_;
|
64 |
|
|
};
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
#endif
|