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.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Typedefs | Functions
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
 

Typedefs

using json = nlohmann::json
 

Functions

bool hasCollection (EVENT::LCEvent *lc_event, const std::string &collection)
 description
 
VertexbuildVertex (EVENT::Vertex *lc_vertex)
 description
 
ParticlebuildParticle (EVENT::ReconstructedParticle *lc_particle, std::string trackstate_location, EVENT::LCCollection *gbl_kink_data, EVENT::LCCollection *track_data)
 description
 
TrackbuildTrack (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
 
RawSvtHitbuildRawHit (EVENT::TrackerRawData *rawTracker_hit, EVENT::LCCollection *raw_svt_hit_fits)
 
TrackerHitbuildTrackerHit (IMPL::TrackerHitImpl *lc_trackerHit, bool rotate=true, int type=0)
 description
 
CalClusterbuildCalCluster (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_x, double vtx_y, double vtx_z, double vtx_px, double vtx_py, double vtx_pz)
 description
 

Typedef Documentation

◆ json

using json = nlohmann::json

Definition at line 24 of file utilities.h.