#include <MINFVecs.h>
Public Member Functions | |
| MINFVecs () | |
| MINFVecs (Int_t nhits) | |
| virtual | ~MINFVecs () |
| virtual void | AddVec (Float_t X, Float_t Y, Float_t Z, Float_t DX, Float_t DY, Float_t DZ) |
| MINFDetector * | GetDetector () |
| Int_t | GetIndex () |
| GParticle * | GetParticle () const |
| Float_t | GetScale () |
| MINFHit * | GetSelHit () |
| Int_t | GetVisibility () |
| virtual void | Propagate () |
| virtual void | SetDetector (MINFDetector *detector) |
| virtual void | SetParticle (Int_t index) |
| virtual void | SetScale (Float_t scale) |
| void | SetVisibility (Int_t vis) |
Protected Attributes | |
| MINFDetector * | fDetector |
| Int_t | fIndex |
| MINFHit * | fSelHit |
| Float_t | fScale |
| Int_t | fVisibility |
|
|
Definition at line 35 of file MINFVecs.cxx. 00036 {
00037 fDetector = 0;
00038 fIndex = 0;
00039 fSelHit = 0;
00040 fScale = 0.025;
00041 fVisibility = 0;
00042 }
|
|
|
Definition at line 45 of file MINFVecs.cxx. References fDetector, fIndex, fScale, fSelHit, and fVisibility. 00046 {
00047 fDetector = 0;
00048 fIndex = 0;
00049 fSelHit = 0;
00050 fScale = 0.025;
00051 fVisibility = 0;
00052 ResetBit(kCanDelete);
00053 }
|
|
|
Definition at line 57 of file MINFVecs.cxx. References fDetector, fIndex, and fSelHit.
|
|
||||||||||||||||||||||||||||
|
Definition at line 66 of file MINFVecs.cxx. References fScale. Referenced by MINFEMU::LoadPoints(). 00068 {
00069 Float_t xx[2] = {X - fScale * DX, X + fScale * DX};
00070 Float_t yy[2] = {Y - fScale * DY, Y + fScale * DY};
00071 Float_t zz[2] = {Z - fScale * DZ, Z + fScale * DZ};
00072
00073 MINFVecLine *dirvec = new MINFVecLine(2,xx,yy,zz);
00074 dirvec->SetLineColor(kYellow);
00075 dirvec->SetLineStyle(1);
00076
00077 Add(dirvec);
00078 }
|
|
|
Definition at line 39 of file MINFVecs.h. 00039 {return fDetector;}
|
|
|
Definition at line 40 of file MINFVecs.h. 00040 {return fIndex;}
|
|
|
Definition at line 81 of file MINFVecs.cxx. References fIndex, gMINFast, and MINFast::Particles(). 00082 {
00083
00084 // Returns pointer to primary particle index in MINFast::fParticles
00085 TClonesArray *particles = gMINFast->Particles();
00086 Int_t nparticles = particles->GetEntriesFast();
00087 if (fIndex < 0 || fIndex >= nparticles) return 0;
00088 return (GParticle *) particles->UncheckedAt(fIndex);
00089 }
|
|
|
Definition at line 42 of file MINFVecs.h. 00042 {return fScale;}
|
|
|
Definition at line 43 of file MINFVecs.h. 00043 {return fSelHit;}
|
|
|
Definition at line 44 of file MINFVecs.h. 00044 {return fVisibility;}
|
|
|
Definition at line 92 of file MINFVecs.cxx. 00093 {
00094 }
|
|
|
Definition at line 46 of file MINFVecs.h. References fDetector. Referenced by MINFEMU::LoadPoints(). 00047 {fDetector = detector;}
|
|
|
Definition at line 48 of file MINFVecs.h. References fIndex. Referenced by MINFEMU::LoadPoints(). 00048 {fIndex = index;}
|
|
|
Definition at line 49 of file MINFVecs.h. References fScale. Referenced by MINFEMU::LoadPoints(). 00049 {fScale = scale;}
|
|
|
Definition at line 50 of file MINFVecs.h. References fVisibility. 00050 {fVisibility = vis;}
|
|
|
Definition at line 27 of file MINFVecs.h. Referenced by MINFVecs(), SetDetector(), and ~MINFVecs(). |
|
|
Definition at line 28 of file MINFVecs.h. Referenced by GetParticle(), MINFVecs(), SetParticle(), and ~MINFVecs(). |
|
|
Definition at line 30 of file MINFVecs.h. Referenced by AddVec(), MINFVecs(), and SetScale(). |
|
|
Definition at line 29 of file MINFVecs.h. Referenced by MINFVecs(), and ~MINFVecs(). |
|
|
Definition at line 31 of file MINFVecs.h. Referenced by MINFVecs(), and SetVisibility(). |
1.3.9.1