FastSimCherenkov.cxx
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*
3  Copyright (c) 2003-2020, The GENIE Collaboration
4  For the full text of the license visit http://copyright.genie-mc.org
5 
6  Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
7  University of Liverpool & STFC Rutherford Appleton Laboratory
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 
28 using namespace genie;
29 using namespace genie::masterclass;
30 
31 //______________________________________________________________________________
33 {
34 
35 }
36 //______________________________________________________________________________
38 {
39 
40 }
41 //______________________________________________________________________________
42 void 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 //______________________________________________________________________________
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
#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
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition: EventRecord.h:37
void SetEmbeddedCanvas(TRootEmbeddedCanvas *ec)