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 
7 
19 
22 
36 
37 #include "TFile.h"
38 #include "TChain.h"
39 #include "TH3F.h"
40 
41 namespace DeDxTools {
42  bool shapeSelection(const SiStripCluster& ampls);
43  int getCharge(const SiStripCluster* cluster,
44  int& nSatStrip,
45  const GeomDetUnit& detUnit,
46  const std::vector<std::vector<float>>& calibGains,
47  const unsigned int& m_off);
48  void makeCalibrationMap(const std::string& m_calibrationPath,
49  const TrackerGeometry& tkGeom,
50  std::vector<std::vector<float>>& calibGains,
51  const unsigned int& m_off);
52 
54  using ESGetTokenH3DDVariant = std::variant<edm::ESGetToken<H3DD, SiStripDeDxMip_3D_Rcd>,
63  TH3F*& Prob_ChargePath);
64  bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize);
65  bool IsFarFromBorder(const TrajectoryStateOnSurface& trajState, const GeomDetUnit* it);
66 } // namespace DeDxTools
67 
68 #endif
SiStripDeDxPion_3D_Rcd.h
HLT_FULL_cff.ProbabilityMode
ProbabilityMode
Definition: HLT_FULL_cff.py:52802
TrajectoryStateOnSurface.h
StripGeomDetUnit.h
TrackerGeometry.h
GeomDet
Definition: GeomDet.h:27
SiStripDeDxMip_3D_Rcd.h
DeDxTools::IsSpanningOver2APV
bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize)
Definition: DeDxTools.cc:385
Histogram3D.h
Measurement1D.h
GeomDetType.h
StripTopology.h
DeDxTools::IsFarFromBorder
bool IsFarFromBorder(const TrajectoryStateOnSurface &trajState, const GeomDetUnit *it)
Definition: DeDxTools.cc:426
DeDxTools::buildDiscrimMap
void buildDiscrimMap(PhysicsTools::Calibration::HistogramD3D const &, std::string const &ProbabilityMode, TH3F *&Prob_ChargePath)
Definition: DeDxTools.cc:319
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TrackingRecHit.h
TrackDeDxHits.h
DeDxHit.h
TrapezoidalPlaneBounds.h
SiStripDeDxKaon_3D_Rcd.h
DeDxTools
Definition: DeDxTools.h:41
RectangularPlaneBounds.h
SiPixelRecHit.h
DeDxTools::shapeSelection
bool shapeSelection(const SiStripCluster &ampls)
Definition: DeDxTools.cc:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
SiStripDeDxProton_3D_Rcd.h
PixelTestBeamValidation_cfi.ClusterSize
ClusterSize
Definition: PixelTestBeamValidation_cfi.py:85
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
DeDxTools::makeCalibrationMap
void makeCalibrationMap(const std::string &m_calibrationPath, const TrackerGeometry &tkGeom, std::vector< std::vector< float >> &calibGains, const unsigned int &m_off)
ProjectedSiStripRecHit2D.h
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken
Definition: EventSetup.h:48
SiStripRecHit1D.h
Trajectory.h
GeomDet.h
DeDxTools::ESGetTokenH3DDVariant
std::variant< edm::ESGetToken< H3DD, SiStripDeDxMip_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxPion_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxKaon_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxProton_3D_Rcd >, edm::ESGetToken< H3DD, SiStripDeDxElectron_3D_Rcd > > ESGetTokenH3DDVariant
Definition: DeDxTools.h:58
DetId.h
Frameworkfwd.h
DeDxTools::getCharge
int getCharge(const SiStripCluster *cluster, int &nSatStrip, const GeomDetUnit &detUnit, const std::vector< std::vector< float >> &calibGains, const unsigned int &m_off)
PixelGeomDetUnit.h
PhysicsTools::Calibration::Histogram3D
Definition: Histogram3D.h:24
PhysicsTools::Calibration::HistogramD3D
Histogram3D< double > HistogramD3D
Definition: Histogram3D.h:184
SiStripMatchedRecHit2D.h
DeDxTools::getHistogramD3D
PhysicsTools::Calibration::HistogramD3D const & getHistogramD3D(edm::EventSetup const &, ESGetTokenH3DDVariant const &)
Definition: DeDxTools.cc:302
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
SiStripCluster
Definition: SiStripCluster.h:8
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
SiStripDeDxElectron_3D_Rcd.h
HLT_FULL_cff.Reccord
Reccord
Definition: HLT_FULL_cff.py:52809
TrackerGeometry
Definition: TrackerGeometry.h:14