// create the HistContainer<TH1F> as you would create a TH1F (it implements some feature needed to avoid memory leaks in copying histograms like the move constructor)
HistContainer<TH1F>theTH1FPedestalContainer("HitPerChannel","Hit Per Channel",254,-0.5,253.5);
// create Histograms for all the chips, they will be automatically accosiated to the output file, no need to save them, change the name for every chip or set their directory
@@ -38,32 +37,31 @@ class DQMHistogramCalibrationExample : public DQMHistogramBase
* \param theDetectorStructure : Detector container as obtained after file parsing, used to create histograms for all board/chip/opticalGroup/hybrid/channel
* \param pSettingsMap : setting as for Tool setting map in case coe informations are needed (i.e. FitSCurve)
* \brief fill : fill histograms from TCP stream, need to be overwritten to avoid compilation errors, but it is not needed if you do not fo into the SoC
* \param dataBuffer : vector of char with the TCP datastream
*/
boolfill(std::vector<char>&dataBuffer)override;
boolfill(std::vector<char>&dataBuffer)override;
/*!
* \brief process : do something with the histogram like colors, fit, drawing canvases, etc
*/
voidprocess()override;
voidprocess()override;
/*!
* \brief Reset histogram
*/
voidreset(void)override;
/*!
* \brief fillCalibrationExamplePlots
* \param theHitContainer : Container with the hits you want to plot
* \param theHitContainer : Container with the hits you want to plot
@@ -38,32 +37,31 @@ class DQMHistogramSimpleSCurve : public DQMHistogramBase
* \param theDetectorStructure : Detector container as obtained after file parsing, used to create histograms for all board/chip/opticalGroup/hybrid/channel
* \param pSettingsMap : setting as for Tool setting map in case coe informations are needed (i.e. FitSCurve)
* \brief fill : fill histograms from TCP stream, need to be overwritten to avoid compilation errors, but it is not needed if you do not fo into the SoC
* \param dataBuffer : vector of char with the TCP datastream
*/
boolfill(std::vector<char>&dataBuffer)override;
boolfill(std::vector<char>&dataBuffer)override;
/*!
* \brief process : do something with the histogram like colors, fit, drawing canvases, etc
*/
voidprocess()override;
voidprocess()override;
/*!
* \brief Reset histogram
*/
voidreset(void)override;
/*!
* \brief fillSimpleSCurvePlots
* \param theHitContainer : Container with the hits you want to plot
* \param theHitContainer : Container with the hits you want to plot