Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoTracker
DeDx
interface
DeDxTools.h
Go to the documentation of this file.
1
#ifndef DeDxTools_H
2
#define DeDxTools_H
3
4
#include <vector>
5
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
8
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
9
#include "
DataFormats/GeometrySurface/interface/TrapezoidalPlaneBounds.h
"
10
#include "
DataFormats/GeometrySurface/interface/RectangularPlaneBounds.h
"
11
#include "
DataFormats/DetId/interface/DetId.h
"
12
#include "
DataFormats/TrackReco/interface/DeDxHit.h
"
13
#include "
DataFormats/TrackReco/interface/TrackDeDxHits.h
"
14
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
15
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
16
#include "
DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h
"
17
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h
"
18
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h
"
19
20
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
21
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
22
23
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
24
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
25
#include "
Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h
"
26
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
27
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
28
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
29
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
30
#include "
CondFormats/PhysicsToolsObjects/interface/Histogram3D.h
"
31
#include "
CondFormats/DataRecord/interface/SiStripDeDxMip_3D_Rcd.h
"
32
#include "
CondFormats/DataRecord/interface/SiStripDeDxElectron_3D_Rcd.h
"
33
#include "
CondFormats/DataRecord/interface/SiStripDeDxProton_3D_Rcd.h
"
34
#include "
CondFormats/DataRecord/interface/SiStripDeDxPion_3D_Rcd.h
"
35
#include "
CondFormats/DataRecord/interface/SiStripDeDxKaon_3D_Rcd.h
"
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
53
using
H3DD
=
PhysicsTools::Calibration::HistogramD3D
;
54
using
ESGetTokenH3DDVariant
= std::variant<edm::ESGetToken<H3DD, SiStripDeDxMip_3D_Rcd>,
55
edm::ESGetToken<H3DD, SiStripDeDxPion_3D_Rcd>
,
56
edm::ESGetToken<H3DD, SiStripDeDxKaon_3D_Rcd>
,
57
edm::ESGetToken<H3DD, SiStripDeDxProton_3D_Rcd>
,
58
edm::ESGetToken<H3DD, SiStripDeDxElectron_3D_Rcd>
>;
59
ESGetTokenH3DDVariant
esConsumes
(
std::string
const
&
Reccord
,
edm::ConsumesCollector
&);
60
PhysicsTools::Calibration::HistogramD3D
const
&
getHistogramD3D
(
edm::EventSetup
const
&,
ESGetTokenH3DDVariant
const
&);
61
void
buildDiscrimMap
(
PhysicsTools::Calibration::HistogramD3D
const
&,
62
std::string
const
&
ProbabilityMode
,
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
DeDxTools::IsFarFromBorder
bool IsFarFromBorder(const TrajectoryStateOnSurface &trajState, const GeomDetUnit *it)
Definition:
DeDxTools.cc:426
TrackerDigiGeometryRecord.h
SiStripRecHit1D.h
PixelTestBeamValidation_cfi.ClusterSize
tuple ClusterSize
Definition:
PixelTestBeamValidation_cfi.py:93
SiStripDeDxMip_3D_Rcd.h
GeomDet.h
ProjectedSiStripRecHit2D.h
SiPixelRecHit.h
DeDxTools::makeCalibrationMap
void makeCalibrationMap(const std::string &m_calibrationPath, const TrackerGeometry &tkGeom, std::vector< std::vector< float >> &calibGains, const unsigned int &m_off)
GeomDet
Definition:
GeomDet.h:27
SiStripDeDxProton_3D_Rcd.h
SiStripDeDxKaon_3D_Rcd.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
DeDxTools::getHistogramD3D
PhysicsTools::Calibration::HistogramD3D const & getHistogramD3D(edm::EventSetup const &, ESGetTokenH3DDVariant const &)
Definition:
DeDxTools.cc:302
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Histogram3D.h
DeDxTools::buildDiscrimMap
void buildDiscrimMap(PhysicsTools::Calibration::HistogramD3D const &, std::string const &ProbabilityMode, TH3F *&Prob_ChargePath)
Definition:
DeDxTools.cc:319
SiStripMatchedRecHit2D.h
StripTopology.h
edm::ESGetToken
Definition:
EventSetup.h:49
GeomDetType.h
TrackingRecHit.h
PhysicsTools::Calibration::HistogramD3D
Histogram3D< double > HistogramD3D
Definition:
Histogram3D.h:184
DeDxTools::shapeSelection
bool shapeSelection(const SiStripCluster &ls)
Definition:
DeDxTools.cc:12
SiStripCluster
Definition:
SiStripCluster.h:8
TrackDeDxHits.h
PhysicsTools::Calibration::Histogram3D
Definition:
Histogram3D.h:24
RectangularPlaneBounds.h
SiStripDeDxPion_3D_Rcd.h
edm::EventSetup
Definition:
EventSetup.h:59
DeDxTools::getCharge
int getCharge(const SiStripCluster *cluster, int &nSatStrip, const GeomDetUnit &detUnit, const std::vector< std::vector< float >> &calibGains, const unsigned int &m_off)
HLT_FULL_cff.Reccord
tuple Reccord
Definition:
HLT_FULL_cff.py:53119
DeDxHit.h
StripGeomDetUnit.h
Measurement1D.h
PixelGeomDetUnit.h
Trajectory.h
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
SiStripDeDxElectron_3D_Rcd.h
TrackerGeometry.h
TrajectoryStateOnSurface.h
TrapezoidalPlaneBounds.h
DeDxTools::IsSpanningOver2APV
bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize)
Definition:
DeDxTools.cc:385
DetId.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
TrackerGeometry
Definition:
TrackerGeometry.h:14
DeDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition:
DeDxTools.cc:283
HLT_FULL_cff.ProbabilityMode
tuple ProbabilityMode
Definition:
HLT_FULL_cff.py:53120
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.5