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 41 of file EcalTrigPrimESProducer.cc.

41  {
42  while ((bool)gis && !(gis.iss >> var)) {
43  gis.readLine();
44  }
45  return gis;
46 }

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

GzInputStream::iss
std::istringstream iss
Definition: EcalTrigPrimESProducer.cc:18
trigObjTnPSource_cfi.var
var
Definition: trigObjTnPSource_cfi.py:21
GzInputStream::readLine
void readLine()
Definition: EcalTrigPrimESProducer.cc:28