87 produces<std::vector<reco::CaloJet> >();
88 produces<reco::VertexCollection >();
112 std::auto_ptr<std::vector<reco::CaloJet> > pOut(
new std::vector<reco::CaloJet> );
118 it != jetTracksAssociation->end() &&
i <
m_maxNjets; it++,
i++) {
119 if(fabs(it->first->eta()) < 2.4)
126 trMomentum += (*itTrack)->momentum();
131 pOut->push_back(* dynamic_cast<const reco::CaloJet *>(&(*it->first)));
143 e(0, 0) = 0.0015 * 0.0015;
144 e(1, 1) = 0.0015 * 0.0015;
149 pOut2->push_back(thePV);
T getParameter(std::string const &) const
transient_vector_type::const_iterator const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
math::Error< dimension >::type Error
covariance error matrix (3x3)
std::vector< Vertex > VertexCollection
collection of Vertex objects
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
void addDefault(ParameterSetDescription const &psetDescription)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< reco::BeamSpot > m_beamSpot
math::XYZPoint Point
point in the space
virtual bool filter(edm::Event &, const edm::EventSetup &) override
XYZVectorD XYZVector
spatial vector with cartesian internal representation
JetVertexChecker(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::JetTracksAssociationCollection > m_associator