8#ifndef LAR_PROTO_SHOWER_H
9#define LAR_PROTO_SHOWER_H 1
60 m_startPosition(startPosition),
61 m_startDirection(startDirection)
131 m_startPosition(startPosition),
132 m_startDirection(startDirection)
272 m_showerCore(showerCore),
273 m_connectionPathway(connectionPathway),
274 m_spineHitList(spineHitList),
275 m_ambiguousHitList(ambiguousHitList),
276 m_ambiguousDirectionVector(ambiguousDirectionVector),
277 m_hitsToAdd(hitsToAdd)
284 m_showerCore(
ShowerCore(protoShower.GetShowerCore().GetStartPosition(), protoShower.GetShowerCore().GetStartDirection())),
286 ConnectionPathway(protoShower.GetConnectionPathway().GetStartPosition(), protoShower.GetConnectionPathway().GetStartDirection())),
287 m_spineHitList(protoShower.GetSpineHitList()),
288 m_ambiguousHitList(protoShower.GetAmbiguousHitList()),
289 m_ambiguousDirectionVector(protoShower.GetAmbiguousDirectionVector()),
290 m_hitsToAdd(protoShower.GetHitsToAddList())
451 m_protoShowerU(protoShowerU),
452 m_protoShowerV(protoShowerV),
453 m_protoShowerW(protoShowerW),
454 m_consistencyType(consistencyType)
Header file for the calo hit class.
Header file for the cartesian vector class.
Header file defining relevant internal typedefs, sort and string conversion functions.
const pandora::CartesianVector & GetStartDirection() const
Get the start direction of the connection pathway.
ConnectionPathway()
Default constructor.
const pandora::CartesianVector & GetStartPosition() const
Get the start position of the connection pathway.
pandora::CartesianVector m_startPosition
the start position of the connection pathway
pandora::CartesianVector m_startDirection
the initial direction of the connection pathway
void SetHitsToAddList(const pandora::CaloHitList &hitsToAddList)
Set the hits to add list.
const ShowerCore & GetShowerCore() const
Get the shower core.
pandora::CaloHitList m_ambiguousHitList
the list of ambiguous hits (those with shared energy deposits)
pandora::CartesianPointVector m_ambiguousDirectionVector
the initial directions of the ambiguous hit owners
const pandora::CaloHitList & GetHitsToAddList() const
Get the hits to add list.
const pandora::CaloHitList & GetAmbiguousHitList() const
Get the ambiguous hit list.
void AddHitToAdd(const pandora::CaloHit *const hitToAdd)
Add a hit to the hits to add list.
ProtoShower(const ShowerCore &showerCore, const ConnectionPathway &connectionPathway, const pandora::CaloHitList &spineHitList, const pandora::CaloHitList &ambiguousHitList, const pandora::CartesianPointVector &ambiguousDirectionVector, const pandora::CaloHitList &hitsToAdd)
Constructor.
const ConnectionPathway m_connectionPathway
the ConnectionPathway object
const ConnectionPathway & GetConnectionPathway() const
Get the connection pathway.
pandora::CaloHitList m_hitsToAdd
the list of hits to add to an electron shower pfo
void AddAmbiguousDirection(const pandora::CartesianVector &ambiguousDirection)
Add an ambiguous direction to the ambiguous direction vector.
void AddAmbiguousHit(const pandora::CaloHit *const ambiguousHit)
Add an ambiguous hit to the ambiguous hit list.
const pandora::CartesianPointVector & GetAmbiguousDirectionVector() const
Get the ambiguous direction vector.
const pandora::CaloHitList & GetSpineHitList() const
Get the spine hit list.
pandora::CaloHitList m_spineHitList
the shower spine hit list
const ShowerCore m_showerCore
the ShowerCore object
Consistency m_consistencyType
the nature of the 2D->3D match
ProtoShower m_protoShowerW
the W view ProtoShower
const ProtoShower & GetProtoShowerV() const
Get the V view ProtoShower.
ProtoShowerMatch()
Default constructor.
const ProtoShower & GetProtoShowerW() const
Get the W view ProtoShower.
ProtoShower m_protoShowerV
the V view ProtoShower
const Consistency & GetConsistencyType() const
Get the consistency type.
ProtoShower & GetProtoShowerToModify(const pandora::HitType hitType)
Get a modifiable ProtoShower in a given view.
ProtoShower m_protoShowerU
the U view ProtoShower
const ProtoShower & GetProtoShowerU() const
Get the U view ProtoShower.
pandora::CartesianVector m_startDirection
the initial 2D direction of the shower cascade
const pandora::CartesianVector & GetStartDirection() const
Get the start direction of the shower core.
ShowerCore()
Default constructor.
pandora::CartesianVector m_startPosition
the 2D position at which the cascade looks to begin
const pandora::CartesianVector & GetStartPosition() const
Get the start position of the shower core.
std::vector< ProtoShower > ProtoShowerVector
Consistency
Consistency enumeration.
std::vector< ProtoShowerMatch > ProtoShowerMatchVector
std::vector< ConnectionPathway > ConnectionPathwayVector
HitType
Calorimeter hit type enum.
std::vector< CartesianVector > CartesianPointVector
MANAGED_CONTAINER< const CaloHit * > CaloHitList