1 #ifndef TRACK_CREATOR_H 2 #define TRACK_CREATOR_H 1 5 #include "Api/PandoraApi.h" 10 namespace gar_pandora {
14 typedef std::set<const gar::rec::Track *>
TrackList;
132 #endif // #ifndef TRACK_CREATOR_H float m_eCalBarrelInnerR
ECal barrel inner radius.
const TrackVector & GetTrackVector() const
pandora::StatusCode CollectTracks(const art::Event &pEvent, const std::string &label, TrackVector &trkVector)
TrackList m_v0TrackList
The list of v0 tracks.
int m_eCalBarrelInnerSymmetry
ECal barrel inner symmetry order.
float m_eCalEndCapInnerZ
ECal endcap inner z.
std::string m_V0Collection
The vees collection.
const RotationTransformation & m_rotation
pandora::StatusCode CreateTracks()
unsigned int m_maxTrackHits
Track quality cut: the maximum number of track hits.
float m_d0TrackCut
Track d0 cut used to determine whether track can be used to form pfo.
const Settings m_settings
float m_minTrackECalDistanceFromIp
Sanity check on separation between ip and track projected ecal position.
std::set< const gar::rec::Track * > TrackList
float m_bField
The bfield.
float m_z0UnmatchedVertexTrackCut
TrackCreator(const Settings &settings, const pandora::Pandora *const pPandora, const RotationTransformation *const pRotation)
float m_z0TrackCut
Track z0 cut used to determine whether track can be used to form pfo.
TrackList m_parentTrackList
The list of parent tracks.
bool IsV0(const gar::rec::Track *const pTrack) const
pandora::StatusCode ExtractProngsAndSplits(const art::Event &pEvent)
pandora::StatusCode CreateTrackAssociations(const art::Event &pEvent)
pandora::StatusCode ExtractKinks(const art::Event &pEvent)
const pandora::Pandora & m_pandora
bool IsParent(const gar::rec::Track *const pTrack) const
float m_eCalBarrelInnerPhi0
ECal barrel inner phi 0.
bool PassesQualityCuts(const gar::rec::Track *const pTrack, const PandoraApi::Track::Parameters &trackParameters) const
General GArSoft Utilities.
unsigned int m_minTrackHits
Track quality cut: the minimum number of track hits.
void GetTrackStates(const gar::rec::Track *const pTrack, PandoraApi::Track::Parameters &trackParameters) const
float m_d0UnmatchedVertexTrackCut
std::string m_trackCollection
The reconstructed track collection.
pandora::StatusCode ExtractV0s(const art::Event &pEvent)
float m_unmatchedVertexTrackMaxEnergy
void CalculateTrackStateAtCalo(const gar::rec::Track *const pTrack, pandora::CartesianVector &posAtCalo) const
void TrackReachesECAL(const gar::rec::Track *const pTrack, PandoraApi::Track::Parameters &trackParameters) const
std::vector< art::Ptr< gar::rec::Track > > TrackVector
float m_maxTrackSigmaPOverP
Track fraction momentum error cut.
bool IsDaughter(const gar::rec::Track *const pTrack) const
TrackVector m_trackVector
std::vector< gar::rec::Track > RawTrackVector
TrackList m_daughterTrackList
The list of daughter tracks.
void CalculateTimeAtCalo(const gar::rec::Track *const pTrack, float &timeAtCalo) const
void DefineTrackPfoUsage(const gar::rec::Track *const pTrack, PandoraApi::Track::Parameters &trackParameters) const