#include <PropagateToCal.h>
Public Member Functions | |
bool | propagate (const GlobalPoint &vertex, GlobalVector &Cand, int charge, const MagneticField *bField) const |
PropagateToCal () | |
PropagateToCal (double radius, double minZ, double maxZ, bool theIgnoreMaterial) | |
~PropagateToCal () | |
Private Attributes | |
double | maxZ_ |
double | minZ_ |
double | radius_ |
whether or not propagation should ignore material More... | |
bool | theIgnoreMaterial_ |
Definition at line 26 of file PropagateToCal.h.
PropagateToCal::PropagateToCal | ( | ) |
PropagateToCal::~PropagateToCal | ( | ) |
Definition at line 13 of file PropagateToCal.cc.
PropagateToCal::PropagateToCal | ( | double | radius, |
double | minZ, | ||
double | maxZ, | ||
bool | theIgnoreMaterial | ||
) |
Definition at line 3 of file PropagateToCal.cc.
References Exception, CosmicsPD_Skims::maxZ, maxZ_, CosmicGenFilterHelix_cff::minZ, minZ_, CosmicsPD_Skims::radius, radius_, and theIgnoreMaterial_.
bool PropagateToCal::propagate | ( | const GlobalPoint & | vertex, |
GlobalVector & | Cand, | ||
int | charge, | ||
const MagneticField * | bField | ||
) | const |
the code is inspired by Gero's CosmicGenFilterHelix class:
target cylinder, around z-axis
plane closing cylinder at 'negative' side
plane closing cylinder at 'positive' side
The result is the vector connecting the extrapolation endPoint on the Calorimeter surface and the origin of the coordinate system, point (0,0,0).
Successfully propagated to the calorimeter or not
Definition at line 15 of file PropagateToCal.cc.
References Plane::build(), Cylinder::build(), ALCARECOTkAlJpsiMuMu_cff::charge, maxZ_, minZ_, TrackCandidateProducer_cfi::propagator, radius_, mps_fire::result, theIgnoreMaterial_, and bphysicsOniaDQM_cfi::vertex.
|
private |
Definition at line 35 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().
|
private |
Definition at line 35 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().
|
private |
whether or not propagation should ignore material
Definition at line 35 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().
|
private |
Definition at line 34 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().