7 : moduleLabel_(cfg.getParameter<
std::
string>(
"@module_label")),
9 goodVtxNdof_(cfg.getParameter<unsigned
int>(
"goodVtxNdof")),
10 goodVtxZ_(cfg.getParameter<double>(
"goodVtxZ"))
12 produces<CorrMETData>(
"type0");
25 std::unique_ptr<CorrMETData> chsSum(
new CorrMETData());
27 for (
unsigned i = 1;
i < recVtxs->size(); ++
i)
36 if ((*track)->charge() != 0)
38 chsSum->mex += (*track)->px();
39 chsSum->mey += (*track)->py();
40 chsSum->sumet += (*track)->pt();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
trackRef_iterator tracks_end() const
last iterator over tracks
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Vertex > VertexCollection
collection of Vertex objects
#define DEFINE_FWK_MODULE(type)
double z() const
z coordinate
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
trackRef_iterator tracks_begin() const
first iterator over tracks