LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
lar_content::LArCaloHit Class Reference

LAr calo hit class. More...

#include "LArCaloHit.h"

Inheritance diagram for lar_content::LArCaloHit:

Public Member Functions

 LArCaloHit (const LArCaloHitParameters &parameters)
 Constructor. More...
 
unsigned int GetLArTPCVolumeId () const
 Get the lar tpc volume id. More...
 

Private Attributes

unsigned int m_larTPCVolumeId
 The lar tpc volume id. More...
 

Detailed Description

LAr calo hit class.

Definition at line 38 of file LArCaloHit.h.

Constructor & Destructor Documentation

lar_content::LArCaloHit::LArCaloHit ( const LArCaloHitParameters parameters)
inline

Constructor.

Parameters
parametersthe lar calo hit parameters

Definition at line 102 of file LArCaloHit.h.

Referenced by lar_content::LArCaloHitFactory::Create().

102  :
103  object_creation::CaloHit::Object(parameters),
104  m_larTPCVolumeId(parameters.m_larTPCVolumeId.Get())
105 {
106 }
unsigned int m_larTPCVolumeId
The lar tpc volume id.
Definition: LArCaloHit.h:56

Member Function Documentation

unsigned int lar_content::LArCaloHit::GetLArTPCVolumeId ( ) const
inline

Get the lar tpc volume id.

Returns
the lar tpc volume id

Definition at line 110 of file LArCaloHit.h.

References m_larTPCVolumeId.

Referenced by lar_content::CosmicRayTaggingTool::CheckIfInTime(), lar_content::MasterAlgorithm::GetVolumeIdToHitListMap(), and lar_content::LArCaloHitFactory::Write().

111 {
112  return m_larTPCVolumeId;
113 }
unsigned int m_larTPCVolumeId
The lar tpc volume id.
Definition: LArCaloHit.h:56

Member Data Documentation

unsigned int lar_content::LArCaloHit::m_larTPCVolumeId
private

The lar tpc volume id.

Definition at line 56 of file LArCaloHit.h.

Referenced by GetLArTPCVolumeId().


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