CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConversionTrackEcalImpactPoint.h
Go to the documentation of this file.
1 #ifndef ConversionTrackEcalImpactPoint_H
2 #define ConversionTrackEcalImpactPoint_H
3 
16 //
20 //
25 //
30 //
36 
37 
38 
40 
41 public:
42 
44 
45 
47 
48  std::vector<math::XYZPointF> find( const std::vector<reco::TransientTrack>& tracks,
49  const edm::Handle<edm::View<reco::CaloCluster> >& bcHandle );
50 
51  std::vector<reco::CaloClusterPtr> matchingBC() const {return matchingBC_;}
52  void setMagneticField ( const MagneticField* mf ) { theMF_=mf;}
53 
54 
55 
56 
57 
58 private:
59 
61 
63 
66  std::vector<reco::CaloClusterPtr> matchingBC_;
67 
68 
69 
71  static float barrelRadius() {return 129.f;} //p81, p50, ECAL TDR
72  static float barrelHalfLength() {return 270.9f;} //p81, p50, ECAL TDR
73  static float endcapRadius() {return 171.1f;} // fig 3.26, p81, ECAL TDR
74  static float endcapZ() {return 320.5f;} // fig 3.26, p81, ECAL TDR
75 
76  static void initialize();
77  static void check() {if (!theInit_) initialize();}
78 
79 
80 
81 
85 
86  static const BoundCylinder& barrel() { check(); return *theBarrel_;}
87  static const BoundDisk& negativeEtaEndcap() { check(); return *theNegativeEtaEndcap_;}
88  static const BoundDisk& positiveEtaEndcap() { check(); return *thePositiveEtaEndcap_;}
89  static bool theInit_;
90 
91 
92 };
93 
94 #endif // ConversionTrackEcalImpactPoint_H
95 
96 
static ReferenceCountingPointer< BoundCylinder > theBarrel_
void setMagneticField(const MagneticField *mf)
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()
tuple tracks
Definition: testEve_cfg.py:39
static ReferenceCountingPointer< BoundDisk > thePositiveEtaEndcap_
static ReferenceCountingPointer< BoundDisk > theNegativeEtaEndcap_
std::vector< reco::CaloClusterPtr > matchingBC() const