5 #include "PixTestFactory.hh"
6 #include "PixTestFullTest.hh"
20 LOG(logDEBUG) <<
"PixTestFullTest ctor(PixSetup &a, string, TGTab *)";
25 PixTestFullTest::PixTestFullTest() :
PixTest() {
26 LOG(logDEBUG) <<
"PixTestFullTest ctor()";
33 for (
unsigned int i = 0; i <
fParameters.size(); ++i) {
36 if (!parName.compare(
"deadface")) {
48 void PixTestFullTest::init() {
49 LOG(logDEBUG) <<
"PixTestFullTest::init()";
52 fDirectory = gFile->GetDirectory(fName.c_str());
62 fTestTip = string(
"run the complete FullTest")
64 fSummaryTip = string(
"to be implemented")
70 void PixTestFullTest::bookHist(
string name) {
71 LOG(logDEBUG) <<
"nothing done with " << name;
77 PixTestFullTest::~PixTestFullTest() {
78 LOG(logDEBUG) <<
"PixTestFullTest dtor";
85 bigBanner(Form(
"PixTestFullTest::doTest()"));
88 suite.push_back(
"alive");
89 suite.push_back(
"bb");
90 suite.push_back(
"scurves");
91 suite.push_back(
"trim");
92 suite.push_back(
"phoptimization");
93 suite.push_back(
"gainpedestal");
99 for (
unsigned int i = 0; i < suite.size(); ++i) {
100 t = factory->createTest(suite[i],
fPixSetup);
102 if (!suite[i].compare(
"trim")) {
104 fPixSetup->getConfigParameters()->setTrimVcalSuffix(trimvcal,
true);
void setToolTips()
implement this to provide updated tool tips if the user changes test parameters
PixSetup * fPixSetup
all necessary stuff in one place
virtual void fullTest()
function called when FullTest is running; most often this is simply calling doTest() ...
std::vector< std::pair< std::string, std::string > > fParameters
the parameters of this test
void doTest()
function connected to "DoTest" button of PixTab
TDirectory * fDirectory
where the root histograms will end up
bool getParameter(std::string parName, int &)
return by reference the INT value of a parameter
virtual bool setParameter(std::string parName, std::string sval)
set the string value of a parameter
void init()
sets all test parameters