40 #include "Math/GenVector/VectorUtil.h"
41 #include "Math/GenVector/PxPyPzE4D.h"
49 produces<TrajectorySeedCollection>();
79 std::string hitsfactoryName = hitsfactoryPSet.
getParameter<std::string>(
"ComponentName");
112 for (reco::RecoEcalCandidateCollection::const_iterator recoecalcand= recoecalcands->begin(); recoecalcand!=recoecalcands->end(); recoecalcand++) {
113 scRef = recoecalcand->superCluster();
117 for(reco::ElectronCollection::const_iterator iElectron = electronHandle->begin(); iElectron != electronHandle->end(); iElectron++){
119 scRefEle = iElectron->superCluster();
120 if(&(*scRef) == &(*scRefEle)){
121 zvertex = iElectron->track()->vz();
127 GlobalVector dirVector((recoecalcand)->px(),(recoecalcand)->py(),(recoecalcand)->pz());
129 GlobalPoint( BSPosition.x(), BSPosition.y(), zvertex ),
T getParameter(std::string const &) const
virtual void produce(edm::Event &e, const edm::EventSetup &c)
virtual void endRun(edm::Run &run, const edm::EventSetup &es)
Global3DPoint GlobalPoint
math::XYZPoint Point
point in the space
EgammaHLTRegionalPixelSeedGeneratorProducers(const edm::ParameterSet &conf)
virtual void beginRun(edm::Run &run, const edm::EventSetup &es)
std::vector< TrajectorySeed > TrajectorySeedCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::InputTag candTagEle_
virtual ~EgammaHLTRegionalPixelSeedGeneratorProducers()
SeedGeneratorFromRegionHits * combinatorialSeedGenerator
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void run(TrajectorySeedCollection &seedCollection, const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es)
edm::InputTag BSProducer_
T get(const Candidate &c)