Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoTracker
DeDx
interface
DeDxTools.h
Go to the documentation of this file.
1
#ifndef DeDxTools_H
2
#define DeDxTools_H
3
#include <vector>
4
#include "
DataFormats/TrackReco/interface/DeDxHit.h
"
5
#include "
DataFormats/TrackReco/interface/TrackDeDxHits.h
"
6
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
7
#include "
DataFormats/DetId/interface/DetId.h
"
8
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
9
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
10
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
11
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
12
#include "
DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h
"
13
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h
"
14
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h
"
15
#include "
DataFormats/TrackReco/interface/DeDxHit.h
"
16
17
namespace
DeDxTools {
18
19
struct
RawHits
{
20
double
charge
;
21
double
angleCosine
;
22
DetId
detId
;
23
const
TrajectoryMeasurement
*
trajectoryMeasurement
;
24
int
NSaturating
;
25
};
26
27
inline
const
SiStripCluster
*
GetCluster
(
const
TrackerSingleRecHit
*
hit
) {
return
&hit->
stripCluster
();}
28
inline
const
SiStripCluster
*
GetCluster
(
const
TrackerSingleRecHit
&
hit
) {
return
&hit.
stripCluster
();}
29
void
trajectoryRawHits
(
const
edm::Ref
<std::vector<Trajectory> >& trajectory, std::vector<RawHits>& hits,
bool
usePixel,
bool
useStrip);
30
double
genericAverage
(
const
reco::DeDxHitCollection
&,
float
expo = 1.);
31
bool
shapeSelection
(
const
std::vector<uint8_t> & ampls);
32
}
33
34
#endif
Trajectory.h
DeDxTools::GetCluster
const SiStripCluster * GetCluster(const TrackerSingleRecHit *hit)
Definition:
DeDxTools.h:27
SiStripRecHit1D.h
DeDxTools::trajectoryRawHits
void trajectoryRawHits(const edm::Ref< std::vector< Trajectory > > &trajectory, std::vector< RawHits > &hits, bool usePixel, bool useStrip)
Definition:
DeDxTools.cc:10
ProjectedSiStripRecHit2D.h
SiPixelRecHit.h
DeDxTools::RawHits::charge
double charge
Definition:
DeDxTools.h:20
reco::DeDxHitCollection
std::vector< DeDxHit > DeDxHitCollection
Definition:
DeDxHit.h:49
DeDxTools::RawHits
Definition:
DeDxTools.h:19
SiStripMatchedRecHit2D.h
TrackingRecHit.h
DeDxTools::RawHits::angleCosine
double angleCosine
Definition:
DeDxTools.h:21
SiStripCluster
Definition:
SiStripCluster.h:9
TrackDeDxHits.h
DetId
Definition:
DetId.h:20
DeDxTools::shapeSelection
bool shapeSelection(const std::vector< uint8_t > &ls)
Definition:
DeDxTools.cc:134
DeDxHit.h
Measurement1D.h
DeDxTools::RawHits::detId
DetId detId
Definition:
DeDxTools.h:22
DeDxTools::RawHits::trajectoryMeasurement
const TrajectoryMeasurement * trajectoryMeasurement
Definition:
DeDxTools.h:23
TrackerSingleRecHit::stripCluster
SiStripCluster const & stripCluster() const
Definition:
TrackerSingleRecHit.h:67
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
DeDxTools::RawHits::NSaturating
int NSaturating
Definition:
DeDxTools.h:24
TrajectoryMeasurement
Definition:
TrajectoryMeasurement.h:26
TrackerSingleRecHit
Definition:
TrackerSingleRecHit.h:12
DetId.h
edm::Ref
Definition:
AssociativeIterator.h:52
DeDxTools::genericAverage
double genericAverage(const reco::DeDxHitCollection &, float expo=1.)
Definition:
DeDxTools.cc:122
Generated for CMSSW Reference Manual by
1.8.5