1 #ifndef LCIO_OPERATORS_H
2 #define LCIO_OPERATORS_H 1
38 #include "EVENT/LCIO.h"
82 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::Vertex>& sV);
89 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::MCParticle>& sV);
95 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::TrackerHit>& sV);
100 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::TrackerHitPlane>& sV);
105 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::TrackerHitZCylinder>& sV);
110 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::SimTrackerHit>& sV);
115 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::CalorimeterHit>& sV);
120 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::SimCalorimeterHit>& sV);
125 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::ReconstructedParticle> & );
130 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::Track> &);
135 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::TrackState> &);
140 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::Cluster> &);
145 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCRelation> &);
150 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCFloatVec> &);
178 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::CalorimeterHit> l);
179 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::Cluster> l);
180 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::Track> l);
181 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::TrackState> l);
182 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::ReconstructedParticle> ll);
183 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::SimCalorimeterHit> ll);
184 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::TrackerHit> ll);
185 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::TrackerHitPlane> ll);
186 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::TrackerHitZCylinder> ll);
187 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::SimTrackerHit> ll);
188 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::MCParticle> ll);
189 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::Vertex> ll);
190 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::LCRelation> ll);
191 std::ostream& operator<<( std::ostream& out, const LCIO_LONG<EVENT::LCFloatVec> ll);
196 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCCollection> &);
201 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCEvent> &);
206 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCFlag> &);
211 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCGenericObject> &);
216 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCIntVec> &);
221 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCObject> &);
226 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCParameters> &);
231 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCRunHeader> &);
243 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::ParticleID> &);
248 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::RawCalorimeterHit> &);
258 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::TrackerData> &);
263 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::TrackerPulse> &);
268 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::TrackerRawData> &);
273 std::ostream& operator<<( std::ostream& out, const UTIL::lcio_short<EVENT::LCIO> &);
The generic object that is held in an LCCollection.
lcio_short(const T *t, const EVENT::LCCollection *b=NULL)
const std::string & header(const EVENT::Vertex *)
operator for detailed output of a vertex object (e.g.
A generic tracker hit to be used by pattern recognition.
LCIO_LONG(const T &o, const EVENT::LCCollection *c)
The generic simulated calorimeter hit.
The Vertex class for LCIO.
std::string toString(const T *obj)
lcio_short< T > lcshort(const T *t, const EVENT::LCCollection *b=NULL)
const EVENT::LCCollection * col
LCIO_LONG & operator=(const LCIO_LONG &)=default
A tracker hit on a planar surface - the hit is stored as: x,y,z, u(theta, phi), v(theta,phi), du, dv where (x,y,z) is the position in global cartesian coordinates, u,v are the the meassurement directions (unit vectors, spanning the plane) and du,dv are the measurement errors along these directions.
A generic simulated tracker hit.
The LCIO TrackState class.
TrackerData contains the corrected (calibrated) raw tracker data.
const EVENT::LCCollection * collection(void) const
Tracker pulses as computed from TrackerData objects or as directly measured by a specific subdetector...
std::ostream & operator<<(std::ostream &out, const EVENT::Vertex &v)
Simple interface to store generic named parameters of type int, float and string. ...
const T * object(void) const
Int vector used for user extensions.
Float vector used for user extensions.
Simple interface to store generic user data.
const EVENT::LCCollection * col
The LCIO reconstructedParticle.
The LCIO Monte Carlo particle.
Persistent interface for LCIO ParticleIDs.
A single weighted relationship between two LCObjects.
const std::string & tail(const EVENT::Vertex *)
The generic calorimeter hit for real data (or simulation thereof).
LCIO_LONG< T > lcio_long(const T &o, const EVENT::LCCollection *c)
The main event interface.
Generic class for raw tracker data.
The generic collection used in LCIO.
A tracker hit on a cylindrical surface that runs parallel to the z-axis - the hit is stored as: x...
Helper class to create and interpret the 32-bit flag word in LCCollections.
The generic calorimeter hit - created from SimCalorimeterHit or RawCalorimeterHit.