GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 <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 <c.andreopoulos cern.ch> University of Liverpool
Created:
Sep 22, 2010
License:
Copyright (c) 2003-2024, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 29 of file FastSimScintCalo.h.

Constructor & Destructor Documentation

FastSimScintCalo::FastSimScintCalo ( )

Definition at line 32 of file FastSimScintCalo.cxx.

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

Definition at line 37 of file FastSimScintCalo.cxx.

38 {
39 
40 }

Member Function Documentation

void FastSimScintCalo::Draw ( EventRecord event)

Definition at line 47 of file FastSimScintCalo.cxx.

References LOG, and pINFO.

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

Definition at line 42 of file FastSimScintCalo.cxx.

43 {
44  fEmbeddedCanvas = ec;
45 }

Member Data Documentation

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

Definition at line 38 of file FastSimScintCalo.h.


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