er  dev
ERMCEventHeader.h
1 // -------------------------------------------------------------------------
2 // ----- ERMCEventHeader header file -----
3 // ----- Created 03/16 by V. Schetinin -----
4 // -------------------------------------------------------------------------
5 
12 #ifndef ERMCEVENTHEADER_H_
13 #define ERMCEVENTHEADER_H_
14 
15 #include "FairMCEventHeader.h"
16 
17 class ERMCEventHeader : public FairMCEventHeader {
18 public:
19  Double_t fTargetReactionPos;
20  Double_t fDirectReactionPos;
21  Float_t fNeuRadELoss;
22  Float_t fNeuRadLY;
23 public:
25  void SetTargetReactionPos(Double_t pos){fTargetReactionPos = pos;}
26  void SetDirectReactionPos(Double_t pos){fDirectReactionPos = pos;}
27  void SetNeuRadEloss(Float_t eloss) {fNeuRadELoss = eloss;}
28  void SetNeuRadLY(Float_t ly) {fNeuRadLY = ly;}
29 
30  Double_t TargetReactionPos()const {return fTargetReactionPos;}
31  Double_t DirectReactionPos()const {return fDirectReactionPos;}
32  Float_t NeuRadEloss()const {return fNeuRadELoss;}
33  Float_t NeuRadLY()const {return fNeuRadLY;}
34 
35  ClassDef(ERMCEventHeader,1)
36 };
37 
38 #endif