LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
recob::Slice Class Reference

#include "Slice.h"

Public Member Functions

 Slice ()
 
 Slice (int id, float aspectratio)
 
int ID () const
 
float AspectRatio () const
 
void SetID (const int id)
 
void SetAspectRatio (const float aspectratio)
 

Private Attributes

int fID
 id for this slice More...
 
float fAspectRatio
 absolute value of the linear correlation coefficient (0 = round blob, 1 = line) More...
 

Detailed Description

Definition at line 19 of file Slice.h.

Constructor & Destructor Documentation

recob::Slice::Slice ( )

Definition at line 11 of file Slice.cxx.

12  :
14  {
15  }
constexpr int kBogusI
obviously bogus integer value
constexpr float kBogusF
obviously bogus float value
recob::Slice::Slice ( int  id,
float  aspectratio 
)
explicit

Definition at line 18 of file Slice.cxx.

19  : fID(id)
20  , fAspectRatio(aspectratio)
21  {
22  }
float fAspectRatio
absolute value of the linear correlation coefficient (0 = round blob, 1 = line)
Definition: Slice.h:27
int fID
id for this slice
Definition: Slice.h:26

Member Function Documentation

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

Definition at line 42 of file Slice.h.

References fAspectRatio.

42 { return fAspectRatio; }
float fAspectRatio
absolute value of the linear correlation coefficient (0 = round blob, 1 = line)
Definition: Slice.h:27
int recob::Slice::ID ( ) const
inline

Definition at line 41 of file Slice.h.

References fID.

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

Definition at line 35 of file Slice.h.

35 {fAspectRatio = aspectratio;}
float fAspectRatio
absolute value of the linear correlation coefficient (0 = round blob, 1 = line)
Definition: Slice.h:27
void recob::Slice::SetID ( const int  id)
inline

Definition at line 34 of file Slice.h.

34 { fID = id;}
int fID
id for this slice
Definition: Slice.h:26

Member Data Documentation

float recob::Slice::fAspectRatio
private

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

Definition at line 27 of file Slice.h.

Referenced by AspectRatio().

int recob::Slice::fID
private

id for this slice

Definition at line 26 of file Slice.h.

Referenced by ID().


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