Geant4  10.01.p02
CexmcReconstructor Class Reference

#include <CexmcReconstructor.hh>

+ Inheritance diagram for CexmcReconstructor:
+ Collaboration diagram for CexmcReconstructor:

Public Member Functions

 CexmcReconstructor ()
 
virtual ~CexmcReconstructor ()
 
virtual void Reconstruct (const CexmcEnergyDepositStore *edStore)
 
void SetCalorimeterEntryPointDefinitionAlgorithm (CexmcCalorimeterEntryPointDefinitionAlgorithm algo)
 
void SetCalorimeterEntryPointDepthDefinitionAlgorithm (CexmcCalorimeterEntryPointDepthDefinitionAlgorithm algo)
 
void SetCrystalSelectionAlgorithm (CexmcCrystalSelectionAlgorithm algo)
 
void UseInnerRefCrystal (G4bool on=true)
 
void SetCalorimeterEntryPointDepth (G4double depth)
 
CexmcCalorimeterEntryPointDefinitionAlgorithm GetCalorimeterEntryPointDefinitionAlgorithm (void) const
 
CexmcCalorimeterEntryPointDepthDefinitionAlgorithm GetCalorimeterEntryPointDepthDefinitionAlgorithm (void) const
 
CexmcCrystalSelectionAlgorithm GetCrystalSelectionAlgorithm (void) const
 
G4bool IsInnerRefCrystalUsed (void) const
 
G4double GetCalorimeterEntryPointDepth (void) const
 
const G4ThreeVectorGetCalorimeterEPLeftPosition (void) const
 
const G4ThreeVectorGetCalorimeterEPRightPosition (void) const
 
const G4ThreeVectorGetCalorimeterEPLeftDirection (void) const
 
const G4ThreeVectorGetCalorimeterEPRightDirection (void) const
 
const G4ThreeVectorGetTargetEPPosition (void) const
 
const G4ThreeVectorGetTargetEPDirection (void) const
 
const G4ThreeVectorGetCalorimeterEPLeftWorldPosition (void) const
 
const G4ThreeVectorGetCalorimeterEPRightWorldPosition (void) const
 
const G4ThreeVectorGetCalorimeterEPLeftWorldDirection (void) const
 
const G4ThreeVectorGetCalorimeterEPRightWorldDirection (void) const
 
const G4ThreeVectorGetTargetEPWorldPosition (void) const
 
const G4ThreeVectorGetTargetEPWorldDirection (void) const
 
G4double GetTheAngle (void) const
 
G4bool HasBasicTrigger (void) const
 
virtual G4bool HasFullTrigger (void) const
 

Protected Member Functions

void ReconstructEntryPoints (const CexmcEnergyDepositStore *edStore)
 
void ReconstructTargetPoint (void)
 
void ReconstructAngle (void)
 

Protected Attributes

G4bool hasBasicTrigger
 
CexmcCalorimeterEntryPointDefinitionAlgorithm epDefinitionAlgorithm
 
CexmcCalorimeterEntryPointDepthDefinitionAlgorithm epDepthDefinitionAlgorithm
 
CexmcCrystalSelectionAlgorithm csAlgorithm
 
G4bool useInnerRefCrystal
 
G4double epDepth
 
G4ThreeVector calorimeterEPLeftPosition
 
G4ThreeVector calorimeterEPRightPosition
 
G4ThreeVector calorimeterEPLeftDirection
 
G4ThreeVector calorimeterEPRightDirection
 
G4ThreeVector targetEPPosition
 
G4ThreeVector targetEPDirection
 
G4ThreeVector calorimeterEPLeftWorldPosition
 
G4ThreeVector calorimeterEPRightWorldPosition
 
G4ThreeVector calorimeterEPLeftWorldDirection
 
G4ThreeVector calorimeterEPRightWorldDirection
 
G4ThreeVector targetEPWorldPosition
 
G4ThreeVector targetEPWorldDirection
 
G4double theAngle
 
G4double calorimeterEDLeftAdjacent
 
G4double calorimeterEDRightAdjacent
 
G4bool collectEDInAdjacentCrystals
 

Private Member Functions

void CollectEDInAdjacentCrystals (const CexmcEnergyDepositCalorimeterCollection &edHits, G4int row, G4int column, G4double &ed)
 
void CalculateWeightedEPPosition (const CexmcEnergyDepositCalorimeterCollection &edHits, G4int row, G4int column, G4double &x, G4double &y, G4double &ed)
 
void TransformToAdjacentInnerCrystal (G4int &column, G4int &row) const
 

Private Attributes

CexmcSetup::CalorimeterGeometryData calorimeterGeometry
 
G4AffineTransform calorimeterLeftTransform
 
G4AffineTransform calorimeterRightTransform
 
