3#ifndef EDM4EIC_TrackSeed_H
4#define EDM4EIC_TrackSeed_H
9#include "edm4hep/Vector3f.h"
10#include "podio/RelationRange.h"
13#include "podio/utilities/MaybeSharedPtr.h"
18#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
19#include "nlohmann/json_fwd.hpp"
25class MutableTrackParameters;
31class MutableTrackSeed;
32class TrackSeedCollection;
33class TrackSeedCollectionData;
85 std::vector<edm4eic::TrackerHit>::const_iterator
hits_begin()
const;
86 std::vector<edm4eic::TrackerHit>::const_iterator
hits_end()
const;
87 podio::RelationRange<edm4eic::TrackerHit>
getHits()
const;
93 void unlink() { m_obj = podio::utils::MaybeSharedPtr<TrackSeedObj>{
nullptr}; }
110 swap(a.m_obj, b.m_obj);
115 explicit TrackSeed(podio::utils::MaybeSharedPtr<TrackSeedObj> obj);
118 podio::utils::MaybeSharedPtr<TrackSeedObj> m_obj{
nullptr};
121std::ostream&
operator<<(std::ostream& o,
const TrackSeed& value);
123#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
124void to_json(nlohmann::json& j,
const TrackSeed& value);
Definition MutableTrackSeed.h:37
Definition TrackParameters.h:33
Definition TrackSeedCollectionData.h:32
Definition TrackSeedCollection.h:92
Definition TrackSeedCollection.h:37
Definition TrackSeed.h:39
bool operator!=(const MutableTrackSeed &other) const
Definition TrackSeed.h:99
friend void swap(TrackSeed &a, TrackSeed &b)
Definition TrackSeed.h:108
podio::ObjectID id() const
Definition TrackSeed.h:104
bool operator<(const TrackSeed &other) const
Definition TrackSeed.h:102
bool isAvailable() const
check whether the object is actually available
Definition TrackSeed.cc:113
MutableTrackSeed clone(bool cloneRelations=true) const
Definition TrackSeed.cc:34
TrackSeed()
default constructor
Definition TrackSeed.cc:21
void unlink()
disconnect from TrackSeedObj instance
Definition TrackSeed.h:93
bool operator==(const TrackSeed &other) const
Definition TrackSeed.h:95
std::vector< edm4eic::TrackerHit >::const_iterator hits_begin() const
Definition TrackSeed.cc:78
TrackSeed & operator=(TrackSeed other)
copy-assignment operator
Definition TrackSeed.cc:29
friend class TrackSeedCollection
Definition TrackSeed.h:42
friend class MutableTrackSeed
Definition TrackSeed.h:41
const edm4eic::TrackParameters getParams() const
Access the Initial track parameters.
Definition TrackSeed.cc:69
const edm4hep::Vector3f & getPerigee() const
Access the Vector for the perigee (line surface)
Definition TrackSeed.cc:67
podio::RelationRange< edm4eic::TrackerHit > getHits() const
Definition TrackSeed.cc:101
const podio::ObjectID getObjectID() const
Definition TrackSeed.cc:117
TrackSeed(const TrackSeed &other)=default
copy constructor
~TrackSeed()=default
destructor
static TrackSeed makeEmpty()
Definition TrackSeed.cc:63
std::size_t hits_size() const
Definition TrackSeed.cc:90
std::vector< edm4eic::TrackerHit >::const_iterator hits_end() const
Definition TrackSeed.cc:84
bool operator!=(const TrackSeed &other) const
Definition TrackSeed.h:98
Definition TrackSeedObj.h:23
Definition TrackerHit.h:38
Definition CalorimeterHit.cc:17
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition CalorimeterHit.cc:103