50 "could not cast the subdet geometry to preshower geometry";
53 if (geometry)
topology_p =
new EcalPreshowerTopology(geoHandle);
70 for (reco::SuperClusterCollection::const_iterator isc = eeSuperClusters->begin(); isc != eeSuperClusters->end(); ++isc) {
73 if (fabs(isc->eta()) < 1.65 || fabs(isc->eta()) > 2.6)
continue;
78 for ( ; ibc != isc->clustersEnd(); ++ibc ) {
113 for (it = ESRecHits_->begin(); it != ESRecHits_->end(); ++it) {
114 if (it->recoFlag()==1 || it->recoFlag()==14 || (it->recoFlag()<=10 && it->recoFlag()>=5))
continue;
116 output->push_back(*it);
129 map<DetId,const EcalRecHit*>::iterator it;
130 map<DetId, int>::iterator itu;
139 theESNav1.setHome(strip1);
142 theESNav2.setHome(strip2);
145 if (strip1 !=
ESDetId(0)) strip1 = theESNav1.north();
146 if (strip2 !=
ESDetId(0)) strip2 = theESNav2.east();
147 }
else if (row == -1) {
148 if (strip1 !=
ESDetId(0)) strip1 = theESNav1.south();
149 if (strip2 !=
ESDetId(0)) strip2 = theESNav2.west();
158 for (
int i=0;
i<15; ++
i) {
159 next = theESNav1.east();
169 theESNav1.setHome(strip1);
171 for (
int i=0;
i<15; ++
i) {
172 next = theESNav1.west();
188 for (
int i=0;
i<15; ++
i) {
189 next = theESNav2.north();
199 theESNav2.setHome(strip2);
201 for (
int i=0;
i<15; ++
i) {
202 next = theESNav2.south();
CaloNavigator< ESDetId > EcalPreshowerNavigator
T getParameter(std::string const &) const
virtual void beginRun(edm::Run const &, const edm::EventSetup &) overridefinal
std::vector< EcalRecHit >::const_iterator const_iterator
CaloSubdetectorTopology * topology_p
edm::InputTag InputSpuerClusterEE_
void collectIds(const ESDetId strip1, const ESDetId strip2, const int &row=0)
edm::InputTag InputRecHitES_
std::string OutputLabelES_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
virtual ~ReducedESRecHitCollectionProducer()
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual DetId getClosestCellInPlane(const GlobalPoint &r, int plane) const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::vector< edm::InputTag > interestingDetIdCollections_
T const * product() const
void produce(edm::Event &e, const edm::EventSetup &c)
ESHandle< TrackerGeometry > geometry
std::set< DetId > collectedIds_
const EcalPreshowerGeometry * geometry_p
ReducedESRecHitCollectionProducer(const edm::ParameterSet &pset)
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point