G4AffineTransform targetTransform
 
G4bool targetEPInitialized
 
CexmcReconstructorMessengermessenger
 

Detailed Description

Definition at line 56 of file CexmcReconstructor.hh.

Constructor & Destructor Documentation

CexmcReconstructor::CexmcReconstructor ( )
explicit
CexmcReconstructor::~CexmcReconstructor ( )
virtual

Definition at line 70 of file CexmcReconstructor.cc.

References messenger.

Member Function Documentation

void CexmcReconstructor::CalculateWeightedEPPosition ( const CexmcEnergyDepositCalorimeterCollection edHits,
G4int  row,
G4int  column,
G4double x,
G4double y,
G4double ed 
)
private
void CexmcReconstructor::CollectEDInAdjacentCrystals ( const CexmcEnergyDepositCalorimeterCollection edHits,
G4int  row,
G4int  column,
G4double ed 
)
private

Definition at line 280 of file CexmcReconstructor.cc.

Referenced by ReconstructEntryPoints().

+ Here is the caller graph for this function:

CexmcCalorimeterEntryPointDefinitionAlgorithm CexmcReconstructor::GetCalorimeterEntryPointDefinitionAlgorithm ( void  ) const
inline

Definition at line 248 of file CexmcReconstructor.hh.

References epDefinitionAlgorithm.

G4double CexmcReconstructor::GetCalorimeterEntryPointDepth ( void  ) const
inline

Definition at line 276 of file CexmcReconstructor.hh.

References epDepth.

CexmcCalorimeterEntryPointDepthDefinitionAlgorithm CexmcReconstructor::GetCalorimeterEntryPointDepthDefinitionAlgorithm ( void  ) const
inline

Definition at line 256 of file CexmcReconstructor.hh.

References epDepthDefinitionAlgorithm.

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPLeftDirection ( void  ) const
inline

Definition at line 297 of file CexmcReconstructor.hh.

References calorimeterEPLeftDirection.

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPLeftPosition ( void  ) const
inline

Definition at line 283 of file CexmcReconstructor.hh.

References calorimeterEPLeftPosition.

Referenced by CexmcEventAction::PrintReconstructedData().

+ Here is the caller graph for this function:

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPLeftWorldDirection ( void  ) const
inline

Definition at line 339 of file CexmcReconstructor.hh.

References calorimeterEPLeftWorldDirection.

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPLeftWorldPosition ( void  ) const
inline

Definition at line 325 of file CexmcReconstructor.hh.

References calorimeterEPLeftWorldPosition.

Referenced by CexmcEventAction::DrawReconstructionData().

+ Here is the caller graph for this function:

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPRightDirection ( void  ) const
inline

Definition at line 304 of file CexmcReconstructor.hh.

References calorimeterEPRightDirection.

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPRightPosition ( void  ) const
inline

Definition at line 290 of file CexmcReconstructor.hh.

References calorimeterEPRightPosition.

Referenced by CexmcEventAction::PrintReconstructedData().

+ Here is the caller graph for this function:

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPRightWorldDirection ( void  ) const
inline

Definition at line 346 of file CexmcReconstructor.hh.

References calorimeterEPRightWorldDirection.

const G4ThreeVector & CexmcReconstructor::GetCalorimeterEPRightWorldPosition ( void  ) const
inline

Definition at line 332 of file CexmcReconstructor.hh.

References calorimeterEPRightWorldPosition.

Referenced by CexmcEventAction::DrawReconstructionData().

+ Here is the caller graph for this function:

CexmcCrystalSelectionAlgorithm CexmcReconstructor::GetCrystalSelectionAlgorithm ( void  ) const
inline

Definition at line 264 of file CexmcReconstructor.hh.

References csAlgorithm.

const G4ThreeVector & CexmcReconstructor::GetTargetEPDirection ( void  ) const
inline

Definition at line 318 of file CexmcReconstructor.hh.

References targetEPDirection.

const G4ThreeVector & CexmcReconstructor::GetTargetEPPosition ( void  ) const
inline

Definition at line 311 of file CexmcReconstructor.hh.

References targetEPPosition.

Referenced by CexmcEventAction::PrintReconstructedData().

+ Here is the caller graph for this function:

const G4ThreeVector & CexmcReconstructor::GetTargetEPWorldDirection ( void  ) const
inline

Definition at line 360 of file CexmcReconstructor.hh.

References targetEPWorldDirection.

const G4ThreeVector & CexmcReconstructor::GetTargetEPWorldPosition ( void  ) const
inline

Definition at line 353 of file CexmcReconstructor.hh.

References targetEPWorldPosition.

Referenced by CexmcEventAction::DrawReconstructionData().

+ Here is the caller graph for this function:

G4double CexmcReconstructor::GetTheAngle ( void  ) const
inline

