Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:22:39

0001 #include "plotting/PlotValidation.cpp+"
0002 
0003 void runValidation(const TString& test = "",
0004                    const Bool_t cmsswComp = false,
0005                    const int algo = 0,
0006                    const Bool_t mvInput = true,
0007                    const Bool_t rmSuffix = true,
0008                    const Bool_t saveAs = false,
0009                    const TString& image = "pdf") {
0010   // PlotValidation arguments
0011   // First is additional input name of root file
0012   // Second is name of output directory
0013   // First boolean argument is to do special CMSSW validation
0014   // The second boolean argument == true to move input root file to output directory, false to keep input file where it is.
0015   // Third Bool is saving the image files
0016   // Last argument is output type of plots
0017 
0018   PlotValidation Val(Form("valtree%s.root", test.Data()),
0019                      Form("validation%s", test.Data()),
0020                      cmsswComp,
0021                      algo,
0022                      mvInput,
0023                      rmSuffix,
0024                      saveAs,
0025                      image);
0026   Val.Validation(algo);
0027 }