Public Types | Public Member Functions | Private Attributes

WCSimRecoVertex Class Reference

#include "WCSimRecoVertex.hh"

List of all members.

Public Types

enum  EFitStatus {
  kOK = 0x00, kFailSimpleVertex = 0x01, kFailSimpleDirection = 0x02, kFailPointPosition = 0x04,
  kFailPointDirection = 0x08, kFailPointVertex = 0x10, kFailExtendedVertex = 0x20
}
typedef enum
WCSimRecoVertex::EFitStatus 
FitStatus_t

Public Member Functions

 WCSimRecoVertex ()
 WCSimRecoVertex (Double_t x, Double_t y, Double_t z)
 WCSimRecoVertex (Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz)
 WCSimRecoVertex (Double_t x, Double_t y, Double_t z, Double_t t, Double_t px, Double_t py, Double_t pz, Double_t fom, Int_t nsteps, Bool_t pass, Int_t status)
 WCSimRecoVertex (Double_t x, Double_t y, Double_t z, Double_t t, Double_t px, Double_t py, Double_t pz, Double_t angle, Double_t length, Double_t fom, Int_t nsteps, Bool_t pass, Int_t status)
 ~WCSimRecoVertex ()
void SetVertex (Double_t x, Double_t y, Double_t z, Double_t t)
void SetVertex (Double_t x, Double_t y, Double_t z)
void SetDirection (Double_t px, Double_t py, Double_t pz)
void SetConeAngle (Double_t angle)
void SetTrackLength (Double_t length)
void SetFOM (Double_t fom, Int_t nsteps, Bool_t pass)
void SetStatus (Int_t status)
Double_t GetX ()
Double_t GetY ()
Double_t GetZ ()
Double_t GetTime ()
Bool_t FoundVertex ()
Double_t GetDirX ()
Double_t GetDirY ()
Double_t GetDirZ ()
Bool_t FoundDirection ()
Double_t GetConeAngle ()
Double_t GetTrackLength ()
Double_t GetFOM ()
Int_t GetIterations ()
Bool_t GetPass ()
Int_t GetStatus ()
void Reset ()

Private Attributes

Double_t fX
Double_t fY
Double_t fZ
Double_t fTime
Bool_t fFoundVertex
Double_t fDirX
Double_t fDirY
Double_t fDirZ
Bool_t fFoundDirection
Double_t fConeAngle
Double_t fTrackLength
Double_t fFOM
Int_t fIterations
Bool_t fPass
Int_t fStatus

Detailed Description

Definition at line 6 of file WCSimRecoVertex.hh.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
kOK 
kFailSimpleVertex 
kFailSimpleDirection 
kFailPointPosition 
kFailPointDirection 
kFailPointVertex 
kFailExtendedVertex 

Definition at line 10 of file WCSimRecoVertex.hh.

                          {
   kOK  = 0x00,
   kFailSimpleVertex    = 0x01,
   kFailSimpleDirection = 0x02,
   kFailPointPosition   = 0x04,
   kFailPointDirection  = 0x08,
   kFailPointVertex     = 0x10,
   kFailExtendedVertex  = 0x20
  } FitStatus_t;


Constructor & Destructor Documentation

WCSimRecoVertex::WCSimRecoVertex (  ) 
WCSimRecoVertex::WCSimRecoVertex ( Double_t  x,
Double_t  y,
Double_t  z 
)
WCSimRecoVertex::WCSimRecoVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  px,
Double_t  py,
Double_t  pz 
)
WCSimRecoVertex::WCSimRecoVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  fom,
Int_t  nsteps,
Bool_t  pass,
Int_t  status 
)

Definition at line 36 of file WCSimRecoVertex.cc.

References WCSimRecoObjectTable::Instance(), WCSimRecoObjectTable::NewVertex(), Reset(), SetDirection(), SetFOM(), SetStatus(), and SetVertex().

{
  this->Reset();

  this->SetVertex(x,y,z);
  this->SetDirection(px,py,pz);
  this->SetFOM(fom,nsteps,pass);
  this->SetStatus(status);

  WCSimRecoObjectTable::Instance()->NewVertex();
}

WCSimRecoVertex::WCSimRecoVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t,
Double_t  px,
Double_t  py,
Double_t  pz,
Double_t  angle,
Double_t  length,
Double_t  fom,
Int_t  nsteps,
Bool_t  pass,
Int_t  status 
)

Definition at line 48 of file WCSimRecoVertex.cc.

References WCSimRecoObjectTable::Instance(), WCSimRecoObjectTable::NewVertex(), Reset(), SetConeAngle(), SetDirection(), SetFOM(), SetStatus(), SetTrackLength(), and SetVertex().

{
  this->Reset();

  this->SetVertex(x,y,z,t);
  this->SetDirection(px,py,pz);
  this->SetConeAngle(angle);
  this->SetTrackLength(length);
  this->SetFOM(fom,nsteps,pass);
  this->SetStatus(status);

  WCSimRecoObjectTable::Instance()->NewVertex();
}

WCSimRecoVertex::~WCSimRecoVertex (  ) 

Member Function Documentation

