er  dev
ERBeamDetParticle.cxx
1 #include "ERBeamDetParticle.h"
2 
3 ERBeamDetParticle::ERBeamDetParticle(Int_t pid, TLorentzVector tofState,
4  TLorentzVector targetState,
5  float time_on_target, float probability)
6  :TNamed(),
7  fPID(pid),
8  fTofState(tofState),
9  fTargetState(targetState),
10  fTimeOnTarget(time_on_target),
11  fProbability(probability)
12 {
13 }
14 void ERBeamDetParticle::AddParameters(Int_t pid, TLorentzVector tofState, TLorentzVector targetState,
15  float probability)
16 {
17  fPID = pid;
18  fTofState = tofState;
19  fTargetState = targetState;
20  fProbability = probability;
21 }