BmnRoot
Loading...
Searching...
No Matches
BmnMCInfoDst.h
Go to the documentation of this file.
1/********************************************************************************
2 * BmnMCInfoDst.h *
3 * Fill MC information from Simulation chain into DST chain *
4 *******************************************************************************/
5#ifndef BMNMCINFODST_H
6#define BMNMCINFODST_H
7
8#include "TClonesArray.h"
9#include "TNamed.h"
10
11class BmnMCInfoDst : public TNamed
12{
13 public:
19 BmnMCInfoDst(const BmnMCInfoDst& other);
21 BmnMCInfoDst& operator=(const BmnMCInfoDst& other);
26
28 Double_t GetB() const { return fB; }
29 Double_t GetX() const { return fX; }
30 Double_t GetY() const { return fY; }
31 Double_t GetZ() const { return fZ; }
32 Double_t GetRotX() const { return fRotX; }
33 Double_t GetRotY() const { return fRotY; }
34 Double_t GetRotZ() const { return fRotZ; }
35 TClonesArray* GetMCTracks() const { return fMCTracks; }
36
38 void SetB(Double_t b) { fB = b; }
39 void SetVertex(Double_t x, Double_t y, Double_t z);
40 void SetRotX(Double_t rotx) { fRotX = rotx; }
41 void SetRotY(Double_t roty) { fRotY = roty; }
42 void SetRotZ(Double_t rotz) { fRotZ = rotz; }
43
44 private:
45 Double32_t fB;
46 Double32_t fX;
47 Double32_t fY;
48 Double32_t fZ;
49 Double32_t fRotX;
50 Double32_t fRotY;
51 Double32_t fRotZ;
52
53 TClonesArray* fMCTracks;
54
55 void Reset();
56
57 ClassDef(BmnMCInfoDst, 1);
58};
59
60#endif
void SetB(Double_t b)
Double_t GetX() const
impact parameter [fm]
BmnMCInfoDst & operator=(const BmnMCInfoDst &other)
Double_t GetRotY() const
rot. around x-axis [rad]
Double_t GetRotX() const
vertex z [cm]
TClonesArray * GetMCTracks() const
rot. around z-axis [rad]
void SetRotX(Double_t rotx)
void SetRotZ(Double_t rotz)
Double_t GetZ() const
vertex y [cm]
Double_t GetY() const
vertex x [cm]
void SetVertex(Double_t x, Double_t y, Double_t z)
void SetRotY(Double_t roty)
Double_t GetB() const
Double_t GetRotZ() const
rot. around y-axis [rad]