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  EcalPFRecHitThresholdsHandler
 
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 84 of file PopCon.h.

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

References tauJetCorrections_cff::payloads.

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

◆ displayIovHelper()

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

Definition at line 91 of file PopCon.h.

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

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

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

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
edm::Log
Definition: MessageLogger.h:70