src
TrackingTools
TrackAssociator
plugins
PreshowerDetIdAssociatorMaker.h
Go to the documentation of this file.
1
#ifndef TrackingTools_TrackAssociator_PreshowerDetIdAssociatorMaker_h
2
#define TrackingTools_TrackAssociator_PreshowerDetIdAssociatorMaker_h
3
// -*- C++ -*-
4
//
5
// Package: TrackingTools/TrackAssociator
6
// Class : PreshowerDetIdAssociatorMaker
7
//
16
//
17
// Original Author: Christopher Jones
18
// Created: Thu, 30 May 2019 16:18:21 GMT
19
//
20
21
// system include files
22
23
// user include files
24
#include "
CaloDetIdAssociatorMaker.h
"
25
#include "
PreshowerDetIdAssociator.h
"
26
27
// forward declarations
28
29
class
PreshowerDetIdAssociatorMaker
:
public
CaloDetIdAssociatorMaker
{
30
public
:
31
using
CaloDetIdAssociatorMaker::CaloDetIdAssociatorMaker
;
32
33
private
:
34
std::unique_ptr<DetIdAssociator>
make
(
CaloGeometry
const
&
geom
,
int
nPhi
,
int
nEta
,
double
etaBinSize
)
const
final
{
35
return
std::unique_ptr<DetIdAssociator>(
new
PreshowerDetIdAssociator
(
nPhi
,
nEta
,
etaBinSize
, &
geom
));
36
}
37
};
38
39
#endif
CaloDetIdAssociatorMaker::CaloDetIdAssociatorMaker
CaloDetIdAssociatorMaker(edm::ParameterSet const &, edm::ESConsumesCollectorT< DetIdAssociatorRecord > &&)
Definition:
CaloDetIdAssociatorMaker.cc:34
PreshowerDetIdAssociatorMaker
Definition:
PreshowerDetIdAssociatorMaker.h:29
CaloDetIdAssociatorMaker::etaBinSize
const double etaBinSize
Definition:
CaloDetIdAssociatorMaker.h:46
CaloDetIdAssociatorMaker
Definition:
CaloDetIdAssociatorMaker.h:36
CaloDetIdAssociatorMaker::nPhi
const int nPhi
Definition:
CaloDetIdAssociatorMaker.h:47
PreshowerDetIdAssociatorMaker::make
std::unique_ptr< DetIdAssociator > make(CaloGeometry const &geom, int nPhi, int nEta, double etaBinSize) const final
Definition:
PreshowerDetIdAssociatorMaker.h:34
CaloGeometry
Definition:
CaloGeometry.h:21
PreshowerDetIdAssociator
Definition:
PreshowerDetIdAssociator.h:23
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
PreshowerDetIdAssociator.h
CaloDetIdAssociatorMaker::nEta
const int nEta
Definition:
CaloDetIdAssociatorMaker.h:48
CaloDetIdAssociatorMaker.h
Generated for CMSSW Reference Manual by
1.8.14