CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DeDxTools.h
Go to the documentation of this file.
1 #ifndef DeDxTools_H
2 #define DeDxTools_H
3 #include <vector>
9 
10 namespace DeDxTools {
11 
12  struct RawHits {
13  double charge;
14  double angleCosine;
18  };
19 
20  void trajectoryRawHits(const edm::Ref<std::vector<Trajectory> >& trajectory, std::vector<RawHits>& hits, bool usePixel, bool useStrip);
21  double genericAverage (const reco::DeDxHitCollection &, float expo = 1.);
22  bool shapeSelection(const std::vector<uint8_t> & ampls);
23 }
24 
25 #endif
void trajectoryRawHits(const edm::Ref< std::vector< Trajectory > > &trajectory, std::vector< RawHits > &hits, bool usePixel, bool useStrip)
Definition: DeDxTools.cc:17
std::vector< DeDxHit > DeDxHitCollection
Definition: DeDxHit.h:49
double angleCosine
Definition: DeDxTools.h:14
Definition: DetId.h:20
bool shapeSelection(const std::vector< uint8_t > &ampls)
Definition: DeDxTools.cc:141
const TrajectoryMeasurement * trajectoryMeasurement
Definition: DeDxTools.h:16
double genericAverage(const reco::DeDxHitCollection &, float expo=1.)
Definition: DeDxTools.cc:129