CMS 3D CMS Logo

List of all members | Public Member Functions
PpPCorrelation< db, plane, channel, param1, param2, PayloadType > Class Template Reference

#include <PPSTimingCalibrationPayloadInspectorHelper.h>

Inheritance diagram for PpPCorrelation< db, plane, channel, param1, param2, PayloadType >:
cond::payloadInspector::ScatterPlot< PayloadType, double, double > cond::payloadInspector::Plot2D< PayloadType, double, double, MULTI_IOV, 1 > cond::payloadInspector::PlotImpl< IOV_M, NTAGS > cond::payloadInspector::PlotBase

Public Member Functions

std::tuple< double, double > getFromPayload (PayloadType &payload) override
 
 PpPCorrelation ()
 
- Public Member Functions inherited from cond::payloadInspector::ScatterPlot< PayloadType, double, double >
bool fill () override
 
 ScatterPlot (const std::string &title, const std::string &xLabel, const std::string &yLabel)
 
 ~ScatterPlot () override=default
 
- Public Member Functions inherited from cond::payloadInspector::Plot2D< PayloadType, double, double, MULTI_IOV, 1 >
std::shared_ptr< PayloadType > fetchPayload (const cond::Hash &payloadHash)
 
 Plot2D (const std::string &type, const std::string &title, const std::string xLabel, const std::string &yLabel)
 
std::string serializeData () override
 
 ~Plot2D () override=default
 
- Public Member Functions inherited from cond::payloadInspector::PlotImpl< IOV_M, NTAGS >
 PlotImpl (const std::string &type, const std::string &title)
 
std::string processData () override
 
 ~PlotImpl () override=default
 
- Public Member Functions inherited from cond::payloadInspector::PlotBase
void addInputParam (const std::string &paramName)
 
cond::persistency::Session dbSession ()
 
template<typename PayloadType >
std::shared_ptr< PayloadType > fetchPayload (const cond::Hash &payloadHash)
 
template<int index>
TagReference getTag ()
 
cond::Tag_t getTagInfo (const std::string &tag)
 
virtual void init ()
 
const std::map< std::string, std::string > & inputParamValues () const
 
bool isSingleIov () const
 
bool isTwoTags () const
 
unsigned int ntags () const
 
std::string payloadType () const
 
 PlotBase ()
 
std::string title () const
 
std::string type () const
 
virtual ~PlotBase ()=default
 

Additional Inherited Members

- Public Types inherited from cond::payloadInspector::ScatterPlot< PayloadType, double, double >
typedef Plot2D< PayloadType, double, double, MULTI_IOV, 1 > Base
 
- Public Types inherited from cond::payloadInspector::Plot2D< PayloadType, double, double, MULTI_IOV, 1 >
typedef PlotImpl< IOV_M, NTAGS > Base
 
- Protected Attributes inherited from cond::payloadInspector::Plot2D< PayloadType, double, double, MULTI_IOV, 1 >
std::vector< std::tuple< double, double > > m_plotData
 
- Protected Attributes inherited from cond::payloadInspector::PlotBase
std::set< std::string > m_inputParams
 
std::map< std::string, std::string > m_inputParamValues
 
PlotAnnotations m_plotAnnotations
 
std::vector< std::pair< cond::Time_t, cond::Time_t > > m_tagBoundaries
 
std::vector< std::vector< std::tuple< cond::Time_t, cond::Hash > > > m_tagIovs
 
std::vector< std::string > m_tagNames
 

Detailed Description

template<PPSTimingCalibrationPI::conditions_db db, PPSTimingCalibrationPI::conditions_plane plane, PPSTimingCalibrationPI::conditions_channel channel, PPSTimingCalibrationPI::parameter param1, PPSTimingCalibrationPI::parameter param2, class PayloadType>
class PpPCorrelation< db, plane, channel, param1, param2, PayloadType >

Definition at line 153 of file PPSTimingCalibrationPayloadInspectorHelper.h.

Constructor & Destructor Documentation

◆ PpPCorrelation()

template<PPSTimingCalibrationPI::conditions_db db, PPSTimingCalibrationPI::conditions_plane plane, PPSTimingCalibrationPI::conditions_channel channel, PPSTimingCalibrationPI::parameter param1, PPSTimingCalibrationPI::parameter param2, class PayloadType >
PpPCorrelation< db, plane, channel, param1, param2, PayloadType >::PpPCorrelation ( )
inline

Member Function Documentation

◆ getFromPayload()

template<PPSTimingCalibrationPI::conditions_db db, PPSTimingCalibrationPI::conditions_plane plane, PPSTimingCalibrationPI::conditions_channel channel, PPSTimingCalibrationPI::parameter param1, PPSTimingCalibrationPI::parameter param2, class PayloadType >
std::tuple<double, double> PpPCorrelation< db, plane, channel, param1, param2, PayloadType >::getFromPayload ( PayloadType &  payload)
inlineoverridevirtual

Implements cond::payloadInspector::ScatterPlot< PayloadType, double, double >.

Definition at line 165 of file PPSTimingCalibrationPayloadInspectorHelper.h.

References dqmiodatasetharvest::db, and jetsAK4_Puppi_cff::payload.

165  {
166  return std::make_tuple(payload.parameters(db, 1, plane, channel)[param1],
167  payload.parameters(db, 1, plane, channel)[param2]);
168  }