5#ifndef NEWMUONDIS_MUGEOPROCESSOR_H_
6#define NEWMUONDIS_MUGEOPROCESSOR_H_
14#include "FairLogger.h"
18#include "TGeoManager.h"
19#include "TGeoMaterial.h"
20#include "TGeoMatrix.h"
23#include "TGeoVolume.h"
53 LOG(info) <<
" Maximum z position for MuonPath building: " << zmax
58 LOG(info) <<
" Minimum z position for MuonPath building: " << zmin
63 TVector3
GetVertex(
const TVector3& r1,
const TVector3& p1,
const TVector3& r2,
88 double& time,
unsigned depth = 0);
90 bool backward =
false);
133 std::map<std::string, std::set<std::string>>
fVolMap;
int64_t GetStartsBeforeZminCount() const
TGeoManager * fGeometry
Shield material volumes.
double fPocaJumpThreshold
int64_t GetLargeJumpCount() const
int64_t fStartMagneticPaths
int64_t fMuonsWithLargeJumps
std::map< std::string, MuonPath > fPathMap
void SetMuonShieldField(ShipBFieldMap *field, TGeoManager *geometry)
int64_t GetMuonsWithLargeJumps() const
void SetZmax(const double &zmax)
std::map< std::string, std::set< std::string > > fVolMap
bool Trace(const Measurement &measurement, double startZ, double endZ, bool backward=false)
int64_t fStartStraightPaths
std::unique_ptr< MagneticTrackPropagator > fPropagator
Geometry cache identity.
int64_t fUBTBackwardPaths
int64_t fUBTBackwardMisses
std::vector< Segment > fSegments
TVector3 GetVertex(const TVector3 &r1, const TVector3 &p1, const TVector3 &r2, const TVector3 &p2)
void SetZmin(const double &zmin)
double GetMaxTransverseJump() const
bool initialise(ShipMuDIS::MuonBranches &aEvt)
int64_t GetUBTBackwardPathCount() const
int64_t GetUBTBackwardMissCount() const
double fShieldMinZ
Shield transport.
void PrintDiagnostics() const
bool AddMagneticSegments(const Measurement &start, double charge, double endZ)
void SetPocaJumpThreshold(double threshold)
bool AddMagneticChord(const TVector3 &a, const TVector3 &b, double momentum, double &time, unsigned depth=0)
std::map< std::string, MuonPath > & FillMuonPath()
TGeoNode * fTopNode
Borrowed geometry.
int64_t GetStartInFieldCount() const
std::set< const TGeoVolume * > fShieldVolumes
Runtime path segments.
int64_t GetBackwardMuonCount() const
double GetTrajectoryPocaZ(const Measurement &hit) const
int64_t GetStartFieldFreeCount() const
int64_t fStartsBeforeZmin
double fMaxTransverseJump
void AddPath(const MuonPath &path)
double GetPocaJumpThreshold() const
int64_t fStartsBeyondZmax
Class that defines a (3d) magnetic field map (distances in cm, fields in tesla).
bool measurementTransition