GENIEGenerator
Loading...
Searching...
No Matches
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 \at cern.ch> University of Liverpool
Created:\n Sep 22, 2010
License:\n Copyright (c) 2003-2025, 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::FastSimScintCalo ( )

Definition at line 32 of file FastSimScintCalo.cxx.

33{
34
35}

◆ ~FastSimScintCalo()

FastSimScintCalo::~FastSimScintCalo ( )

Definition at line 37 of file FastSimScintCalo.cxx.

38{
39
40}

Member Function Documentation

◆ Draw()

void FastSimScintCalo::Draw ( EventRecord * event)

Definition at line 47 of file FastSimScintCalo.cxx.

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 pINFO
Definition Messenger.h:62
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
Definition Messenger.h:96

References fEmbeddedCanvas, LOG, and pINFO.

◆ SetEmbeddedCanvas()

void FastSimScintCalo::SetEmbeddedCanvas ( TRootEmbeddedCanvas * ec)

Definition at line 42 of file FastSimScintCalo.cxx.

43{
44 fEmbeddedCanvas = ec;
45}

References fEmbeddedCanvas.

Member Data Documentation

◆ fEmbeddedCanvas

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

Definition at line 38 of file FastSimScintCalo.h.

Referenced by Draw(), and SetEmbeddedCanvas().


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