1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
paus |
1.6 |
// $Id: DecayParticle.h,v 1.5 2008/07/14 20:55:19 loizides Exp $
|
3 |
loizides |
1.1 |
//
|
4 |
|
|
// Decay Particle
|
5 |
|
|
//
|
6 |
|
|
// Details to be worked out...
|
7 |
|
|
//
|
8 |
|
|
// Authors: J.Bendavid...
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
|
|
#ifndef DATATREE_DECAYPARTICLE_H
|
12 |
|
|
#define DATATREE_DECAYPARTICLE_H
|
13 |
|
|
|
14 |
|
|
#include "MitAna/DataTree/interface/CompositeParticle.h"
|
15 |
|
|
#include "MitAna/DataTree/interface/FitVertex.h"
|
16 |
|
|
|
17 |
|
|
namespace mithep
|
18 |
|
|
{
|
19 |
|
|
class DecayParticle : public CompositeParticle
|
20 |
|
|
{
|
21 |
|
|
public:
|
22 |
loizides |
1.2 |
DecayParticle() {}
|
23 |
loizides |
1.1 |
DecayParticle(Double_t x, Double_t y, Double_t z) : fVertex(x,y,z) {}
|
24 |
loizides |
1.3 |
DecayParticle(Double_t x, Double_t y, Double_t z,
|
25 |
|
|
Double_t xErr, Double_t yErr, Double_t zErr) :
|
26 |
loizides |
1.2 |
fVertex(x,y,z,xErr,yErr,zErr) {}
|
27 |
loizides |
1.1 |
~DecayParticle() {}
|
28 |
|
|
|
29 |
loizides |
1.5 |
const FitVertex &DecayVertex() const { return fVertex; }
|
30 |
|
|
FitVertex &DecayVertex() { return fVertex; }
|
31 |
loizides |
1.1 |
|
32 |
|
|
protected:
|
33 |
paus |
1.6 |
FitVertex fVertex; // reconstructed decay vertex
|
34 |
loizides |
1.1 |
|
35 |
paus |
1.6 |
ClassDef(DecayParticle, 1) // Decay particle class
|
36 |
loizides |
1.1 |
};
|
37 |
|
|
}
|
38 |
|
|
#endif
|