CMS 3D CMS Logo

Classes | Functions
EcalTrigPrimESProducer.cc File Reference
#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.

Classes

struct  GzInputStream
 

Functions

template<typename T >
GzInputStreamoperator>> (GzInputStream &gis, T &var)
 

Function Documentation

◆ operator>>()

template<typename T >
GzInputStream& operator>> ( GzInputStream gis,
T var 
)

Definition at line 46 of file EcalTrigPrimESProducer.cc.

References GzInputStream::iss, GzInputStream::readLine(), and trigObjTnPSource_cfi::var.

46  {
47  while ((bool)gis && !(gis.iss >> var)) {
48  gis.readLine();
49  }
50  return gis;
51 }
std::istringstream iss