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;
82 std::vector<edm4eic::TrackerHit>::const_iterator
hits_begin()
const;
83 std::vector<edm4eic::TrackerHit>::const_iterator
hits_end()
const;
84 podio::RelationRange<edm4eic::TrackerHit>
getHits()
const;
90 void unlink() { m_obj = podio::utils::MaybeSharedPtr<TrackSeedObj>{
nullptr}; }
104 swap(a.m_obj, b.m_obj);
109 explicit TrackSeed(podio::utils::MaybeSharedPtr<TrackSeedObj> obj);
112 podio::utils::MaybeSharedPtr<TrackSeedObj> m_obj{
nullptr};
115std::ostream&
operator<<(std::ostream& o,
const TrackSeed& value);
117#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
118void to_json(nlohmann::json& j,
const TrackSeed& value);
Definition MutableTrackSeed.h:38
Definition TrackParameters.h:33
Definition TrackSeedCollectionData.h:32
Definition TrackSeedCollection.h:95
Definition TrackSeedCollection.h:40
Definition TrackSeed.h:39
friend void swap(TrackSeed &a, TrackSeed &b)
Definition TrackSeed.h:102
podio::ObjectID id() const
Definition TrackSeed.h:98
bool operator<(const TrackSeed &other) const
Definition TrackSeed.h:96
bool isAvailable() const
check whether the object is actually available
Definition TrackSeed.cc:93
TrackSeed()
default constructor
Definition TrackSeed.cc:22
void unlink()
disconnect from TrackSeedObj instance
Definition TrackSeed.h:90
bool operator==(const TrackSeed &other) const
Definition TrackSeed.h:92
std::vector< edm4eic::TrackerHit >::const_iterator hits_begin() const
Definition TrackSeed.cc:58
TrackSeed & operator=(TrackSeed other)
copy-assignment operator
Definition TrackSeed.cc:30
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:49
MutableTrackSeed clone() const
create a mutable deep-copy of the object with identical relations
Definition TrackSeed.cc:35
const edm4hep::Vector3f & getPerigee() const
Access the Vector for the perigee (line surface)
Definition TrackSeed.cc:47
podio::RelationRange< edm4eic::TrackerHit > getHits() const
Definition TrackSeed.cc:81
const podio::ObjectID getObjectID() const
Definition TrackSeed.cc:100
TrackSeed(const TrackSeed &other)=default
copy constructor
~TrackSeed()=default
destructor
static TrackSeed makeEmpty()
Definition TrackSeed.cc:43
std::size_t hits_size() const
Definition TrackSeed.cc:70
std::vector< edm4eic::TrackerHit >::const_iterator hits_end() const
Definition TrackSeed.cc:64
Definition TrackSeedObj.h:23
Definition TrackerHit.h:38
Definition CalorimeterHit.cc:18
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition CalorimeterHit.cc:97