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 <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 <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

Sep 22, 2010

Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 29 of file FastSimCherenkov.h.

Constructor & Destructor Documentation

FastSimCherenkov::FastSimCherenkov ( )

Definition at line 32 of file FastSimCherenkov.cxx.

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

Definition at line 37 of file FastSimCherenkov.cxx.

38 {
39 
40 }

Member Function Documentation

void FastSimCherenkov::Draw ( EventRecord event)

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

Definition at line 42 of file FastSimCherenkov.cxx.

43 {
44  fEmbeddedCanvas = ec;
45 }

Member Data Documentation

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

Definition at line 36 of file FastSimCherenkov.h.


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