Public Member Functions | Private Attributes | List of all members
genie::masterclass::FastSimCherenkov Class Reference

Fast simulation of the response of a Cherenkov detector. More...

#include "/cvmfs/nova.opensciencegrid.org/externals/genie/v3_00_06_p01/Linux64bit+2.6-2.12-e17-debug/GENIE-Generator/src/Tools/Masterclass/FastSimCherenkov.h"

Public Member Functions

 FastSimCherenkov ()
 
 ~FastSimCherenkov ()
 
void SetEmbeddedCanvas (TRootEmbeddedCanvas *ec)
 
void Draw (EventRecord *event)
 

Private Attributes

TRootEmbeddedCanvas * fEmbeddedCanvas
 

Detailed Description

Fast simulation of the response of a Cherenkov detector.

Author
Costas Andreopoulos <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab

Sep 22, 2010

Definition at line 27 of file FastSimCherenkov.h.

Constructor & Destructor Documentation

FastSimCherenkov::FastSimCherenkov ( )

Definition at line 33 of file FastSimCherenkov.cxx.

34 {
35 
36 }
FastSimCherenkov::~FastSimCherenkov ( )

Definition at line 38 of file FastSimCherenkov.cxx.

39 {
40 
41 }

Member Function Documentation

void FastSimCherenkov::Draw ( EventRecord event)

Definition at line 48 of file FastSimCherenkov.cxx.

References fEmbeddedCanvas, LOG, and pINFO.

49 {
50  LOG("MasterClass", pINFO) << "Drawing input event";
51 
52  fEmbeddedCanvas->GetCanvas()->cd();
53  fEmbeddedCanvas->GetCanvas()->Clear();
54 
55  fEmbeddedCanvas->GetCanvas()->Range(0,0,200,100);
56  fEmbeddedCanvas->GetCanvas()->SetFillColor(0);
57  fEmbeddedCanvas->GetCanvas()->SetBorderMode(0);
58 
59  //
60  // ...
61  //
62 
63  fEmbeddedCanvas->GetCanvas()->Update();
64 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:97
#define pINFO
Definition: Messenger.h:63
void FastSimCherenkov::SetEmbeddedCanvas ( TRootEmbeddedCanvas *  ec)

Definition at line 43 of file FastSimCherenkov.cxx.

References fEmbeddedCanvas.

44 {
45  fEmbeddedCanvas = ec;
46 }

Member Data Documentation

TRootEmbeddedCanvas* genie::masterclass::FastSimCherenkov::fEmbeddedCanvas
private

Definition at line 34 of file FastSimCherenkov.h.

Referenced by Draw(), and SetEmbeddedCanvas().


The documentation for this class was generated from the following files: