1 #ifndef ALIGNMENT_OFFLINEVALIDATION_PREPAREDMRTRENDS_H_ 2 #define ALIGNMENT_OFFLINEVALIDATION_PREPAREDMRTRENDS_H_ 11 #include <experimental/filesystem> 15 #include "TGraphErrors.h" 16 #include "TMultiGraph.h" 22 #include "TLegendEntry.h" 25 #include "TPaveLabel.h" 26 #include "TPaveText.h" 29 #include "boost/property_tree/ptree.hpp" 30 #include "boost/property_tree/json_parser.hpp" 39 #define DMRFactor 10000. 73 Point(
float Run,
float ScaleFactor, TH1 *
histo, TH1 *histoplus, TH1 *histominus)
77 histo->GetMeanError(),
79 histoplus->GetMeanError(),
80 histominus->GetMean(),
81 histominus->GetMeanError()) {}
133 std::vector<float>
v;
172 std::vector<TString> structures,
173 const std::map<TString, int>
nlayers,
181 #endif // ALIGNMENT_OFFLINEVALIDATION_PREPAREDMRTRENDS_H_
std::vector< float > MuPlus() const
Geometry & operator=(const Geometry &geom)
std::vector< float > DeltaMu() const
void compileDMRTrends(std::vector< int > IOVlist, TString Variable, std::vector< std::string > inputFiles, std::vector< TString > structures, const std::map< TString, int > nlayers, bool FORCE=false)
TString getName(TString structure, int layer, TString geometry)
Point(float Run=-999., float ScaleFactor=10000., float y1=-999., float y2=-999., float y3=-999., float y4=-999., float y5=-999., float y6=-999.)
std::vector< Point > points
std::vector< std::string > geometries
Point(float Run, float ScaleFactor, TH1 *histo, TH1 *histoplus, TH1 *histominus)
void SetTitle(TString Title)
constexpr std::array< uint8_t, layerIndexSize > layer
std::vector< float > MuMinus() const
Point & operator=(const Point &p)
std::vector< float > Sigma() const
PrepareDMRTrends(const char *outputFileName, boost::property_tree::ptree &json)
std::vector< float > SigmaPlus() const
Class Geometry Contains vector for fit parameters (mean, sigma, etc.) obtained from multiple IOVs See...
std::vector< float > SigmaDeltaMu() const
std::vector< float > Mu() const
float GetSigmaMinus() const
std::vector< float > GetQuantity(float(Point::*getter)() const) const
std::vector< float > Run() const
Point(float Run, float ScaleFactor, TH1 *histo)
Structure Point Contains parameters of Gaussian fits to DMRs.
float GetSigmaDeltaMu() const
const char * outputFileName_
float GetSigmaPlus() const
std::vector< float > SigmaMinus() const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point