Definition at line 366 of file CexmcReconstructor.hh.

References theAngle.

Referenced by CexmcEventAction::PrintReconstructedData().

+ Here is the caller graph for this function:

G4bool CexmcReconstructor::HasBasicTrigger ( void  ) const
inline

Definition at line 372 of file CexmcReconstructor.hh.

References hasBasicTrigger.

Referenced by CexmcEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4bool CexmcReconstructor::HasFullTrigger ( void  ) const
virtual

Reimplemented in CexmcChargeExchangeReconstructor.

Definition at line 87 of file CexmcReconstructor.cc.

References hasBasicTrigger.

G4bool CexmcReconstructor::IsInnerRefCrystalUsed ( void  ) const
inline

Definition at line 270 of file CexmcReconstructor.hh.

References useInnerRefCrystal.

void CexmcReconstructor::Reconstruct ( const CexmcEnergyDepositStore edStore)
virtual

Reimplemented in CexmcChargeExchangeReconstructor.

Definition at line 76 of file CexmcReconstructor.cc.

References hasBasicTrigger, ReconstructAngle(), ReconstructEntryPoints(), and ReconstructTargetPoint().

+ Here is the call graph for this function:

void CexmcReconstructor::ReconstructAngle ( void  )
protected

Definition at line 268 of file CexmcReconstructor.cc.

References calorimeterEPLeftWorldPosition, calorimeterEPRightWorldPosition, hasBasicTrigger, targetEPWorldPosition, and theAngle.

Referenced by Reconstruct(), and CexmcChargeExchangeReconstructor::Reconstruct().

+ Here is the caller graph for this function:

void CexmcReconstructor::ReconstructEntryPoints ( const CexmcEnergyDepositStore edStore)
protected

Definition at line 93 of file CexmcReconstructor.cc.

References CalculateWeightedEPPosition(), calorimeterEDLeftAdjacent, CexmcEnergyDepositStore::calorimeterEDLeftCollection, CexmcEnergyDepositStore::calorimeterEDLeftMaxX, CexmcEnergyDepositStore::calorimeterEDLeftMaxY, calorimeterEDRightAdjacent, CexmcEnergyDepositStore::calorimeterEDRightCollection, CexmcEnergyDepositStore::calorimeterEDRightMaxX, CexmcEnergyDepositStore::calorimeterEDRightMaxY, calorimeterEPLeftDirection, calorimeterEPLeftPosition, calorimeterEPLeftWorldDirection, calorimeterEPLeftWorldPosition, calorimeterEPRightDirection, calorimeterEPRightPosition, calorimeterEPRightWorldDirection, calorimeterEPRightWorldPosition, calorimeterGeometry, calorimeterLeftTransform, calorimeterRightTransform, CexmcEntryPointByLinearEDWeights, CexmcEntryPointBySqrtEDWeights, CexmcEntryPointDepthPlain, CexmcEntryPointDepthSphere, CexmcEntryPointInTheCenter, CexmcEntryPointInTheCenterOfCrystalWithMaxED, CexmcSelectAdjacentCrystals, CollectEDInAdjacentCrystals(), collectEDInAdjacentCrystals, CexmcSetup::CalorimeterGeometryData::crystalHeight, CexmcSetup::CalorimeterGeometryData::crystalLength, CexmcSetup::CalorimeterGeometryData::crystalWidth, csAlgorithm, epDefinitionAlgorithm, epDepth, epDepthDefinitionAlgorithm, hasBasicTrigger, CexmcSetup::CalorimeterGeometryData::nCrystalsInColumn, CexmcSetup::CalorimeterGeometryData::nCrystalsInRow, G4AffineTransform::NetTranslation(), G4AffineTransform::TransformAxis(), G4AffineTransform::TransformPoint(), TransformToAdjacentInnerCrystal(), and useInnerRefCrystal.

Referenced by Reconstruct(), and CexmcChargeExchangeReconstructor::Reconstruct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcReconstructor::ReconstructTargetPoint ( void  )
protected

Definition at line 247 of file CexmcReconstructor.cc.

References hasBasicTrigger, G4AffineTransform::Inverse(), targetEPDirection, targetEPInitialized, targetEPPosition, targetEPWorldDirection, targetEPWorldPosition, targetTransform, G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().

Referenced by Reconstruct(), and CexmcChargeExchangeReconstructor::Reconstruct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CexmcReconstructor::SetCalorimeterEntryPointDefinitionAlgorithm ( CexmcCalorimeterEntryPointDefinitionAlgorithm  algo)
inline

Definition at line 212 of file CexmcReconstructor.hh.

References epDefinitionAlgorithm.

Referenced by CexmcReconstructorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void CexmcReconstructor::SetCalorimeterEntryPointDepth ( G4double  depth)
inline

