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 
41 #include "TFile.h"
42 #include "TChain.h"
43 #include "TH3F.h"
44 
45 namespace DeDxTools {
46  bool shapeSelection (const SiStripCluster & ampls);
47  int getCharge (const SiStripCluster* cluster, int& nSatStrip, const GeomDetUnit& detUnit, const std::vector< std::vector< float > >& calibGains, const unsigned int& m_off );
48  void makeCalibrationMap(const std::string& m_calibrationPath, const TrackerGeometry& tkGeom, std::vector< std::vector< float > >& calibGains, const unsigned int& m_off);
49  void buildDiscrimMap (edm::Run const& run, const edm::EventSetup& iSetup, std::string Reccord, std::string ProbabilityMode, TH3F*& Prob_ChargePath);
50  bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize);
51  bool IsFarFromBorder (const TrajectoryStateOnSurface& trajState, const GeomDetUnit* it);
52 }
53 
54 #endif
bool IsFarFromBorder(const TrajectoryStateOnSurface &trajState, const GeomDetUnit *it)
Definition: DeDxTools.cc:311
void buildDiscrimMap(edm::Run const &run, const edm::EventSetup &iSetup, std::string Reccord, std::string ProbabilityMode, TH3F *&Prob_ChargePath)
Definition: DeDxTools.cc:221
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:161
void makeCalibrationMap(const std::string &m_calibrationPath, const TrackerGeometry &tkGeom, std::vector< std::vector< float > > &calibGains, const unsigned int &m_off)
Definition: DeDxTools.cc:196
bool shapeSelection(const SiStripCluster &ampls)
Definition: DeDxTools.cc:10
bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize)
Definition: DeDxTools.cc:286
Definition: Run.h:43