Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
RoadSearchHitAccess
interface
DetHitAccess.h
Go to the documentation of this file.
1
#ifndef RoadSearch_DetHitAccess_h
2
#define RoadSearch_DetHitAccess_h
3
4
#include <string>
5
#include <vector>
6
#include <algorithm>
7
8
#include "
DataFormats/Common/interface/Handle.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
FWCore/Framework/interface/EventSetup.h
"
12
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
13
14
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit2DCollection.h
"
15
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2DCollection.h
"
16
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHitCollection.h
"
17
#include "
DataFormats/DetId/interface/DetId.h
"
18
#include "
DataFormats/SiStripDetId/interface/StripSubdetector.h
"
19
#include "
DataFormats/SiPixelDetId/interface/PixelSubdetector.h
"
20
#include "
DataFormats/SiStripDetId/interface/TECDetId.h
"
21
22
class
DetHitAccess
{
23
24
public
:
25
26
enum
accessMode
{
standard
,
rphi
,
rphi_stereo
};
27
28
DetHitAccess
();
29
30
~DetHitAccess
();
31
32
DetHitAccess
(
const
SiStripRecHit2DCollection
* rphiRecHits,
33
const
SiStripRecHit2DCollection
* stereoRecHits,
34
const
SiStripMatchedRecHit2DCollection
* matchedRecHits,
35
const
SiPixelRecHitCollection
* pixelRecHits);
36
37
void
setCollections
(
const
SiStripRecHit2DCollection
* rphiRecHits,
38
const
SiStripRecHit2DCollection
* stereoRecHits,
39
const
SiStripMatchedRecHit2DCollection
* matchedRecHits,
40
const
SiPixelRecHitCollection
* pixelRecHits);
41
42
std::vector<TrackingRecHit*>
getHitVector
(
const
DetId
*
detid
);
43
44
inline
void
setMode
(
accessMode
input
) {
accessMode_
=
input
; }
45
inline
void
use_rphiRecHits
(
bool
input
) {
use_rphiRecHits_
=
input
;}
46
inline
void
use_stereoRecHits
(
bool
input
) {
use_stereoRecHits_
=
input
;}
47
48
private
:
49
50
accessMode
accessMode_
;
51
52
bool
use_rphiRecHits_
;
53
bool
use_stereoRecHits_
;
54
55
const
SiStripRecHit2DCollection
*
rphiHits_
;
56
const
SiStripRecHit2DCollection
*
stereoHits_
;
57
const
SiStripMatchedRecHit2DCollection
*
matchedHits_
;
58
const
SiPixelRecHitCollection
*
pixelHits_
;
59
60
};
61
62
#endif
SiStripRecHit2DCollection.h
DetHitAccess::stereoHits_
const SiStripRecHit2DCollection * stereoHits_
Definition:
DetHitAccess.h:56
MessageLogger.h
DetHitAccess::setCollections
void setCollections(const SiStripRecHit2DCollection *rphiRecHits, const SiStripRecHit2DCollection *stereoRecHits, const SiStripMatchedRecHit2DCollection *matchedRecHits, const SiPixelRecHitCollection *pixelRecHits)
Definition:
DetHitAccess.cc:42
DetHitAccess::DetHitAccess
DetHitAccess()
Definition:
DetHitAccess.cc:15
DetHitAccess::use_rphiRecHits
void use_rphiRecHits(bool input)
Definition:
DetHitAccess.h:45
LaserDQM_cfg.input
tuple input
Definition:
LaserDQM_cfg.py:38
EventSetup.h
DetHitAccess::use_stereoRecHits_
bool use_stereoRecHits_
Definition:
DetHitAccess.h:53
DetHitAccess
Definition:
DetHitAccess.h:22
DetHitAccess::rphi_stereo
Definition:
DetHitAccess.h:26
Handle.h
ParameterSet.h
DetHitAccess::accessMode
accessMode
Definition:
DetHitAccess.h:26
DetHitAccess::pixelHits_
const SiPixelRecHitCollection * pixelHits_
Definition:
DetHitAccess.h:58
DetHitAccess::rphi
Definition:
DetHitAccess.h:26
SiPixelRecHitCollection.h
StripSubdetector.h
ESHandle.h
edmNew::DetSetVector
Definition:
DetSetNew.h:8
DetHitAccess::getHitVector
std::vector< TrackingRecHit * > getHitVector(const DetId *detid)
Definition:
DetHitAccess.cc:55
DetHitAccess::rphiHits_
const SiStripRecHit2DCollection * rphiHits_
Definition:
DetHitAccess.h:55
PixelSubdetector.h
DetHitAccess::use_stereoRecHits
void use_stereoRecHits(bool input)
Definition:
DetHitAccess.h:46
DetId
Definition:
DetId.h:20
DetHitAccess::~DetHitAccess
~DetHitAccess()
Definition:
DetHitAccess.cc:23
DetHitAccess::setMode
void setMode(accessMode input)
Definition:
DetHitAccess.h:44
cond::rpcobgas::detid
Definition:
RPCObGasPyWrapper.cc:61
TECDetId.h
DetHitAccess::matchedHits_
const SiStripMatchedRecHit2DCollection * matchedHits_
Definition:
DetHitAccess.h:57
DetHitAccess::use_rphiRecHits_
bool use_rphiRecHits_
Definition:
DetHitAccess.h:52
DetId.h
DetHitAccess::accessMode_
accessMode accessMode_
Definition:
DetHitAccess.h:50
DetHitAccess::standard
Definition:
DetHitAccess.h:26
SiStripMatchedRecHit2DCollection.h
Generated for CMSSW Reference Manual by
1.8.5