#include "EcalTrigPrimESProducer.h"
#include <TMath.h>
#include <fstream>
#include <iostream>
#include <sstream>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Definition at line 46 of file EcalTrigPrimESProducer.cc.
References GzInputStream::iss, and GzInputStream::readLine().
47 while ((
bool)gis && !(gis.
iss >>
var)) {
list var
if using global norm cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal'] df[cols_to_minmax] = df[cols_to_minmax].apply(lambda x: (x - x.min()) / (x.max() - x.min()) if (x.max() - x.min() > 0) else 1.0/200.0)