test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PropagateToCal.h
Go to the documentation of this file.
1 #ifndef IsolationUtils_PropagateToCal_h
2 #define IsolationUtils_PropagateToCal_h
3 /* \class PropagateToCal
4  *
5  * \author Christian Autermann, U Hamburg
6  *
7  * class extrapolats a charged particle to the calorimeter surface
8  * using the SteppingHelixPropagator.
9  *
10  */
11 #include <algorithm>
12 #include <vector>
23 
24 class MagneticField;
25 
27 public:
30  PropagateToCal(double radius, double minZ, double maxZ, bool theIgnoreMaterial);
31  bool propagate(const GlobalPoint& vertex,
32  GlobalVector& Cand, int charge,
33  const MagneticField * bField) const;
34 
35 private:
37  double radius_, maxZ_, minZ_;
38 };
39 
40 #endif
double radius_
whether or not propagation should ignore material
bool propagate(const GlobalPoint &vertex, GlobalVector &Cand, int charge, const MagneticField *bField) const