All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
recob::Slice Class Reference

#include <Slice.h>

Public Types

using Point_t = tracking::Point_t
 
using Vector_t = tracking::Vector_t
 

Public Member Functions

 Slice ()
 
 Slice (int id, Point_t center, Vector_t direction, Point_t end0Pos, Point_t end1Pos, float aspectratio, float charge)
 
int ID () const
 
Point_t Center () const
 
Vector_t Direction () const
 
Point_t End0Pos () const
 
Point_t End1Pos () const
 
float AspectRatio () const
 
float Charge () const
 
void SetID (const int id)
 
void SetCenter (const Point_t center)
 
void SetDirection (const Vector_t direction)
 
void SetEnd0Pos (const Point_t endpos)
 
void SetEnd1Pos (const Point_t endpos)
 
void SetAspectRatio (const float aspectratio)
 
void SetCharge (const float charge)
 

Private Attributes

int fID
 id for this slice More...
 
Point_t fCenter
 Center of the slice for flash matching. More...
 
Vector_t fDirection
 direction from a linear fit More...
 
Point_t fEnd0Pos
 Position of a SpacePoint at one end of the slice. More...
 
Point_t fEnd1Pos
 Position of the other end. More...
 
float fAspectRatio
 absolute value of the linear correlation coefficient (0 = round blob, 1 = line) More...
 
float fCharge
 

Detailed Description

Definition at line 16 of file lardataobj/lardataobj/RecoBase/Slice.h.

Member Typedef Documentation

Definition at line 20 of file lardataobj/lardataobj/RecoBase/Slice.h.

Definition at line 21 of file lardataobj/lardataobj/RecoBase/Slice.h.

Constructor & Destructor Documentation

recob::Slice::Slice ( )

Definition at line 5 of file Slice.cxx.

6  {
7  fID = -999;
8  }
recob::Slice::Slice ( int  id,
Point_t  center,
Vector_t  direction,
Point_t  end0Pos,
Point_t  end1Pos,
float  aspectratio,
float  charge 
)
inline

Definition at line 25 of file lardataobj/lardataobj/RecoBase/Slice.h.

26  : fID(id), fCenter(center), fDirection(direction), fEnd0Pos(end0Pos), fEnd1Pos(end1Pos), fAspectRatio(aspectratio), fCharge(charge)
27  {}
Vector_t fDirection
direction from a linear fit
Point_t fCenter
Center of the slice for flash matching.
float fAspectRatio
absolute value of the linear correlation coefficient (0 = round blob, 1 = line)
Point_t fEnd1Pos
Position of the other end.
Point_t fEnd0Pos
Position of a SpacePoint at one end of the slice.

Member Function Documentation

float recob::Slice::AspectRatio ( ) const
inline

Definition at line 34 of file lardataobj/lardataobj/RecoBase/Slice.h.

34 { return fAspectRatio; }
float fAspectRatio
absolute value of the linear correlation coefficient (0 = round blob, 1 = line)
Point_t recob::Slice::Center ( ) const
inline

Definition at line 30 of file lardataobj/lardataobj/RecoBase/Slice.h.

30 { return fCenter; }
Point_t fCenter
Center of the slice for flash matching.
float recob::Slice::Charge ( ) const
inline

Definition at line 35 of file lardataobj/lardataobj/RecoBase/Slice.h.

Vector_t recob::Slice::Direction ( ) const
inline

Definition at line 31 of file lardataobj/lardataobj/RecoBase/Slice.h.

31 { return fDirection; }
Vector_t fDirection
direction from a linear fit
Point_t recob::Slice::End0Pos ( ) const
inline

Definition at line 32 of file lardataobj/lardataobj/RecoBase/Slice.h.

32 { return fEnd0Pos; }
Point_t fEnd0Pos
Position of a SpacePoint at one end of the slice.
Point_t recob::Slice::End1Pos ( ) const
inline

Definition at line 33 of file lardataobj/lardataobj/RecoBase/Slice.h.

33 { return fEnd1Pos; }
Point_t fEnd1Pos
Position of the other end.
int recob::Slice::ID ( ) const
inline

Definition at line 29 of file lardataobj/lardataobj/RecoBase/Slice.h.

29 { return fID; }
void recob::Slice::SetAspectRatio ( const float  aspectratio)
inline

Definition at line 42 of file lardataobj/lardataobj/RecoBase/Slice.h.

42 {fAspectRatio = aspectratio;}
float fAspectRatio
absolute value of the linear correlation coefficient (0 = round blob, 1 = line)
void recob::Slice::SetCenter ( const Point_t  center)
inline

Definition at line 38 of file lardataobj/lardataobj/RecoBase/Slice.h.

38 { fCenter = center;}
Point_t fCenter
Center of the slice for flash matching.
void recob::Slice::SetCharge ( const float  charge)
inline

Definition at line 43 of file lardataobj/lardataobj/RecoBase/Slice.h.

void recob::Slice::SetDirection ( const Vector_t  direction)
inline

Definition at line 39 of file lardataobj/lardataobj/RecoBase/Slice.h.

39 { fDirection = direction;}
Vector_t fDirection
direction from a linear fit
void recob::Slice::SetEnd0Pos ( const Point_t  endpos)
inline

Definition at line 40 of file lardataobj/lardataobj/RecoBase/Slice.h.

40 {fEnd0Pos = endpos;}
Point_t fEnd0Pos
Position of a SpacePoint at one end of the slice.
void recob::Slice::SetEnd1Pos ( const Point_t  endpos)
inline

Definition at line 41 of file lardataobj/lardataobj/RecoBase/Slice.h.

41 {fEnd1Pos = endpos;}
Point_t fEnd1Pos
Position of the other end.
void recob::Slice::SetID ( const int  id)
inline

Definition at line 37 of file lardataobj/lardataobj/RecoBase/Slice.h.

37 { fID = id;}

Member Data Documentation

float recob::Slice::fAspectRatio
private

absolute value of the linear correlation coefficient (0 = round blob, 1 = line)

Definition at line 52 of file lardataobj/lardataobj/RecoBase/Slice.h.

Point_t recob::Slice::fCenter
private

Center of the slice for flash matching.

Definition at line 48 of file lardataobj/lardataobj/RecoBase/Slice.h.

float recob::Slice::fCharge
private

Definition at line 53 of file lardataobj/lardataobj/RecoBase/Slice.h.

Vector_t recob::Slice::fDirection
private

direction from a linear fit

Definition at line 49 of file lardataobj/lardataobj/RecoBase/Slice.h.

Point_t recob::Slice::fEnd0Pos
private

Position of a SpacePoint at one end of the slice.

Definition at line 50 of file lardataobj/lardataobj/RecoBase/Slice.h.

Point_t recob::Slice::fEnd1Pos
private

Position of the other end.

Definition at line 51 of file lardataobj/lardataobj/RecoBase/Slice.h.

int recob::Slice::fID
private

id for this slice

Definition at line 47 of file lardataobj/lardataobj/RecoBase/Slice.h.


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