BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
MpdMCEventHeader.h
Go to the documentation of this file.
1/** MpdMCEventHeader.h
2 ** @author V.Voronyuk, origin CBMRoot
3 ** Data class (level MC) containing information about the input event.
4 ** New MPD class derived from FairMCEventHeader
5 **/
6
7#ifndef MPDMCEVENTHEADER_H
8#define MPDMCEVENTHEADER_H 1
9
10#include "FairMCEventHeader.h"
11
13{
14
15 public:
16 /** Default constructor **/
18
19 /** Constructor with all members
20 **
21 *@param runId run identifier
22 *@param iEvent event identifier
23 *@param x,y,z vertex oordinates [cm]
24 *@param t event time [ns]
25 *@param b impact parameter [fm] (if relevant)
26 *@param phi event plane angle [rad]
27 *@param nPrim number of input tracks
28 **/
30 Int_t iEvent,
31 Double_t x,
32 Double_t y,
33 Double_t z,
34 Double_t t,
35 Double_t b,
36 Double_t phi,
37 Int_t nPrim);
38
39 /** Standard constructor with run identifier **/
41
42 /** Destructor **/
43 virtual ~MpdMCEventHeader();
44
45 /** Accessors **/
46 Double_t GetPhi() const { return fPhi; } // event plane angle [rad]
47
48 /** Modifiers **/
49 void SetPhi(Double_t phi) { fPhi = phi; }
50
51 /** Reset all members **/
52 virtual void Reset();
53
54 /** Register the class as data branch to the poutput */
55 virtual void Register();
56
58
59 private:
60 Double32_t fPhi; // Event plane angle [rad] (if relevant)
61};
62
63#endif
int Int_t
double Double32_t
unsigned int UInt_t
double Double_t
#define ClassDef(name, id)
MpdMCEventHeader.h.
virtual void Register()
Register the class as data branch to the poutput.
virtual void Reset()
Reset all members.
virtual ~MpdMCEventHeader()
Destructor.
MpdMCEventHeader()
Default constructor.
Double_t GetPhi() const
Accessors.
void SetPhi(Double_t phi)
Modifiers.