MINFHit Class Reference

#include <MINFHit.h>

Inheritance diagram for MINFHit:
MINFEMUHit MINFFLSHit MINFLSTHit

List of all members.

Public Member Functions

 MINFHit ()
 MINFHit (Int_t shunt, Int_t det, Int_t track)
 ~MINFHit ()
virtual Float_t X ()
virtual Float_t Y ()
virtual Float_t Z ()
virtual Int_t IDREROOTHit () const
virtual Int_t GetTrack ()
virtual void SetTrack (int track)
virtual Int_t GetDet ()

Protected Attributes

Int_t fTrack
Int_t fDet
Int_t fIDREROOTHit
Float_t fX
Float_t fY
Float_t fZ

Detailed Description

Definition at line 17 of file MINFHit.h.


Constructor & Destructor Documentation

MINFHit::MINFHit (  ) 

Definition at line 27 of file MINFHit.cxx.

00028 {
00029    fTrack = 0;  
00030    fDet = 0;
00031 }

MINFHit::MINFHit ( Int_t  shunt,
Int_t  det,
Int_t  track 
)

Definition at line 34 of file MINFHit.cxx.

References fTrack, MINFast::GetPrimary(), gMINFast, Keep_Bit, and MINFast::Particles().

00034                                                     :
00035   fDet(det)
00036 {
00037    TClonesArray &particles = *(gMINFast->Particles());
00038    if (shunt) {
00039      int primary = gMINFast->GetPrimary(track);
00040      ((GParticle *) particles[primary])->SetBit(Keep_Bit);
00041      fTrack=primary;
00042    }
00043    else {
00044      fTrack=track;
00045 //gmi     gMINFast->FlagTrack(fTrack);
00046    }
00047 }
}

MINFHit::~MINFHit (  )  [inline]

Definition at line 33 of file MINFHit.h.

00033 {;}


Member Function Documentation

virtual Int_t MINFHit::GetDet (  )  [inline, virtual]

Definition at line 40 of file MINFHit.h.

References fDet.

00040 {return fDet;}

virtual Int_t MINFHit::GetTrack (  )  [inline, virtual]

Definition at line 38 of file MINFHit.h.

References fTrack.

Referenced by MINFEMU::LoadPoints(), and MINFDetector::LoadPoints().

00038 {return fTrack;}

virtual Int_t MINFHit::IDREROOTHit (  )  const [inline, virtual]

Definition at line 37 of file MINFHit.h.

References fIDREROOTHit.

00037 {return fIDREROOTHit;};

virtual void MINFHit::SetTrack ( int  track  )  [inline, virtual]

Definition at line 39 of file MINFHit.h.

References fTrack.

00039 {fTrack=track;}

virtual Float_t MINFHit::X (  )  [inline, virtual]

Definition at line 34 of file MINFHit.h.

References fX.

Referenced by MINFEMU::LoadPoints(), and MINFDetector::LoadPoints().

00034 {return fX;}

virtual Float_t MINFHit::Y (  )  [inline, virtual]

Definition at line 35 of file MINFHit.h.

References fY.

Referenced by MINFEMU::LoadPoints(), and MINFDetector::LoadPoints().

00035 {return fY;}

virtual Float_t MINFHit::Z (  )  [inline, virtual]

Definition at line 36 of file MINFHit.h.

References fZ.

Referenced by MINFEMU::LoadPoints(), and MINFDetector::LoadPoints().

00036 {return fZ;}


Member Data Documentation

Int_t MINFHit::fDet [protected]

Definition at line 22 of file MINFHit.h.

Referenced by GetDet().

Int_t MINFHit::fIDREROOTHit [protected]

Definition at line 23 of file MINFHit.h.

Referenced by IDREROOTHit().

Int_t MINFHit::fTrack [protected]

Definition at line 21 of file MINFHit.h.

Referenced by GetTrack(), MINFHit(), and SetTrack().

Float_t MINFHit::fX [protected]

Definition at line 26 of file MINFHit.h.

Referenced by X().

Float_t MINFHit::fY [protected]

Definition at line 27 of file MINFHit.h.

Referenced by Y().

Float_t MINFHit::fZ [protected]

Definition at line 28 of file MINFHit.h.

Referenced by Z().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1