#include <FWFFHelper.h>
Public Member Functions | |
TRint * | app () |
FWFFHelper (const edm::ParameterSet &, const edm::ActivityRegistry &) | |
Private Attributes | |
TRint * | m_Rint |
Definition at line 12 of file FWFFHelper.h.
FWFFHelper::FWFFHelper | ( | const edm::ParameterSet & | ps, |
const edm::ActivityRegistry & | |||
) |
Definition at line 42 of file FWFFHelper.cc.
References dtNoiseDBValidation_cfg::cerr, exception, edm::ParameterSet::getUntrackedParameter(), m_Rint, and w().
: m_Rint(0) { printf ("CMSSW is starting... You should always have a 2 minutes walk every 45 minutes anyways.\n"); const char* dummyArgvArray[] = {"cmsRun"}; char** dummyArgv = const_cast<char**>(dummyArgvArray); int dummyArgc = 1; m_Rint = new FWFFTRint("App", &dummyArgc, dummyArgv, ps.getUntrackedParameter<bool>("rootPrompt")); assert(TApplication::GetApplications()->GetSize()); gROOT->SetBatch(kFALSE); TApplication::NeedGraphicsLibs(); try { TGLWidget* w = TGLWidget::Create(gClient->GetDefaultRoot(), kTRUE, kTRUE, 0, 10, 10); delete w; } catch (std::exception& iException) { std::cerr <<"Insufficient GL support. " << iException.what() << std::endl; throw; } TEveManager::Create(kFALSE, "FIV"); }
TRint* FWFFHelper::app | ( | ) | [inline] |
TRint* FWFFHelper::m_Rint [private] |
Definition at line 18 of file FWFFHelper.h.
Referenced by app(), and FWFFHelper().