File indexing completed on 2024-04-06 12:31:30
0001 #ifndef TrackingTools_GsfTools_MultiTrajectoryStateMode_h
0002 #define TrackingTools_GsfTools_MultiTrajectoryStateMode_h
0003
0004
0005
0006 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
0007 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
0008
0009 class TrajectoryStateOnSurface;
0010
0011 namespace multiTrajectoryStateMode {
0012
0013
0014 bool momentumFromModeCartesian(TrajectoryStateOnSurface const& tsos, GlobalVector& momentum);
0015
0016
0017 bool positionFromModeCartesian(TrajectoryStateOnSurface const& tsos, GlobalPoint& position);
0018
0019
0020 bool momentumFromModeLocal(TrajectoryStateOnSurface const& tsos, GlobalVector& momentum);
0021
0022
0023 bool positionFromModeLocal(TrajectoryStateOnSurface const& tsos, GlobalPoint& position);
0024
0025 bool momentumFromModeQP(TrajectoryStateOnSurface const& tsos, double& momentum);
0026
0027 bool momentumFromModeP(TrajectoryStateOnSurface const& tsos, double& momentum);
0028
0029
0030 bool momentumFromModePPhiEta(TrajectoryStateOnSurface const& tsos, GlobalVector& momentum);
0031
0032 int chargeFromMode(TrajectoryStateOnSurface const& tsos);
0033 };
0034
0035 #endif