Bool_t WCSimRecoVertex::FoundDirection (  )  [inline]
Bool_t WCSimRecoVertex::FoundVertex (  )  [inline]
Double_t WCSimRecoVertex::GetConeAngle (  )  [inline]
Double_t WCSimRecoVertex::GetDirX (  )  [inline]
Double_t WCSimRecoVertex::GetDirY (  )  [inline]
Double_t WCSimRecoVertex::GetDirZ (  )  [inline]
Double_t WCSimRecoVertex::GetFOM (  )  [inline]
Int_t WCSimRecoVertex::GetIterations (  )  [inline]
Bool_t WCSimRecoVertex::GetPass (  )  [inline]
Int_t WCSimRecoVertex::GetStatus (  )  [inline]
Double_t WCSimRecoVertex::GetTime (  )  [inline]
Double_t WCSimRecoVertex::GetTrackLength (  )  [inline]
Double_t WCSimRecoVertex::GetX (  )  [inline]
Double_t WCSimRecoVertex::GetY (  )  [inline]
Double_t WCSimRecoVertex::GetZ (  )  [inline]
void WCSimRecoVertex::Reset (  ) 

Definition at line 111 of file WCSimRecoVertex.cc.

References fConeAngle, fDirX, fDirY, fDirZ, fFOM, fFoundDirection, fFoundVertex, fIterations, fPass, fStatus, fTime, fTrackLength, fX, fY, and fZ.

Referenced by WCSimRecoEvent::Reset(), and WCSimRecoVertex().

{ 
  fX = 0.0;
  fY = 0.0;
  fZ = 0.0;
  fTime = 950.0;
  fFoundVertex = 0;

  fDirX = 0.0;
  fDirY = 0.0;
  fDirZ = 0.0;
  fFoundDirection = 0;

  fConeAngle = 42.0;
  fTrackLength = 0.0;

  fFOM = 0.0;
  fIterations = 0;
  fPass = 0;
  
  fStatus = WCSimRecoVertex::kOK;
}

void WCSimRecoVertex::SetConeAngle ( Double_t  angle  ) 
void WCSimRecoVertex::SetDirection ( Double_t  px,
Double_t  py,
Double_t  pz 
)
void WCSimRecoVertex::SetFOM ( Double_t  fom,
Int_t  nsteps,
Bool_t  pass 
)
void WCSimRecoVertex::SetStatus ( Int_t  status  ) 
void WCSimRecoVertex::SetTrackLength ( Double_t  length  ) 

Definition at line 94 of file WCSimRecoVertex.cc.

References fTrackLength.

Referenced by WCSimRecoEvent::SetTrackLength(), and WCSimRecoVertex().

{
  fTrackLength = length;
}

void WCSimRecoVertex::SetVertex ( Double_t  x,
Double_t  y,
Double_t  z 
)

Definition at line 67 of file WCSimRecoVertex.cc.

References SetVertex().

{
  this->SetVertex(x,y,z,950.0);
}

void WCSimRecoVertex::SetVertex ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t 
)

Member Data Documentation

Double_t WCSimRecoVertex::fConeAngle [private]

Definition at line 75 of file WCSimRecoVertex.hh.

Referenced by GetConeAngle(), Reset(), and SetConeAngle().

Double_t WCSimRecoVertex::fDirX [private]

Definition at line 70 of file WCSimRecoVertex.hh.

Referenced by GetDirX(), Reset(), and SetDirection().

Double_t WCSimRecoVertex::fDirY [private]

Definition at line 71 of file WCSimRecoVertex.hh.

Referenced by GetDirY(), Reset(), and SetDirection().

Double_t WCSimRecoVertex::fDirZ [private]

Definition at line 72 of file WCSimRecoVertex.hh.

Referenced by GetDirZ(), Reset(), and SetDirection().

Double_t WCSimRecoVertex::fFOM [private]

Definition at line 78 of file WCSimRecoVertex.hh.

Referenced by GetFOM(), Reset(), and SetFOM().

Definition at line 73 of file WCSimRecoVertex.hh.

Referenced by FoundDirection(), Reset(), and SetDirection().

Definition at line 68 of file WCSimRecoVertex.hh.

Referenced by FoundVertex(), Reset(), and SetVertex().

Definition at line 79 of file WCSimRecoVertex.hh.

Referenced by GetIterations(), Reset(), and SetFOM().

Bool_t WCSimRecoVertex::fPass [private]

Definition at line 80 of file WCSimRecoVertex.hh.

Referenced by GetPass(), Reset(), and SetFOM().

Int_t WCSimRecoVertex::fStatus [private]

Definition at line 82 of file WCSimRecoVertex.hh.

Referenced by GetStatus(), Reset(), and SetStatus().

Double_t WCSimRecoVertex::fTime [private]

Definition at line 67 of file WCSimRecoVertex.hh.

Referenced by GetTime(), Reset(), and SetVertex().

Double_t WCSimRecoVertex::fTrackLength [private]

Definition at line 76 of file WCSimRecoVertex.hh.

Referenced by GetTrackLength(), Reset(), and SetTrackLength().

Double_t WCSimRecoVertex::fX [private]

Definition at line 64 of file WCSimRecoVertex.hh.

Referenced by GetX(), Reset(), and SetVertex().

Double_t WCSimRecoVertex::fY [private]

Definition at line 65 of file WCSimRecoVertex.hh.

Referenced by GetY(), Reset(), and SetVertex().

Double_t WCSimRecoVertex::fZ [private]

Definition at line 66 of file WCSimRecoVertex.hh.

Referenced by GetZ(), Reset(), and SetVertex().


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