CMS 3D CMS Logo

DeDxTools.h
Go to the documentation of this file.
1 #ifndef DeDxTools_H
2 #define DeDxTools_H
3 
4 #include <vector>
5 
10 
22 
25 
39 
40 #include "TFile.h"
41 #include "TChain.h"
42 #include "TH3F.h"
43 
44 namespace DeDxTools {
45  bool shapeSelection(const SiStripCluster& ampls);
46  int getCharge(const SiStripCluster* cluster,
47  int& nSatStrip,
48  const GeomDetUnit& detUnit,
49  const std::vector<std::vector<float> >& calibGains,
50  const unsigned int& m_off);
51  void makeCalibrationMap(const std::string& m_calibrationPath,
52  const TrackerGeometry& tkGeom,
53  std::vector<std::vector<float> >& calibGains,
54  const unsigned int& m_off);
55  void buildDiscrimMap(edm::Run const& run,
56  const edm::EventSetup& iSetup,
59  TH3F*& Prob_ChargePath);
60  bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize);
61  bool IsFarFromBorder(const TrajectoryStateOnSurface& trajState, const GeomDetUnit* it);
62 } // namespace DeDxTools
63 
64 #endif
bool IsFarFromBorder(const TrajectoryStateOnSurface &trajState, const GeomDetUnit *it)
Definition: DeDxTools.cc:404
void buildDiscrimMap(edm::Run const &run, const edm::EventSetup &iSetup, std::string Reccord, std::string ProbabilityMode, TH3F *&Prob_ChargePath)
Definition: DeDxTools.cc:280
int getCharge(const SiStripCluster *cluster, int &nSatStrip, const GeomDetUnit &detUnit, const std::vector< std::vector< float > > &calibGains, const unsigned int &m_off)
Definition: DeDxTools.cc:214
void makeCalibrationMap(const std::string &m_calibrationPath, const TrackerGeometry &tkGeom, std::vector< std::vector< float > > &calibGains, const unsigned int &m_off)
Definition: DeDxTools.cc:252
bool shapeSelection(const SiStripCluster &ampls)
Definition: DeDxTools.cc:9
bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize)
Definition: DeDxTools.cc:363
Definition: Run.h:45