4#include <EVENT/LCCollection.h>
5#include <EVENT/Track.h>
6#include <EVENT/ReconstructedParticle.h>
7#include <EVENT/Vertex.h>
8#include <EVENT/TrackerHit.h>
9#include <EVENT/TrackState.h>
10#include <EVENT/TrackerRawData.h>
11#include <EVENT/CalorimeterHit.h>
12#include <EVENT/Cluster.h>
13#include <IMPL/CalorimeterHitImpl.h>
14#include <IMPL/LCGenericObjectImpl.h>
15#include <IMPL/TrackerHitImpl.h>
16#include <IMPL/ClusterImpl.h>
17#include <UTIL/LCRelationNavigator.h>
18#include <UTIL/BitField64.h>
24using json = nlohmann::json;
54 bool hasCollection(EVENT::LCEvent* lc_event,
const std::string& collection);
73 std::string trackstate_location,
74 EVENT::LCCollection* gbl_kink_data,
75 EVENT::LCCollection* track_data);
86 std::string trackstate_location,
87 EVENT::LCCollection* gbl_kink_data,
88 EVENT::LCCollection* track_data);
102 EVENT::LCCollection* raw_svt_hit_fits);
134 IMPL::TrackerHitImpl* lc_tracker_hit,
135 EVENT::LCCollection* raw_svt_fits,
136 std::vector<RawSvtHit*>* rawHits =
nullptr,
int type = 0,
bool storeRawHit =
true);
148 EVENT::Track* lc_track);
159 EVENT::Track* lc_track);
177 static UTIL::BitField64
decoder(
"system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12");
199 double &vtx_proj_x_signif,
double &vtx_proj_y_signif,
double vtx_x,
double vtx_y,
double vtx_z,
200 double vtx_px,
double vtx_py,
double vtx_pz);
Class that encapsulate calorimeter hit information.
Class defining methods used to access event information and data collections.
Class used to encapsulate information about a particle.
Base classes for all user event processing components to extend.
Class used to encapsulate raw svt hit information.
Class used to encapsulate track information.
Class used to encapsulate tracker hit information.
Class used to encapsulate Vertex information.
bool addRawInfoTo3dHit(TrackerHit *tracker_hit, IMPL::TrackerHitImpl *lc_tracker_hit, EVENT::LCCollection *raw_svt_fits, std::vector< RawSvtHit * > *rawHits=nullptr, int type=0, bool storeRawHit=true)
description
CalCluster * buildCalCluster(EVENT::Cluster *lc_cluster)
description
Track * buildTrack(EVENT::Track *lc_track, std::string trackstate_location, EVENT::LCCollection *gbl_kink_data, EVENT::LCCollection *track_data)
description
Vertex * buildVertex(EVENT::Vertex *lc_vertex)
description
bool hasCollection(EVENT::LCEvent *lc_event, const std::string &collection)
description
bool isUsedByTrack(IMPL::TrackerHitImpl *lc_tracker_hit, EVENT::Track *lc_track)
description
TrackerHit * buildTrackerHit(IMPL::TrackerHitImpl *lc_trackerHit, bool rotate=true, int type=0)
description
double getKalmanTrackL1Isolations(Track *track, std::vector< TrackerHit * > *siClusters)
description
static UTIL::BitField64 decoder("system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12")
description
bool getParticlesFromVertex(Vertex *vtx, Particle *ele, Particle *pos)
description
Particle * buildParticle(EVENT::ReconstructedParticle *lc_particle, std::string trackstate_location, EVENT::LCCollection *gbl_kink_data, EVENT::LCCollection *track_data)
description
double v0_projection_to_target_significance(json v0proj_fits, int run, double &vtx_proj_x, double &vtx_proj_y, double &vtx_proj_x_signif, double &vtx_proj_y_signif, double vtx_x, double vtx_y, double vtx_z, double vtx_px, double vtx_py, double vtx_pz)
description
void get2016KFMCTruthHitCodes(Track *ele_trk, Track *pos_trk, int &L1L2hitCode, int &L1hitCode, int &L2hitCode)
description
bool IsSameTrack(Track *trk1, Track *trk2)
description
RawSvtHit * buildRawHit(EVENT::TrackerRawData *rawTracker_hit, EVENT::LCCollection *raw_svt_hit_fits)