CMS 3D CMS Logo

Classes | Functions
popcon Namespace Reference

Classes

class  DQMReferenceHistogramRootFileSourceHandler
 
class  DQMSummarySourceHandler
 
class  DQMXMLFileSourceHandler
 
class  EcalADCToGeVHandler
 
class  EcalChannelStatusHandler
 
class  EcalDAQHandler
 
class  EcalDCSHandler
 
class  EcalIntercalibHandler
 
class  EcalLaser_weekly_Handler
 
class  EcalLaser_weekly_Linearization
 
class  EcalLaser_weekly_Linearization_Check
 
class  EcalLaserHandler
 
class  EcalPedestalsHandler
 
class  EcalPulseShapesHandler
 
class  EcalPulseSymmCovariancesHandler
 
class  EcalSRPHandler
 
class  EcalTPGBadStripHandler
 
class  EcalTPGBadTTHandler
 
class  EcalTPGBadXTHandler
 
class  EcalTPGFineGrainEBGroupHandler
 
class  EcalTPGFineGrainEBIdMapHandler
 
class  EcalTPGFineGrainStripEEHandler
 
class  EcalTPGFineGrainStripfromFile
 
class  EcalTPGFineGrainTowerEEHandler
 
class  EcalTPGFineGrainTowerfromFile
 
class  EcalTPGLinConstHandler
 
class  EcalTPGLinPed
 
class  EcalTPGLutGroupHandler
 
class  EcalTPGLutIdMapHandler
 
class  EcalTPGPedestalsHandler
 
class  EcalTPGPedfromFile
 
class  EcalTPGPhysicsConstfromFile
 
class  EcalTPGPhysicsConstHandler
 
class  EcalTPGSlidingWindowHandler
 
class  EcalTPGSpikeThresholdfromFile
 
class  EcalTPGSpikeThresholdHandler
 
class  EcalTPGWeightGroupHandler
 
class  EcalTPGWeightIdMapHandler
 
class  Exception
 
class  L1RPCHwConfigSourceHandler
 
class  PopCon
 
class  PopConAnalyzer
 
class  PopConBTransitionSourceHandler
 
class  PopConESTransitionSourceHandler
 
class  PopConSourceHandler
 
class  RpcDataFebmap
 
class  RpcDataGasMix
 
class  RpcDataI
 
class  RpcDataS
 
class  RpcDataT
 
class  RpcDataUXC
 
class  RpcDataV
 
class  RPCEMapSourceHandler
 
class  RpcObGasData
 
class  RPCObPVSSmapData
 
class  SiStripPopConConfigDbObjHandler
 
class  SiStripPopConHandlerUnitTest
 
class  SiStripPopConHandlerUnitTestGain
 
class  SiStripPopConHandlerUnitTestNoise
 

Functions

template<typename Container >
void displayHelper (Container const &payloads)
 
template<typename Container >
const std::string displayIovHelper (Container const &payloads)
 

Function Documentation

◆ displayHelper()

template<typename Container >
void popcon::displayHelper ( Container const &  payloads)

Definition at line 85 of file PopCon.h.

85  {
86  typename Container::const_iterator it;
87  for (it = payloads.begin(); it != payloads.end(); it++)
88  edm::LogInfo("PopCon") << "Since " << (*it).time << std::endl;
89  }

References tauJetCorrections_cff::payloads.

Referenced by popcon::PopCon::write().

◆ displayIovHelper()

template<typename Container >
const std::string popcon::displayIovHelper ( Container const &  payloads)

Definition at line 92 of file PopCon.h.

92  {
93  if (payloads.empty())
94  return std::string("Nothing to transfer;");
95  std::ostringstream s;
96  // when only 1 payload is transferred;
97  if (payloads.size() == 1)
98  s << "Since " << (*payloads.begin()).time << "; ";
99  else {
100  // when more than one payload are transferred;
101  s << "first payload Since " << (*payloads.begin()).time << ", "
102  << "last payload Since " << (*payloads.rbegin()).time << "; ";
103  }
104  return s.str();
105  }

References tauJetCorrections_cff::payloads, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and ntuplemaker::time.

Referenced by popcon::PopCon::write().

edm::LogInfo
Definition: MessageLogger.h:254
alignCSCRings.s
s
Definition: alignCSCRings.py:92
tauJetCorrections_cff.payloads
payloads
Definition: tauJetCorrections_cff.py:4
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ntuplemaker.time
time
Definition: ntuplemaker.py:310