APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
april_content::BarrelGapEnergyFunction Class Reference

BarrelGapEnergyFunction class. More...

#include <EnergyCorrectionPlugins.h>

Inheritance diagram for april_content::BarrelGapEnergyFunction:

Public Member Functions

 BarrelGapEnergyFunction ()
 Default constructor.
 
pandora::StatusCode MakeEnergyCorrections (const pandora::Cluster *const pCluster, float &correctedEnergy) const
 Make energy correction on this given cluster. More...
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 Read settings from the xml handle. More...
 

Private Types

enum  Approach { INNER_GAP_APPROACH = -1, FAR_FROM_GAP = 0, OUTER_GAP_APPROACH = 1 }
 Approach enum.
 

Private Member Functions

bool IsNearbyGap (const pandora::CaloHit *const pCaloHit) const
 Whether the calo hit is near a detector gap.
 
Approach GetApproach (const pandora::CaloHit *const pCaloHit) const
 Get the calo hit approach to barrel module gap.
 

Private Attributes

pandora::FloatVector m_ecalZGapPositions
 
pandora::FloatVector m_hcalZGapPositions
 
float m_ecalDistanceToGap
 
float m_hcalDistanceToGap
 
float m_ecalGapAlpha
 
float m_ecalGapBeta
 
float m_hcalGapAlpha
 
float m_hcalGapBeta
 

Detailed Description

BarrelGapEnergyFunction class.

Member Function Documentation

pandora::StatusCode april_content::BarrelGapEnergyFunction::MakeEnergyCorrections ( const pandora::Cluster *const  pCluster,
float &  correctedEnergy 
) const

Make energy correction on this given cluster.

Parameters
pClusterthe cluster address to correct the energy
correctedEnergythe energy to correct
pandora::StatusCode april_content::BarrelGapEnergyFunction::ReadSettings ( const pandora::TiXmlHandle  xmlHandle)

Read settings from the xml handle.

Parameters
xmlHandlethe xml handle to read settings from

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