LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
sim::SimDriftedElectronCluster Class Reference

#include "SimDriftedElectronCluster.h"

Public Member Functions

 SimDriftedElectronCluster ()=default
 
 SimDriftedElectronCluster (int ne, double t, StoredPoint_t start, StoredPoint_t end, StoredPoint_t width, float e, int id)
 
int NumberOfElectrons () const
 
double Time () const
 
geo::Point_t InitialPosition () const
 
geo::Point_t FinalPosition () const
 
geo::Vector_t ClusterWidth () const
 
float Energy () const
 
int TrackID () const
 
geo::Length_t FinalPositionX () const
 
geo::Length_t FinalPositionY () const
 
geo::Length_t FinalPositionZ () const
 

Private Types

using Length_t = double
 
using StoredPoint_t = geo::GenPoint3DBase_t< double >
 
using StoredVector_t = geo::GenVector3DBase_t< double >
 

Private Attributes

int fNumberOfElectrons
 
double fTime
 
StoredPoint_t fInitialPosition
 
StoredPoint_t fFinalPosition
 
StoredVector_t fClusterWidth
 
float fEnergy
 
int fMotherTrackID
 

Detailed Description

Definition at line 21 of file SimDriftedElectronCluster.h.

Member Typedef Documentation

Definition at line 23 of file SimDriftedElectronCluster.h.

Constructor & Destructor Documentation

sim::SimDriftedElectronCluster::SimDriftedElectronCluster ( )
default
sim::SimDriftedElectronCluster::SimDriftedElectronCluster ( int  ne,
double  t,
StoredPoint_t  start,
StoredPoint_t  end,
StoredPoint_t  width,
float  e,
int  id 
)
inline

Definition at line 30 of file SimDriftedElectronCluster.h.

37  : fNumberOfElectrons(ne)
38  , fTime(t)
39  , fInitialPosition(start)
41  , fClusterWidth(width)
42  , fEnergy(e)
43  , fMotherTrackID(id)
44  {}
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
Definition: StdUtils.h:77
Float_t e
Definition: plot.C:35

Member Function Documentation

geo::Vector_t sim::SimDriftedElectronCluster::ClusterWidth ( ) const
inline

Definition at line 50 of file SimDriftedElectronCluster.h.

References fClusterWidth.

float sim::SimDriftedElectronCluster::Energy ( ) const
inline

Definition at line 51 of file SimDriftedElectronCluster.h.

References fEnergy.

geo::Point_t sim::SimDriftedElectronCluster::FinalPosition ( ) const
inline

Definition at line 49 of file SimDriftedElectronCluster.h.

References fFinalPosition.

geo::Length_t sim::SimDriftedElectronCluster::FinalPositionX ( ) const
inline

Definition at line 54 of file SimDriftedElectronCluster.h.

References fFinalPosition.

54 { return fFinalPosition.X(); }
geo::Length_t sim::SimDriftedElectronCluster::FinalPositionY ( ) const
inline

Definition at line 55 of file SimDriftedElectronCluster.h.

References fFinalPosition.

55 { return fFinalPosition.Y(); }
geo::Length_t sim::SimDriftedElectronCluster::FinalPositionZ ( ) const
inline

Definition at line 56 of file SimDriftedElectronCluster.h.

References fFinalPosition.

56 { return fFinalPosition.Z(); }
geo::Point_t sim::SimDriftedElectronCluster::InitialPosition ( ) const
inline

Definition at line 48 of file SimDriftedElectronCluster.h.

References fInitialPosition.

int sim::SimDriftedElectronCluster::NumberOfElectrons ( ) const
inline
double sim::SimDriftedElectronCluster::Time ( ) const
inline

Definition at line 47 of file SimDriftedElectronCluster.h.

References fTime.

int sim::SimDriftedElectronCluster::TrackID ( ) const
inline

Definition at line 52 of file SimDriftedElectronCluster.h.

References fMotherTrackID.

Member Data Documentation

StoredVector_t sim::SimDriftedElectronCluster::fClusterWidth
private

Definition at line 63 of file SimDriftedElectronCluster.h.

Referenced by ClusterWidth().

float sim::SimDriftedElectronCluster::fEnergy
private

Definition at line 64 of file SimDriftedElectronCluster.h.

Referenced by Energy().

StoredPoint_t sim::SimDriftedElectronCluster::fFinalPosition
private
StoredPoint_t sim::SimDriftedElectronCluster::fInitialPosition
private

Definition at line 61 of file SimDriftedElectronCluster.h.

Referenced by InitialPosition().

int sim::SimDriftedElectronCluster::fMotherTrackID
private

Definition at line 65 of file SimDriftedElectronCluster.h.

Referenced by TrackID().

int sim::SimDriftedElectronCluster::fNumberOfElectrons
private

Definition at line 59 of file SimDriftedElectronCluster.h.

Referenced by NumberOfElectrons().

double sim::SimDriftedElectronCluster::fTime
private

Definition at line 60 of file SimDriftedElectronCluster.h.

Referenced by Time().


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