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.
|
brief description more details More...
#include <AnaHelpers.h>
Public Member Functions | |
AnaHelpers () | |
TVector3 | rotateToSvtFrame (TVector3 v) |
Rotate a vector from HPS to SVT Frame (i.e. for position/momentum rotation) | |
TVector3 | rotationToSvtFrame (const TVector3 &v) |
Rotate a vector from HPS to SVT Frame via TRotation. | |
TMatrixDSym | rotateToSvtFrame (TMatrixDSym cov) |
Rotate a matrix from HPS to SVT Frame (i.e. for covariance matrix rotation) | |
TMatrixDSym | rotateToHpsFrame (TMatrixDSym cov) |
brief description | |
void | InnermostLayerCheck (Track *trk, bool &foundL1, bool &foundL2) |
Checks if a track has a 3d hit on innermost layer and second innermost layer. | |
bool | GetParticlesFromVtx (Vertex *vtx, Particle *&ele, Particle *&pos) |
Get the Particles From Vtx object. | |
bool | MatchToGBLTracks (int ele_id, int pos_id, Track *&ele_trk, Track *&pos_trk, std::vector< Track * > &trks) |
brief description | |
bool | GetParticlesFromVtxAndParticleList (std::vector< Particle * > &parts, Vertex *vtx, Particle *&ele, Particle *&pos) |
bool | IsECalFiducial (CalCluster *clu) |
double | GetClusterCoplanarity (CalCluster *cl1, CalCluster *cl2) |
Particle * | GetParticleFromCluster (std::vector< Particle * > &parts, CalCluster *cluster) |
Track * | GetTrackFromParticle (std::vector< Track * > &trks, Particle *part) |
Static Public Member Functions | |
static std::string | getFileName (std::string filePath, bool withExtension) |
Private Attributes | |
const double | SVT_ANGLE = -30.5e-3 |
Angle between SVT system and HPS coordinates. | |
TRotation | rotSvt |
description | |
TMatrixDSym * | rotSvt_sym |
description | |
bool | debug_ {false} |
description | |
brief description more details
Definition at line 27 of file AnaHelpers.h.
AnaHelpers | ( | ) |
Definition at line 244 of file AnaHelpers.cxx.
double GetClusterCoplanarity | ( | CalCluster * | cl1, |
CalCluster * | cl2 | ||
) |
Definition at line 90 of file AnaHelpers.cxx.
|
static |
Definition at line 5 of file AnaHelpers.cxx.
Particle * GetParticleFromCluster | ( | std::vector< Particle * > & | parts, |
CalCluster * | cluster | ||
) |
Definition at line 143 of file AnaHelpers.cxx.
Get the Particles From Vtx object.
vtx | |
ele | |
pos |
Definition at line 157 of file AnaHelpers.cxx.
bool GetParticlesFromVtxAndParticleList | ( | std::vector< Particle * > & | parts, |
Vertex * | vtx, | ||
Particle *& | ele, | ||
Particle *& | pos | ||
) |
Definition at line 191 of file AnaHelpers.cxx.
Definition at line 134 of file AnaHelpers.cxx.
void InnermostLayerCheck | ( | Track * | trk, |
bool & | foundL1, | ||
bool & | foundL2 | ||
) |
Checks if a track has a 3d hit on innermost layer and second innermost layer.
trk | |
foundL1 | |
foundL2 |
Definition at line 54 of file AnaHelpers.cxx.
bool IsECalFiducial | ( | CalCluster * | clu | ) |
Definition at line 30 of file AnaHelpers.cxx.
bool MatchToGBLTracks | ( | int | ele_id, |
int | pos_id, | ||
Track *& | ele_trk, | ||
Track *& | pos_trk, | ||
std::vector< Track * > & | trks | ||
) |
brief description
ele_id | |
pos_id | |
ele_trk | |
pos_trk | |
trks |
Definition at line 116 of file AnaHelpers.cxx.
|
inline |
|
inline |
Rotate a matrix from HPS to SVT Frame (i.e. for covariance matrix rotation)
cov |
Definition at line 55 of file AnaHelpers.h.
TVector3 rotateToSvtFrame | ( | TVector3 | v | ) |
Rotate a vector from HPS to SVT Frame (i.e. for position/momentum rotation)
v |
Definition at line 265 of file AnaHelpers.cxx.
TVector3 rotationToSvtFrame | ( | const TVector3 & | v | ) |
Rotate a vector from HPS to SVT Frame via TRotation.
v |
Definition at line 271 of file AnaHelpers.cxx.
|
private |
description
Definition at line 116 of file AnaHelpers.h.
|
private |
description
Definition at line 114 of file AnaHelpers.h.
|
private |
description
Definition at line 115 of file AnaHelpers.h.
|
private |
Angle between SVT system and HPS coordinates.
Definition at line 113 of file AnaHelpers.h.