GENIEGenerator
Loading...
Searching...
No Matches
FastSimCherenkov.cxx
Go to the documentation of this file.
1//____________________________________________________________________________
2/*
3 Copyright (c) 2003-2025, The GENIE Collaboration
4 For the full text of the license visit http://copyright.genie-mc.org
5
6 Costas Andreopoulos <c.andreopoulos \at cern.ch>
7 University of Liverpool
8*/
9//____________________________________________________________________________
10
11#include <sstream>
12#include <string>
13#include <vector>
14
15#include <TRootEmbeddedCanvas.h>
16#include <TLorentzVector.h>
17#include <TLine.h>
18#include <TEllipse.h>
19#include <TLatex.h>
20#include <TCanvas.h>
21#include <TStyle.h>
22
27
28using namespace genie;
29using namespace genie::masterclass;
30
31//______________________________________________________________________________
36//______________________________________________________________________________
41//______________________________________________________________________________
42void FastSimCherenkov::SetEmbeddedCanvas(TRootEmbeddedCanvas * ec)
43{
44 fEmbeddedCanvas = ec;
45}
46//______________________________________________________________________________
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}
64//______________________________________________________________________________
#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
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition EventRecord.h:37
void SetEmbeddedCanvas(TRootEmbeddedCanvas *ec)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25