61 #include "Math/GenVector/VectorUtil.h"
62 #include "Math/GenVector/PxPyPzE4D.h"
66 #include "RecoBTag/TrackProbability/interface/TrackClassFilterCategory.h"
95 vector<pair<TrackClassFilterCategory, CalibratedHistogramXML> >
data = calibrationOld->
categoriesWithData();
96 vector<pair<TrackClassFilterCategory, CalibratedHistogramXML> > data2d = calibration2dOld->
categoriesWithData();
99 for(
int i = 0 ;
i < data.
size();
i++)
102 entry.
category=data[
i].first.categoryData();
104 calibration->
data.push_back(entry);
106 for(
int i = 0 ;
i < data2d.size();
i++)
109 entry.
category=data2d[
i].first.categoryData();
111 calibration2d->
data.push_back(entry);
#define DEFINE_FWK_MODULE(type)
virtual void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
double m_cutMaxDistToAxis
TrackProbabilityCategoryData category
std::pair< std::string, MonitorElement * > entry
const std::vector< std::pair< T, CO > > & categoriesWithData() const
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
TrackProbabilityXMLtoDB(const edm::ParameterSet &)
edm::InputTag m_primaryVertexProducer
PhysicsTools::Calibration::HistogramF histogram
cond::Time_t endOfTime() const
std::vector< Entry > data
char data[epos_bytes_allocation]
double m_cutMaxChiSquared
std::string fullPath() const
~TrackProbabilityXMLtoDB()