39 theNavigationSchool_(0),
40 theOutInSeedFinder_(0),
41 theOutInTrackFinder_(0),
42 theInOutSeedFinder_(0),
43 theInOutTrackFinder_(0)
159 bool validBarrelBCHandle=
true;
162 if (!bcBarrelHandle.isValid()) {
164 validBarrelBCHandle=
false;
169 bool validEndcapBCHandle=
true;
172 if (!bcEndcapHandle.isValid()) {
174 validEndcapBCHandle=
false;
180 bool validBarrelSCHandle=
true;
183 if (!scBarrelHandle.isValid()) {
185 validBarrelSCHandle=
false;
190 bool validEndcapSCHandle=
true;
193 if (!scEndcapHandle.isValid()) {
195 validEndcapSCHandle=
false;
210 if ( validBarrelBCHandle && validBarrelSCHandle )
212 if ( validEndcapBCHandle && validEndcapSCHandle )
268 for (
unsigned i = 0;
i < scHandle->size(); ++
i ) {
273 if (aClus->energy()/cosh(aClus->eta()) <=
minSCEt_)
continue;
300 for (std::vector<Trajectory>::const_iterator it = theOutInTracks.begin(); it != theOutInTracks.end(); ++it) {
305 for (std::vector<Trajectory>::const_iterator it = theInOutTracks.begin(); it != theInOutTracks.end(); ++it) {
edm::InputTag hcalTowers_
T getParameter(std::string const &) const
const math::XYZPoint & position() const
cluster centroid position
void setTracks(std::vector< Trajectory > in)
virtual void produce(edm::Event &evt, const edm::EventSetup &es)
double getTowerESum(const reco::Candidate *) const
std::vector< TrackCandidate > TrackCandidateCollection
std::string OutInTrackCandidateCollection_
void insert(const H &h, I begin, I end)
Global3DPoint GlobalPoint
edm::InputTag scIslandEndcapProducer_
edm::InputTag bcEndcapCollection_
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecInOut_
OutInConversionSeedFinder * theOutInSeedFinder_
TrajectorySeedCollection seeds()
std::string InOutTrackCandidateCollection_
std::string OutInTrackSuperClusterAssociationCollection_
~ConversionTrackCandidateProducer()
virtual std::vector< Trajectory > tracks(const TrajectorySeedCollection seeds, TrackCandidateCollection &candidate) const
OutInConversionTrackFinder * theOutInTrackFinder_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void setEvent(const edm::Event &e)
edm::InputTag bcBarrelCollection_
virtual void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) const
double energy() const
cluster energy
InOutConversionTrackFinder * theInOutTrackFinder_
virtual void endRun(edm::Run &, edm::EventSetup const &es)
ConversionTrackCandidateProducer(const edm::ParameterSet &ps)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag scHybridBarrelProducer_
std::string InOutTrackSuperClusterAssociationCollection_
edm::ESHandle< CaloGeometry > theCaloGeom_
std::vector< edm::Ptr< reco::CaloCluster > > caloPtrVecOutIn_
void setEvent(const edm::Event &e)
T const * product() const
virtual void setCandidate(float e, GlobalPoint pos) const
T const * product() const
InOutConversionSeedFinder * theInOutSeedFinder_
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
virtual std::vector< Trajectory > tracks(const TrajectorySeedCollection seeds, TrackCandidateCollection &candidates) const
void buildCollections(const edm::Handle< edm::View< reco::CaloCluster > > &scHandle, const edm::Handle< edm::View< reco::CaloCluster > > &bcHandle, const edm::Handle< CaloTowerCollection > &hcalTowersHandle, TrackCandidateCollection &outInTracks, TrackCandidateCollection &inOutTracks, std::vector< edm::Ptr< reco::CaloCluster > > &vecRecOI, std::vector< edm::Ptr< reco::CaloCluster > > &vecRecIO)
virtual void beginRun(edm::Run &, edm::EventSetup const &es)
const NavigationSchool * theNavigationSchool_
void setEventSetup(const edm::EventSetup &es)
Initialize EventSetup objects at each event.
virtual void makeSeeds(const edm::Handle< edm::View< reco::CaloCluster > > &allBc) const