SimRomanPot
SimFP420
interface
DigitizerFP420.h
Go to the documentation of this file.
1
#ifndef DigitizerFP420_h
2
#define DigitizerFP420_h
3
5
6
#include "
DataFormats/Common/interface/Handle.h
"
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/Framework/interface/EventSetup.h
"
9
#include "
FWCore/Framework/interface/one/EDProducer.h
"
10
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
Geometry/CommonDetUnit/interface/GeomDetType.h
"
14
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
15
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
16
#include "
SimDataFormats/TrackingHit/interface/PSimHitContainer.h
"
17
#include "
SimG4CMS/FP420/interface/FP420NumberingScheme.h
"
18
19
#include "
SimRomanPot/SimFP420/interface/FP420DigiMain.h
"
20
21
#include "
DataFormats/FP420Digi/interface/DigiCollectionFP420.h
"
22
#include "
DataFormats/FP420Digi/interface/HDigiFP420.h
"
23
24
#include <CLHEP/Vector/ThreeVector.h>
25
#include <iostream>
26
#include <map>
27
#include <string>
28
#include <vector>
29
30
namespace
cms
{
31
class
DigitizerFP420
:
public
edm::one::EDProducer
<> {
32
public
:
33
explicit
DigitizerFP420
(
const
edm::ParameterSet
&conf);
34
35
~DigitizerFP420
()
override
;
36
37
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
38
39
private
:
40
typedef
std::vector<std::string>
vstring
;
41
typedef
std::map<unsigned int, std::vector<PSimHit>, std::less<unsigned int>>
simhit_map
;
42
typedef
simhit_map::iterator
simhit_map_iterator
;
43
simhit_map
SimHitMap
;
44
45
edm::ParameterSet
conf_
;
46
vstring
trackerContainers
;
47
48
FP420DigiMain
*
stripDigitizer_
;
49
int
numStrips
;
// number of strips in the module
50
51
int
dn0
,
sn0
,
pn0
,
rn0
,
verbosity
;
52
53
std::vector<HDigiFP420>
collector
;
54
};
55
}
// namespace cms
56
57
#endif
cms::DigitizerFP420::verbosity
int verbosity
Definition:
DigitizerFP420.h:51
cms::DigitizerFP420::collector
std::vector< HDigiFP420 > collector
Definition:
DigitizerFP420.h:53
Handle.h
EDProducer.h
cms::DigitizerFP420::trackerContainers
vstring trackerContainers
Definition:
DigitizerFP420.h:46
cms::DigitizerFP420::rn0
int rn0
Definition:
DigitizerFP420.h:51
cms::DigitizerFP420::vstring
std::vector< std::string > vstring
Definition:
DigitizerFP420.h:40
PSimHitContainer.h
cms::DigitizerFP420::simhit_map_iterator
simhit_map::iterator simhit_map_iterator
Definition:
DigitizerFP420.h:42
GeomDetType.h
FP420NumberingScheme.h
edm::one::EDProducer
Definition:
EDProducer.h:30
cms::DigitizerFP420::dn0
int dn0
Definition:
DigitizerFP420.h:51
cms::DigitizerFP420::DigitizerFP420
DigitizerFP420(const edm::ParameterSet &conf)
Definition:
DigitizerFP420.cc:62
cms::DigitizerFP420
Definition:
DigitizerFP420.h:31
PSimHit.h
cms::DigitizerFP420::~DigitizerFP420
~DigitizerFP420() override
Definition:
DigitizerFP420.cc:102
MixCollection.h
edm::ParameterSet
Definition:
ParameterSet.h:47
cms::DigitizerFP420::numStrips
int numStrips
Definition:
DigitizerFP420.h:49
Event.h
cms::DigitizerFP420::sn0
int sn0
Definition:
DigitizerFP420.h:51
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
FP420DigiMain
Definition:
FP420DigiMain.h:30
cms::DigitizerFP420::simhit_map
std::map< unsigned int, std::vector< PSimHit >, std::less< unsigned int > > simhit_map
Definition:
DigitizerFP420.h:41
cms::DigitizerFP420::SimHitMap
simhit_map SimHitMap
Definition:
DigitizerFP420.h:43
cms::DigitizerFP420::stripDigitizer_
FP420DigiMain * stripDigitizer_
Definition:
DigitizerFP420.h:48
cms::DigitizerFP420::conf_
edm::ParameterSet conf_
Definition:
DigitizerFP420.h:45
EventSetup.h
DigiCollectionFP420.h
cms::DigitizerFP420::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
DigitizerFP420.cc:110
cms::DigitizerFP420::pn0
int pn0
Definition:
DigitizerFP420.h:51
ParameterSet.h
HDigiFP420.h
edm::Event
Definition:
Event.h:73
FP420DigiMain.h
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16