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
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
11
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
12
#include "
DataFormats/GeometrySurface/interface/TrapezoidalPlaneBounds.h
"
13
#include "
DataFormats/GeometrySurface/interface/RectangularPlaneBounds.h
"
14
#include "
DataFormats/DetId/interface/DetId.h
"
15
#include "
DataFormats/TrackReco/interface/DeDxHit.h
"
16
#include "
DataFormats/TrackReco/interface/TrackDeDxHits.h
"
17
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
18
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
19
#include "
DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h
"
20
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h
"
21
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h
"
22
23
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
24
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
25
26
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
27
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
28
#include "
Geometry/CommonDetUnit/interface/PixelGeomDetUnit.h
"
29
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
30
#include "
Geometry/CommonDetUnit/interface/GeomDet.h
"
31
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
32
#include "
Geometry/CommonTopologies/interface/StripTopology.h
"
33
#include "
CondFormats/PhysicsToolsObjects/interface/Histogram3D.h
"
34
#include "
CondFormats/DataRecord/interface/SiStripDeDxMip_3D_Rcd.h
"
35
#include "
CondFormats/DataRecord/interface/SiStripDeDxElectron_3D_Rcd.h
"
36
#include "
CondFormats/DataRecord/interface/SiStripDeDxProton_3D_Rcd.h
"
37
#include "
CondFormats/DataRecord/interface/SiStripDeDxPion_3D_Rcd.h
"
38
#include "
CondFormats/DataRecord/interface/SiStripDeDxKaon_3D_Rcd.h
"
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,
57
std::string
Reccord
,
58
std::string
ProbabilityMode
,
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
SiStripDeDxPion_3D_Rcd.h
HLT_FULL_cff.ProbabilityMode
ProbabilityMode
Definition:
HLT_FULL_cff.py:52854
TrajectoryStateOnSurface.h
StripGeomDetUnit.h
TrackerGeometry.h
GeomDet
Definition:
GeomDet.h:27
ESHandle.h
DeDxTools::makeCalibrationMap
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
SiStripDeDxMip_3D_Rcd.h
edm::Run
Definition:
Run.h:45
DeDxTools::IsSpanningOver2APV
bool IsSpanningOver2APV(unsigned int FirstStrip, unsigned int ClusterSize)
Definition:
DeDxTools.cc:363
Histogram3D.h
Measurement1D.h
GeomDetType.h
StripTopology.h
DeDxTools::buildDiscrimMap
void buildDiscrimMap(edm::Run const &run, const edm::EventSetup &iSetup, std::string Reccord, std::string ProbabilityMode, TH3F *&Prob_ChargePath)
Definition:
DeDxTools.cc:280
DeDxTools::IsFarFromBorder
bool IsFarFromBorder(const TrajectoryStateOnSurface &trajState, const GeomDetUnit *it)
Definition:
DeDxTools.cc:404
DeDxTools::getCharge
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
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
TrackingRecHit.h
TrackDeDxHits.h
DeDxHit.h
TrapezoidalPlaneBounds.h
SiStripDeDxKaon_3D_Rcd.h
DeDxTools
Definition:
DeDxTools.h:44
RectangularPlaneBounds.h
SiPixelRecHit.h
DeDxTools::shapeSelection
bool shapeSelection(const SiStripCluster &ls)
Definition:
DeDxTools.cc:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
Event.h
SiStripDeDxProton_3D_Rcd.h
PixelTestBeamValidation_cfi.ClusterSize
ClusterSize
Definition:
PixelTestBeamValidation_cfi.py:85
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
ProjectedSiStripRecHit2D.h
edm::EventSetup
Definition:
EventSetup.h:57
SiStripRecHit1D.h
Trajectory.h
GeomDet.h
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
DetId.h
Frameworkfwd.h
PixelGeomDetUnit.h
ParameterSet.h
SiStripMatchedRecHit2D.h
SiStripCluster
Definition:
SiStripCluster.h:9
SiStripDeDxElectron_3D_Rcd.h
HLT_FULL_cff.Reccord
Reccord
Definition:
HLT_FULL_cff.py:52861
TrackerGeometry
Definition:
TrackerGeometry.h:14
Generated for CMSSW Reference Manual by
1.8.16