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

Fast simulation of the response of a scintillator calorimeter. More...

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

Public Member Functions

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

Private Attributes

TRootEmbeddedCanvas * fEmbeddedCanvas
 

Detailed Description

Fast simulation of the response of a scintillator calorimeter.

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

Sep 22, 2010

Definition at line 27 of file FastSimScintCalo.h.

Constructor & Destructor Documentation

FastSimScintCalo::FastSimScintCalo ( )

Definition at line 33 of file FastSimScintCalo.cxx.

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

Definition at line 38 of file FastSimScintCalo.cxx.

39 {
40 
41 }

Member Function Documentation

void FastSimScintCalo::Draw ( EventRecord event)

Definition at line 48 of file FastSimScintCalo.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 FastSimScintCalo::SetEmbeddedCanvas ( TRootEmbeddedCanvas *  ec)

Definition at line 43 of file FastSimScintCalo.cxx.

References fEmbeddedCanvas.

44 {
45  fEmbeddedCanvas = ec;
46 }

Member Data Documentation

TRootEmbeddedCanvas* genie::masterclass::FastSimScintCalo::fEmbeddedCanvas
private

Definition at line 36 of file FastSimScintCalo.h.

Referenced by Draw(), and SetEmbeddedCanvas().


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