LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_content::ShowerCore Class Reference

ShowerCore class. More...

#include "LArProtoShower.h"

Public Member Functions

 ShowerCore ()
 Default constructor. More...
 
 ShowerCore (const pandora::CartesianVector &startPosition, const pandora::CartesianVector &startDirection)
 Constructor. More...
 
const pandora::CartesianVector & GetStartPosition () const
 Get the start position of the shower core. More...
 
const pandora::CartesianVector & GetStartDirection () const
 Get the start direction of the shower core. More...
 

Private Attributes

pandora::CartesianVector m_startPosition
 the 2D position at which the cascade looks to begin More...
 
pandora::CartesianVector m_startDirection
 the initial 2D direction of the shower cascade More...
 

Detailed Description

ShowerCore class.

Definition at line 22 of file LArProtoShower.h.

Constructor & Destructor Documentation

lar_content::ShowerCore::ShowerCore ( )
inline

Default constructor.

Definition at line 67 of file LArProtoShower.h.

67  :
68  m_startPosition(0.f, 0.f, 0.f),
69  m_startDirection(0.f, 0.f, 0.f)
70 {
71 }
pandora::CartesianVector m_startDirection
the initial 2D direction of the shower cascade
pandora::CartesianVector m_startPosition
the 2D position at which the cascade looks to begin
TFile f
Definition: plotHisto.C:6
lar_content::ShowerCore::ShowerCore ( const pandora::CartesianVector &  startPosition,
const pandora::CartesianVector &  startDirection 
)
inline

Constructor.

Parameters
startPositionthe 2D position at which the cascade looks to begin
startDirectionthe initial 2D direction of the shower cascade

Definition at line 59 of file LArProtoShower.h.

59  :
60  m_startPosition(startPosition),
61  m_startDirection(startDirection)
62 {
63 }
pandora::CartesianVector m_startDirection
the initial 2D direction of the shower cascade
pandora::CartesianVector m_startPosition
the 2D position at which the cascade looks to begin

Member Function Documentation

const pandora::CartesianVector & lar_content::ShowerCore::GetStartDirection ( ) const
inline

Get the start direction of the shower core.

Returns
the start direction

Definition at line 82 of file LArProtoShower.h.

References m_startDirection.

83 {
84  return m_startDirection;
85 }
pandora::CartesianVector m_startDirection
the initial 2D direction of the shower cascade
const pandora::CartesianVector & lar_content::ShowerCore::GetStartPosition ( ) const
inline

Member Data Documentation

pandora::CartesianVector lar_content::ShowerCore::m_startDirection
private

the initial 2D direction of the shower cascade

Definition at line 54 of file LArProtoShower.h.

Referenced by GetStartDirection().

pandora::CartesianVector lar_content::ShowerCore::m_startPosition
private

the 2D position at which the cascade looks to begin

Definition at line 53 of file LArProtoShower.h.

Referenced by GetStartPosition().


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