#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 18 of file PropagateToCal.cc.
PropagateToCal::PropagateToCal | ( | double | radius, |
double | minZ, | ||
double | maxZ, | ||
bool | theIgnoreMaterial | ||
) |
Definition at line 3 of file PropagateToCal.cc.
References edm::hlt::Exception, CosmicsPD_Skims::maxZ, maxZ_, 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 23 of file PropagateToCal.cc.
References Cylinder::build(), newFWLiteAna::build, maxZ_, minZ_, SteppingHelixPropagator::propagateWithPath(), radius_, query::result, SteppingHelixPropagator::setMaterialMode(), SteppingHelixPropagator::setNoErrorPropagation(), and theIgnoreMaterial_.
|
private |
Definition at line 37 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().
|
private |
Definition at line 37 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().
|
private |
whether or not propagation should ignore material
Definition at line 37 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().
|
private |
Definition at line 36 of file PropagateToCal.h.
Referenced by propagate(), and PropagateToCal().