CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalShowerProperties.h
Go to the documentation of this file.
1 #ifndef _ChargedHadronSpectra_EcalShowerProperties_h
2 #define _ChargedHadronSpectra_EcalShowerProperties_h
3 
6 
7 namespace edm { class EventSetup; class Event; }
8 namespace reco { class Track; }
11 class MagneticField;
12 class Propagator;
13 class CaloGeometry;
14 class CaloCellGeometry;
15 
16 #include <vector>
17 
19 {
20  public:
21  EcalShowerProperties(const edm::Event & ev, const edm::EventSetup & es);
22  std::pair<double,double> processTrack(const reco::Track & track, int & ntime);
23 
24  private:
27  std::vector<TrajectoryStateOnSurface> getEndpoints
28  (const FreeTrajectoryState & ftsAtLastPoint,
29  const TrajectoryStateOnSurface & tsosBeforeEcal, int subDet);
30  double getDistance
31  (const std::vector<TrajectoryStateOnSurface> & tsosEnds,
32  const CaloCellGeometry* cell);
33  std::pair<double,double> processEcalRecHits
34  (const std::vector<TrajectoryStateOnSurface> & tsosEnds, int subDet, int & ntime);
35 
39 
42 };
43 
44 #endif
int i
Definition: DBlmapReader.cc:9
FreeTrajectoryState getTrajectoryAtOuterPoint(const reco::Track &track)
Plane::PlanePointer getSurface(const CaloCellGeometry *cell, int i)
edm::Handle< EBRecHitCollection > recHitsBarrel
double getDistance(const std::vector< TrajectoryStateOnSurface > &tsosEnds, const CaloCellGeometry *cell)
const CaloGeometry * theCaloGeometry
std::pair< double, double > processEcalRecHits(const std::vector< TrajectoryStateOnSurface > &tsosEnds, int subDet, int &ntime)
edm::Handle< EERecHitCollection > recHitsEndcap
EcalShowerProperties(const edm::Event &ev, const edm::EventSetup &es)
std::vector< TrajectoryStateOnSurface > getEndpoints(const FreeTrajectoryState &ftsAtLastPoint, const TrajectoryStateOnSurface &tsosBeforeEcal, int subDet)
std::pair< double, double > processTrack(const reco::Track &track, int &ntime)
const Propagator * thePropagator
const MagneticField * theMagneticField