Definition at line 240 of file CexmcReconstructor.hh.

References epDepth.

Referenced by CexmcReconstructorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void CexmcReconstructor::SetCalorimeterEntryPointDepthDefinitionAlgorithm ( CexmcCalorimeterEntryPointDepthDefinitionAlgorithm  algo)
inline

Definition at line 220 of file CexmcReconstructor.hh.

References epDepthDefinitionAlgorithm.

Referenced by CexmcReconstructorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void CexmcReconstructor::SetCrystalSelectionAlgorithm ( CexmcCrystalSelectionAlgorithm  algo)
inline

Definition at line 227 of file CexmcReconstructor.hh.

References csAlgorithm.

Referenced by CexmcReconstructorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void CexmcReconstructor::TransformToAdjacentInnerCrystal ( G4int column,
G4int row 
) const
inlineprivate

Definition at line 378 of file CexmcReconstructor.hh.

References calorimeterGeometry, CexmcSetup::CalorimeterGeometryData::nCrystalsInColumn, and CexmcSetup::CalorimeterGeometryData::nCrystalsInRow.

Referenced by ReconstructEntryPoints().

+ Here is the caller graph for this function:

void CexmcReconstructor::UseInnerRefCrystal ( G4bool  on = true)
inline

Definition at line 234 of file CexmcReconstructor.hh.

References useInnerRefCrystal.

Referenced by CexmcReconstructorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4double CexmcReconstructor::calorimeterEDLeftAdjacent
protected
G4double CexmcReconstructor::calorimeterEDRightAdjacent
protected
G4ThreeVector CexmcReconstructor::calorimeterEPLeftDirection
protected

Definition at line 167 of file CexmcReconstructor.hh.

Referenced by GetCalorimeterEPLeftDirection(), and ReconstructEntryPoints().

G4ThreeVector CexmcReconstructor::calorimeterEPLeftPosition
protected

Definition at line 163 of file CexmcReconstructor.hh.

Referenced by GetCalorimeterEPLeftPosition(), and ReconstructEntryPoints().

G4ThreeVector CexmcReconstructor::calorimeterEPLeftWorldDirection
protected
G4ThreeVector CexmcReconstructor::calorimeterEPLeftWorldPosition
protected
G4ThreeVector CexmcReconstructor::calorimeterEPRightDirection
protected
G4ThreeVector CexmcReconstructor::calorimeterEPRightPosition
protected

Definition at line 165 of file CexmcReconstructor.hh.

Referenced by GetCalorimeterEPRightPosition(), and ReconstructEntryPoints().

G4ThreeVector CexmcReconstructor::calorimeterEPRightWorldDirection
protected
G4ThreeVector CexmcReconstructor::calorimeterEPRightWorldPosition
protected
G4AffineTransform CexmcReconstructor::calorimeterLeftTransform
private

Definition at line 199 of file CexmcReconstructor.hh.

Referenced by CexmcReconstructor(), and ReconstructEntryPoints().

G4AffineTransform CexmcReconstructor::calorimeterRightTransform
private

Definition at line 201 of file CexmcReconstructor.hh.

Referenced by CexmcReconstructor(), and ReconstructEntryPoints().

G4bool CexmcReconstructor::collectEDInAdjacentCrystals
protected
G4double CexmcReconstructor::epDepth
protected
CexmcReconstructorMessenger* CexmcReconstructor::messenger
private

Definition at line 208 of file CexmcReconstructor.hh.

Referenced by CexmcReconstructor(), and ~CexmcReconstructor().

G4ThreeVector CexmcReconstructor::targetEPDirection
protected

Definition at line 173 of file CexmcReconstructor.hh.

Referenced by GetTargetEPDirection(), and ReconstructTargetPoint().

G4bool CexmcReconstructor::targetEPInitialized
private

Definition at line 205 of file CexmcReconstructor.hh.

Referenced by ReconstructTargetPoint().

G4ThreeVector CexmcReconstructor::targetEPPosition
protected

Definition at line 171 of file CexmcReconstructor.hh.

Referenced by GetTargetEPPosition(), and ReconstructTargetPoint().

G4ThreeVector CexmcReconstructor::targetEPWorldDirection
protected

Definition at line 185 of file CexmcReconstructor.hh.

Referenced by GetTargetEPWorldDirection(), and ReconstructTargetPoint().

G4ThreeVector CexmcReconstructor::targetEPWorldPosition
protected
G4AffineTransform CexmcReconstructor::targetTransform
private

Definition at line 203 of file CexmcReconstructor.hh.

Referenced by CexmcReconstructor(), and ReconstructTargetPoint().

G4double CexmcReconstructor::theAngle
protected
G4bool CexmcReconstructor::useInnerRefCrystal
protected

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