14 declareInterface<IJetHistoFiller>(
this);
21 std::vector<float> jetPt_v;
22 for (
const auto *
const jetItr : jets) {
23 jetPt_v.push_back(jetItr->pt()/1000.);
28 return StatusCode::SUCCESS;
Header file to be included by clients of the Monitored infrastructure.
A monitoring algorithm in charge of filling histogram for a JetContainer.
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable > > &&variables) const
Fills a vector of variables to a group by reference.
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
JetContainer_v1 JetContainer
Definition of the current "jet container version".