#include <EgammaHLTRegionalPixelSeedGeneratorProducers.h>
EgammaHLTRegionalPixelSeedGeneratorProducers::EgammaHLTRegionalPixelSeedGeneratorProducers |
( |
const edm::ParameterSet & |
conf | ) |
|
|
explicit |
EgammaHLTRegionalPixelSeedGeneratorProducers::~EgammaHLTRegionalPixelSeedGeneratorProducers |
( |
| ) |
|
|
override |
Definition at line 82 of file EgammaHLTRegionalPixelSeedGeneratorProducers.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
85 desc.
add<
double>(
"ptMin", 1.5);
86 desc.add<
double>(
"vertexZ", 0);
87 desc.add<
double>(
"originRadius", 0.02);
88 desc.add<
double>(
"originHalfLength", 15.0);
89 desc.add<
double>(
"deltaEtaRegion", 0.3);
90 desc.add<
double>(
"deltaPhiRegion", 0.3);
94 desc.add<
bool>((
"UseZInVertex"),
false);
95 desc.add<
std::string>(
"TTRHBuilder",
"WithTrackAngle");
98 orderedHitsPSET.
add<
std::string>(
"ComponentName",
"StandardHitPairGenerator");
100 orderedHitsPSET.add<
unsigned int>(
"maxElement", 0);
103 descriptions.
add((
"hltEgammaHLTRegionalPixelSeedGeneratorProducers"), desc);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition at line 107 of file EgammaHLTRegionalPixelSeedGeneratorProducers.cc.
References edm::Event::getByToken(), eostools::move(), convertSQLitetoXML_cfg::output, reco::BeamSpot::position(), and edm::Event::put().
111 auto output = std::make_unique< TrajectorySeedCollection>();
129 for (reco::RecoEcalCandidateCollection::const_iterator recoecalcand= recoecalcands->begin(); recoecalcand!=recoecalcands->end(); recoecalcand++) {
130 scRef = recoecalcand->superCluster();
134 for(reco::ElectronCollection::const_iterator iElectron = electronHandle->begin(); iElectron != electronHandle->end(); iElectron++){
136 scRefEle = iElectron->superCluster();
137 if(&(*scRef) == &(*scRefEle)){
138 if(iElectron->track().isNonnull()) zvertex = iElectron->track()->vz();
139 else zvertex = iElectron->gsfTrack()->vz();
145 GlobalVector dirVector((recoecalcand)->px(),(recoecalcand)->py(),(recoecalcand)->pz());
147 GlobalPoint( BSPosition.x(), BSPosition.y(), zvertex ),
edm::EDGetTokenT< reco::ElectronCollection > candTagEle_
Global3DPoint GlobalPoint
math::XYZPoint Point
point in the space
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > candTag_
std::unique_ptr< SeedGeneratorFromRegionHits > combinatorialSeedGenerator
edm::EDGetTokenT< reco::BeamSpot > BSProducer_
const Point & position() const
position
double EgammaHLTRegionalPixelSeedGeneratorProducers::deltaEta_ |
|
private |
double EgammaHLTRegionalPixelSeedGeneratorProducers::deltaPhi_ |
|
private |
double EgammaHLTRegionalPixelSeedGeneratorProducers::halflength_ |
|
private |
double EgammaHLTRegionalPixelSeedGeneratorProducers::originradius_ |
|
private |
double EgammaHLTRegionalPixelSeedGeneratorProducers::originz_ |
|
private |
double EgammaHLTRegionalPixelSeedGeneratorProducers::ptmin_ |
|
private |
bool EgammaHLTRegionalPixelSeedGeneratorProducers::useZvertex_ |
|
private |
double EgammaHLTRegionalPixelSeedGeneratorProducers::vertexz_ |
|
private |