/** * \file CbmLitPropagationQaReport.h * \brief Create report for propagation QA. * \author Andrey Lebedev * \date 2011 */ #ifndef CBMLITPROPAGATIONQAREPORT_H_ #define CBMLITPROPAGATIONQAREPORT_H_ #include "CbmSimulationReport.h" #include "TSystem.h" /** * \class CbmLitPropagationQaReport * \brief Create report for propagation QA. * \author Andrey Lebedev * \date 2012 */ class CbmLitPropagationQaReport : public CbmSimulationReport { public: /** * \brief Constructor. */ CbmLitPropagationQaReport(); /** * \brief Destructor. */ virtual ~CbmLitPropagationQaReport(); /** Setters **/ void SetNofPlanes(Int_t nofPlanes) { fNofPlanes = nofPlanes; } protected: /** * \brief Inherited from CbmLitSimulationReport. */ virtual void Create( ostream& out); /** * \brief Inherited from CbmLitSimulationReport. */ virtual string GetQaFileName() const { return "propagation_qa.json"; } /** * \brief Inherited from CbmLitSimulationReport. */ virtual string GetIdealFileName() const { return string(gSystem->Getenv("VMCWORKDIR")) + ("/littrack/cbm/qa/propagation/propagation_qa_ideal.json"); } /** * \brief Inherited from CbmLitSimulationReport. */ virtual string GetCheckFileName() const { return "propagation_qa_check.json"; } string PrintResAndPullRow( const string& rowName, Int_t algorithmIndex, Int_t planeIndex, const string& propertyName); string PrintTable( const string& title, Int_t algorithmIndex, const string& propertyName); Int_t fNofPlanes; // Number of planes }; #endif /* CBMLITPROPAGATIONQAREPORT_H_ */