hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Loading...
Searching...
No Matches
utilities.h File Reference
#include <EVENT/LCCollection.h>
#include <EVENT/Track.h>
#include <EVENT/ReconstructedParticle.h>
#include <EVENT/Vertex.h>
#include <EVENT/TrackerHit.h>
#include <EVENT/TrackState.h>
#include <EVENT/TrackerRawData.h>
#include <EVENT/CalorimeterHit.h>
#include <EVENT/Cluster.h>
#include <IMPL/CalorimeterHitImpl.h>
#include <IMPL/LCGenericObjectImpl.h>
#include <IMPL/TrackerHitImpl.h>
#include <IMPL/ClusterImpl.h>
#include <UTIL/LCRelationNavigator.h>
#include <UTIL/BitField64.h>
#include <vector>
#include <iostream>
#include <fstream>
#include <json.hpp>
#include "Collections.h"
#include "Processor.h"
#include "Particle.h"
#include "Track.h"
#include "Vertex.h"
#include "RawSvtHit.h"
#include "CalCluster.h"
#include "CalHit.h"
#include "Event.h"
#include "TrackerHit.h"
#include "TRefArray.h"

Go to the source code of this file.

Namespaces

namespace  utils

Functions

bool hasCollection (EVENT::LCEvent *lc_event, const std::string &collection)
 description
Vertex * buildVertex (EVENT::Vertex *lc_vertex)
 description
Particle * buildParticle (EVENT::ReconstructedParticle *lc_particle, std::string trackstate_location, EVENT::LCCollection *gbl_kink_data, EVENT::LCCollection *track_data)
 description
Track * buildTrack (EVENT::Track *lc_track, std::string trackstate_location, EVENT::LCCollection *gbl_kink_data, EVENT::LCCollection *track_data)
 description
bool IsSameTrack (Track *trk1, Track *trk2)
 description
RawSvtHit * buildRawHit (EVENT::TrackerRawData *rawTracker_hit, EVENT::LCCollection *raw_svt_hit_fits)
TrackerHit * buildTrackerHit (IMPL::TrackerHitImpl *lc_trackerHit, bool rotate=true, int type=0)
 description
CalCluster * buildCalCluster (EVENT::Cluster *lc_cluster)
 description
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
bool isUsedByTrack (IMPL::TrackerHitImpl *lc_tracker_hit, EVENT::Track *lc_track)
 description
bool isUsedByTrack (TrackerHit *tracker_hit, EVENT::Track *lc_track)
 description
bool getParticlesFromVertex (Vertex *vtx, Particle *ele, Particle *pos)
 description
static UTIL::BitField64 decoder ("system:6,barrel:3,layer:4,module:12,sensor:1,side:32:-2,strip:12")
 description
double getKalmanTrackL1Isolations (Track *track, std::vector< TrackerHit * > *siClusters)
 description
void get2016KFMCTruthHitCodes (Track *ele_trk, Track *pos_trk, int &L1L2hitCode, int &L1hitCode, int &L2hitCode)
 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_proj_x_centered, double &vtx_proj_y_centered, double vtx_x, double vtx_y, double vtx_z, double vtx_px, double vtx_py, double vtx_pz, bool debug=false)
 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, Vertex *vtx, double &vtx_proj_x_err, double &vtx_proj_y_err, double &vtx_proj_x_centered, double &vtx_proj_y_centered, bool debug=false)
void debug_target_projection (double target_pos, Vertex *vtx)