CMS 3D CMS Logo

Public Member Functions | Private Attributes

FWFFHelper Class Reference

#include <FWFFHelper.h>

List of all members.

Public Member Functions

TRint * app ()
 FWFFHelper (const edm::ParameterSet &, const edm::ActivityRegistry &)

Private Attributes

TRint * m_Rint

Detailed Description

Definition at line 12 of file FWFFHelper.h.


Constructor & Destructor Documentation

FWFFHelper::FWFFHelper ( const edm::ParameterSet ps,
const edm::ActivityRegistry  
)

Definition at line 42 of file FWFFHelper.cc.

References ExpressReco_HICollisions_FallBack::cerr, exception, edm::ParameterSet::getUntrackedParameter(), and m_Rint.

   : 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");
}

Member Function Documentation

TRint* FWFFHelper::app ( ) [inline]

Definition at line 16 of file FWFFHelper.h.

References m_Rint.

{ return m_Rint; }

Member Data Documentation

TRint* FWFFHelper::m_Rint [private]

Definition at line 18 of file FWFFHelper.h.

Referenced by app(), and FWFFHelper().