Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibTracker
SiStripCommon
interface
ShallowClustersProducer.h
Go to the documentation of this file.
1
#ifndef SHALLOW_CLUSTERS_PRODUCER
2
#define SHALLOW_CLUSTERS_PRODUCER
3
4
#include "
FWCore/Framework/interface/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
6
#include "
FWCore/Utilities/interface/InputTag.h
"
7
#include "
DataFormats/Common/interface/DetSetVector.h
"
8
class
SiStripClusterInfo
;
9
class
SiStripProcessedRawDigi
;
10
class
TrackerTopology
;
11
12
class
ShallowClustersProducer
:
public
edm::EDProducer
{
13
14
public
:
15
16
explicit
ShallowClustersProducer
(
const
edm::ParameterSet
&);
17
18
private
:
19
20
edm::InputTag
theClustersLabel
;
21
std::string
Prefix
;
22
void
produce
(
edm::Event
&,
const
edm::EventSetup
& );
23
24
struct
moduleVars
{
25
moduleVars
(uint32_t,
const
TrackerTopology
*);
26
int
subdetid
,
side
,
layerwheel
,
stringringrod
,
petal
,
stereo
;
27
uint32_t
module
;
28
};
29
30
struct
NearDigis
{
31
NearDigis
(
const
SiStripClusterInfo
&);
32
NearDigis
(
const
SiStripClusterInfo
&,
const
edm::DetSetVector<SiStripProcessedRawDigi>
&);
33
float
max
,
left
,
right
,
first
,
last
,
Lleft
,
Rright
;
34
float
etaX
()
const
{
return
(
left
+
right
)/
max
/2.;}
35
float
eta
()
const
{
return
right
>
left
?
max
/(
max
+
right
) :
left
/(
left
+
max
);}
36
float
etaasymm
()
const
{
return
right
>
left
? (
right
-
max
)/(
right
+
max
) : (
max
-
left
)/(
max
+left);}
37
float
outsideasymm
()
const
{
return
(
last
-
first
)/(
last
+
first
);}
38
};
39
40
};
41
42
#endif
ShallowClustersProducer::NearDigis::Lleft
float Lleft
Definition:
ShallowClustersProducer.h:33
ShallowClustersProducer::NearDigis::outsideasymm
float outsideasymm() const
Definition:
ShallowClustersProducer.h:37
ShallowClustersProducer::theClustersLabel
edm::InputTag theClustersLabel
Definition:
ShallowClustersProducer.h:20
ShallowClustersProducer::NearDigis::etaasymm
float etaasymm() const
Definition:
ShallowClustersProducer.h:36
ShallowClustersProducer::NearDigis
Definition:
ShallowClustersProducer.h:30
ShallowClustersProducer::NearDigis::max
float max
Definition:
ShallowClustersProducer.h:33
ShallowClustersProducer::NearDigis::first
float first
Definition:
ShallowClustersProducer.h:33
SiStripProcessedRawDigi
A signed Digi for the silicon strip detector, containing only adc information, and suitable for stori...
Definition:
SiStripProcessedRawDigi.h:16
SiStripClusterInfo
Definition:
SiStripClusterInfo.h:14
ShallowClustersProducer::ShallowClustersProducer
ShallowClustersProducer(const edm::ParameterSet &)
Definition:
ShallowClustersProducer.cc:13
TrackerTopology
Definition:
TrackerTopology.h:18
ShallowClustersProducer::NearDigis::etaX
float etaX() const
Definition:
ShallowClustersProducer.h:34
ShallowClustersProducer
Definition:
ShallowClustersProducer.h:12
ShallowClustersProducer::moduleVars::moduleVars
moduleVars(uint32_t, const TrackerTopology *)
Definition:
ShallowClustersProducer.cc:221
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::EDProducer
Definition:
EDProducer.h:30
DetSetVector.h
ShallowClustersProducer::moduleVars::module
uint32_t module
Definition:
ShallowClustersProducer.h:27
ShallowClustersProducer::moduleVars::petal
int petal
Definition:
ShallowClustersProducer.h:26
ShallowClustersProducer::moduleVars::layerwheel
int layerwheel
Definition:
ShallowClustersProducer.h:26
ShallowClustersProducer::NearDigis::NearDigis
NearDigis(const SiStripClusterInfo &)
Definition:
ShallowClustersProducer.cc:194
ShallowClustersProducer::moduleVars::side
int side
Definition:
ShallowClustersProducer.h:26
ShallowClustersProducer::Prefix
std::string Prefix
Definition:
ShallowClustersProducer.h:21
edm::EventSetup
Definition:
EventSetup.h:44
ShallowClustersProducer::NearDigis::left
float left
Definition:
ShallowClustersProducer.h:33
ShallowClustersProducer::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
ShallowClustersProducer.cc:57
ShallowClustersProducer::NearDigis::right
float right
Definition:
ShallowClustersProducer.h:33
ShallowClustersProducer::NearDigis::Rright
float Rright
Definition:
ShallowClustersProducer.h:33
EDProducer.h
ShallowClustersProducer::moduleVars::subdetid
int subdetid
Definition:
ShallowClustersProducer.h:26
ShallowClustersProducer::NearDigis::eta
float eta() const
Definition:
ShallowClustersProducer.h:35
ShallowClustersProducer::moduleVars::stringringrod
int stringringrod
Definition:
ShallowClustersProducer.h:26
edm::InputTag
Definition:
InputTag.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
ShallowClustersProducer::moduleVars::stereo
int stereo
Definition:
ShallowClustersProducer.h:26
edm::Event
Definition:
Event.h:62
ShallowClustersProducer::NearDigis::last
float last
Definition:
ShallowClustersProducer.h:33
edm::DetSetVector
Definition:
DetSetVector.h:62
ShallowClustersProducer::moduleVars
Definition:
ShallowClustersProducer.h:24
Generated for CMSSW Reference Manual by
1.8.5