CMS 3D CMS Logo

Classes | Functions

popcon Namespace Reference

Classes

class  DQMHistoryPopConHandler
class  DQMReferenceHistogramRootFileSourceHandler
class  DQMSummarySourceHandler
class  DQMXMLFileSourceHandler
class  EcalADCToGeVHandler
class  EcalChannelStatusHandler
class  EcalDAQHandler
class  EcalDCSHandler
class  EcalIntercalibHandler
class  EcalLaserHandler
class  EcalPedestalsHandler
class  EcalSRPHandler
class  EcalTPGBadStripHandler
class  EcalTPGBadTTHandler
class  EcalTPGBadXTHandler
class  EcalTPGFineGrainEBGroupHandler
class  EcalTPGFineGrainEBIdMapHandler
class  EcalTPGFineGrainStripEEHandler
class  EcalTPGFineGrainTowerEEHandler
class  EcalTPGLinConstHandler
class  EcalTPGLutGroupHandler
class  EcalTPGLutIdMapHandler
class  EcalTPGPedestalsHandler
class  EcalTPGPhysicsConstHandler
class  EcalTPGSlidingWindowHandler
class  EcalTPGSpikeThresholdHandler
class  EcalTPGWeightGroupHandler
class  EcalTPGWeightIdMapHandler
class  Exception
class  L1RPCHwConfigSourceHandler
class  PopCon
class  PopConAnalyzer
class  PopConSourceHandler
class  RpcDataFebmap
class  RpcDataGasMix
class  RpcDataI
class  RpcDataS
class  RpcDataT
class  RpcDataUXC
class  RpcDataV
class  RPCEMapSourceHandler
class  RpcObGasData
class  RPCObPVSSmapData
class  SiStripDetVOffHandler
class  SiStripPopConConfigDbObjHandler
class  SiStripPopConDbObjHandler
class  SiStripPopConHandlerUnitTest
class  SiStripPopConHandlerUnitTestGain
class  SiStripPopConHandlerUnitTestNoise
class  VerifyState

Functions

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

Function Documentation

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

Definition at line 98 of file PopCon.h.

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

                                                 {
    typename Container::const_iterator it;
    for (it = payloads.begin(); it != payloads.end(); it++)
      edm::LogInfo ("PopCon")<< "Since " << (*it).time << std::endl;
  }     
template<typename Container >
const std::string popcon::displayIovHelper ( Container const &  payloads)

Definition at line 106 of file PopCon.h.

References alignCSCRings::s, and cond::rpcobgas::time.

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

                                                               {
    if (payloads.empty()) return "Nothing to transfer;";
    std::ostringstream s;    
    // when only 1 payload is transferred; 
    if ( payloads.size()==1)  
      s <<"Since " << (*payloads.begin()).time <<  "; " ;
    else{
      // when more than one payload are transferred;  
      s <<   "first payload Since " <<  (*payloads.begin()).time <<  ","
        << "last payload Since "  << (*payloads.rbegin()).time <<  ";" ;  
    }  
    return s.str();
  }