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 Slice.h.

Member Typedef Documentation

Definition at line 20 of file Slice.h.

Definition at line 21 of file Slice.h.

Constructor & Destructor Documentation

recob::Slice::Slice ( )

Definition at line 5 of file Slice.cxx.

6  {
7  fID = -999;
8  }
int fID
id for this slice
Definition: Slice.h:47
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 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
Definition: Slice.h:49
Point_t fCenter
Center of the slice for flash matching.
Definition: Slice.h:48
float fAspectRatio
absolute value of the linear correlation coefficient (0 = round blob, 1 = line)
Definition: Slice.h:52
Point_t fEnd1Pos
Position of the other end.
Definition: Slice.h:51
int fID
id for this slice
Definition: Slice.h:47
float fCharge
Definition: Slice.h:53
Point_t fEnd0Pos
Position of a SpacePoint at one end of the slice.
Definition: Slice.h:50
def center(depos, point)
Definition: depos.py:117

Member Function Documentation

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

Definition at line 34 of file Slice.h.

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

Definition at line 30 of file Slice.h.

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

Definition at line 35 of file Slice.h.

35 { return fCharge; }
float fCharge
Definition: Slice.h:53
Vector_t recob::Slice::Direction ( ) const
inline

Definition at line 31 of file Slice.h.

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

Definition at line 32 of file Slice.h.

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

Definition at line 33 of file Slice.h.

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

Definition at line 29 of file Slice.h.

29 { return fID; }
int fID
id for this slice
Definition: Slice.h:47
void recob::Slice::SetAspectRatio ( const float  aspectratio)
inline

Definition at line 42 of file Slice.h.

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

Definition at line 38 of file Slice.h.

38 { fCenter = center;}
Point_t fCenter
Center of the slice for flash matching.
Definition: Slice.h:48
def center(depos, point)
Definition: depos.py:117
void recob::Slice::SetCharge ( const float  charge)
inline

Definition at line 43 of file Slice.h.

43 {fCharge = charge;}
float fCharge
Definition: Slice.h:53
void recob::Slice::SetDirection ( const Vector_t  direction)
inline

Definition at line 39 of file Slice.h.

Vector_t fDirection
direction from a linear fit
Definition: Slice.h:49
void recob::Slice::SetEnd0Pos ( const Point_t  endpos)
inline

Definition at line 40 of file Slice.h.

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

Definition at line 41 of file Slice.h.

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

Definition at line 37 of file Slice.h.

37 { fID = id;}
int fID
id for this slice
Definition: Slice.h:47

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 Slice.h.

Point_t recob::Slice::fCenter
private

Center of the slice for flash matching.

Definition at line 48 of file Slice.h.

float recob::Slice::fCharge
private

Definition at line 53 of file Slice.h.

Vector_t recob::Slice::fDirection
private

direction from a linear fit

Definition at line 49 of file Slice.h.

Point_t recob::Slice::fEnd0Pos
private

Position of a SpacePoint at one end of the slice.

Definition at line 50 of file Slice.h.

Point_t recob::Slice::fEnd1Pos
private

Position of the other end.

Definition at line 51 of file Slice.h.

int recob::Slice::fID
private

id for this slice

Definition at line 47 of file Slice.h.


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