Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
11
class
ShallowClustersProducer
:
public
edm::EDProducer
{
12
13
public
:
14
15
explicit
ShallowClustersProducer
(
const
edm::ParameterSet
&);
16
17
private
:
18
19
edm::InputTag
theClustersLabel
;
20
std::string
Prefix
;
21
void
produce
(
edm::Event
&,
const
edm::EventSetup
& );
22
23
struct
moduleVars
{
24
moduleVars
(uint32_t);
25
int
subdetid
,
side
,
layerwheel
,
stringringrod
,
petal
,
stereo
;
26
uint32_t
module
;
27
};
28
29
struct
NearDigis
{
30
NearDigis
(
const
SiStripClusterInfo
&);
31
NearDigis
(
const
SiStripClusterInfo
&,
const
edm::DetSetVector<SiStripProcessedRawDigi>
&);
32
float
max
,
left
,
right
,
first
,
last
,
Lleft
,
Rright
;
33
float
etaX
()
const
{
return
(
left
+
right
)/
max
/2.;}
34
float
eta
()
const
{
return
right
>
left
?
max
/(
max
+
right
) :
left
/(
left
+
max
);}
35
float
etaasymm
()
const
{
return
right
>
left
? (
right
-
max
)/(
right
+
max
) : (
max
-
left
)/(
max
+left);}
36
float
outsideasymm
()
const
{
return
(
last
-
first
)/(
last
+
first
);}
37
};
38
39
};
40
41
#endif
ShallowClustersProducer::NearDigis::Lleft
float Lleft
Definition:
ShallowClustersProducer.h:32
ShallowClustersProducer::NearDigis::outsideasymm
float outsideasymm() const
Definition:
ShallowClustersProducer.h:36
ShallowClustersProducer::theClustersLabel
edm::InputTag theClustersLabel
Definition:
ShallowClustersProducer.h:19
ShallowClustersProducer::NearDigis::etaasymm
float etaasymm() const
Definition:
ShallowClustersProducer.h:35
ShallowClustersProducer::NearDigis
Definition:
ShallowClustersProducer.h:29
ShallowClustersProducer::NearDigis::max
float max
Definition:
ShallowClustersProducer.h:32
ShallowClustersProducer::NearDigis::first
float first
Definition:
ShallowClustersProducer.h:32
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:15
ShallowClustersProducer::NearDigis::etaX
float etaX() const
Definition:
ShallowClustersProducer.h:33
ShallowClustersProducer
Definition:
ShallowClustersProducer.h:11
ShallowClustersProducer::moduleVars::moduleVars
moduleVars(uint32_t)
Definition:
ShallowClustersProducer.cc:218
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:21
DetSetVector.h
ShallowClustersProducer::moduleVars::module
uint32_t module
Definition:
ShallowClustersProducer.h:26
ShallowClustersProducer::moduleVars::petal
int petal
Definition:
ShallowClustersProducer.h:25
ShallowClustersProducer::moduleVars::layerwheel
int layerwheel
Definition:
ShallowClustersProducer.h:25
ShallowClustersProducer::NearDigis::NearDigis
NearDigis(const SiStripClusterInfo &)
Definition:
ShallowClustersProducer.cc:191
ShallowClustersProducer::moduleVars::side
int side
Definition:
ShallowClustersProducer.h:25
ShallowClustersProducer::Prefix
std::string Prefix
Definition:
ShallowClustersProducer.h:20
edm::EventSetup
Definition:
EventSetup.h:44
ShallowClustersProducer::NearDigis::left
float left
Definition:
ShallowClustersProducer.h:32
ShallowClustersProducer::produce
void produce(edm::Event &, const edm::EventSetup &)
Definition:
ShallowClustersProducer.cc:59
ShallowClustersProducer::NearDigis::right
float right
Definition:
ShallowClustersProducer.h:32
ShallowClustersProducer::NearDigis::Rright
float Rright
Definition:
ShallowClustersProducer.h:32
EDProducer.h
ShallowClustersProducer::moduleVars::subdetid
int subdetid
Definition:
ShallowClustersProducer.h:25
ShallowClustersProducer::NearDigis::eta
float eta() const
Definition:
ShallowClustersProducer.h:34
ShallowClustersProducer::moduleVars::stringringrod
int stringringrod
Definition:
ShallowClustersProducer.h:25
edm::InputTag
Definition:
InputTag.h:12
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
ShallowClustersProducer::moduleVars::stereo
int stereo
Definition:
ShallowClustersProducer.h:25
edm::Event
Definition:
Event.h:50
ShallowClustersProducer::NearDigis::last
float last
Definition:
ShallowClustersProducer.h:32
edm::DetSetVector
Definition:
DetSetVector.h:62
ShallowClustersProducer::moduleVars
Definition:
ShallowClustersProducer.h:23
Generated for CMSSW Reference Manual by
1.8.5