er
dev
|
#include <ERBeamDetMWPCPoint.h>
Public Member Functions | |
ERBeamDetMWPCPoint () | |
ERBeamDetMWPCPoint (Int_t eventID, Int_t trackID, Int_t mot0trackID, Int_t pid, TVector3 posIn, TVector3 posOut, TVector3 momIn, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, Double_t lightYield, Int_t mwpcNb, Int_t planeNb, Int_t wireNb) | |
ERBeamDetMWPCPoint (const ERBeamDetMWPCPoint &) | |
virtual | ~ERBeamDetMWPCPoint () |
ERBeamDetMWPCPoint & | operator= (const ERBeamDetMWPCPoint &) |
Int_t | GetEventID () const |
Int_t | GetMot0TrackID () const |
Double_t | GetXIn () const |
Double_t | GetYIn () const |
Double_t | GetZIn () const |
Double_t | GetXOut () const |
Double_t | GetYOut () const |
Double_t | GetZOut () const |
Double_t | GetPxOut () const |
Double_t | GetPyOut () const |
Double_t | GetPzOut () const |
Int_t | GetPID () const |
Int_t | GetMWPCNb () const |
Int_t | GetPlaneNb () const |
Int_t | GetWireNb () const |
void | PositionIn (TVector3 &pos) |
void | PositionOut (TVector3 &pos) |
void | MomentumOut (TVector3 &mom) |
Float_t | LightYield () const |
Double_t | GetX (Double_t z) const |
Double_t | GetY (Double_t z) const |
Bool_t | IsUsable () const |
virtual void | Print (const Option_t *opt=0) const |
Definition at line 20 of file ERBeamDetMWPCPoint.h.
ERBeamDetMWPCPoint::ERBeamDetMWPCPoint | ( | ) |
Default constructor
Definition at line 9 of file ERBeamDetMWPCPoint.cxx.
ERBeamDetMWPCPoint::ERBeamDetMWPCPoint | ( | Int_t | eventID, |
Int_t | trackID, | ||
Int_t | mot0trackID, | ||
Int_t | pid, | ||
TVector3 | posIn, | ||
TVector3 | posOut, | ||
TVector3 | momIn, | ||
TVector3 | momOut, | ||
Double_t | tof, | ||
Double_t | length, | ||
Double_t | eLoss, | ||
Double_t | lightYield, | ||
Int_t | mwpcNb, | ||
Int_t | planeNb, | ||
Int_t | wireNb | ||
) |
Constructor with arguments
EventID | Index of Event |
trackID | Index of MCTrack |
mot0trackID | Index of Mother MCTrack |
pid | particle ID |
posIn | Ccoordinates at entrance of point [cm] |
posOut | Coordinates at exit of point [cm] |
momIn | Momentum of track at entrance [MeV] |
momOut | Momentum of track at exit [MeV] |
tof | Time since event start [ns] |
length | Track length since creation [cm] |
eLoss | Energy deposit [MeV] |
Definition at line 16 of file ERBeamDetMWPCPoint.cxx.
ERBeamDetMWPCPoint::ERBeamDetMWPCPoint | ( | const ERBeamDetMWPCPoint & | right | ) |
Copy constructor
Definition at line 35 of file ERBeamDetMWPCPoint.cxx.
|
virtual |
Destructor
Definition at line 43 of file ERBeamDetMWPCPoint.cxx.
|
inline |
Accessors
Definition at line 64 of file ERBeamDetMWPCPoint.h.
Double_t ERBeamDetMWPCPoint::GetX | ( | Double_t | z | ) | const |
Point coordinates at given z from linear extrapolation
Definition at line 58 of file ERBeamDetMWPCPoint.cxx.
Bool_t ERBeamDetMWPCPoint::IsUsable | ( | ) | const |
Check for distance between in and out
Definition at line 76 of file ERBeamDetMWPCPoint.cxx.
|
virtual |
Output to screen
Definition at line 47 of file ERBeamDetMWPCPoint.cxx.