CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ConversionTrackEcalImpactPoint.h
Go to the documentation of this file.
1 #ifndef ConversionTrackEcalImpactPoint_H
2 #define ConversionTrackEcalImpactPoint_H
3 
16 //
20 //
25 //
30 //
36 
38 public:
40 
42 
43  std::vector<math::XYZPointF> find(const std::vector<reco::TransientTrack>& tracks,
44  const edm::Handle<edm::View<reco::CaloCluster> >& bcHandle);
45 
46  std::vector<reco::CaloClusterPtr> matchingBC() const { return matchingBC_; }
47  void setMagneticField(const MagneticField* mf) { theMF_ = mf; }
48 
49 private:
51 
53 
56  std::vector<reco::CaloClusterPtr> matchingBC_;
57 
61 
62  static const BoundCylinder& barrel() { return *theBarrel_; }
63  static const BoundDisk& negativeEtaEndcap() { return *theNegativeEtaEndcap_; }
64  static const BoundDisk& positiveEtaEndcap() { return *thePositiveEtaEndcap_; }
65 };
66 
67 #endif // ConversionTrackEcalImpactPoint_H
static const ReferenceCountingPointer< BoundDisk > theNegativeEtaEndcap_
void setMagneticField(const MagneticField *mf)
auto const & tracks
cannot be loose
PropagationDirection
static const BoundDisk & positiveEtaEndcap()
ConversionTrackEcalImpactPoint(const MagneticField *field)
std::vector< reco::CaloClusterPtr > matchingBC_
static const BoundDisk & negativeEtaEndcap()
std::vector< math::XYZPointF > find(const std::vector< reco::TransientTrack > &tracks, const edm::Handle< edm::View< reco::CaloCluster > > &bcHandle)
static const BoundCylinder & barrel()
static const ReferenceCountingPointer< BoundDisk > thePositiveEtaEndcap_
static const ReferenceCountingPointer< BoundCylinder > theBarrel_
std::vector< reco::CaloClusterPtr > matchingBC() const