WCSim
Functions | Variables
plot_pmts.C File Reference
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include "TTree.h"
#include "TGraph.h"
#include "TEllipse.h"
#include "TH1F.h"
#include "THStack.h"
#include "TH1D.h"
#include "TStyle.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TCanvas.h"
#include "TFile.h"
#include "WCSimRootOptions.hh"
#include "WCSimRootGeom.hh"
#include "WCSimRootEvent.hh"
Include dependency graph for plot_pmts.C:

Go to the source code of this file.

Functions

int display (int verbose, const char *filename)
 
TGraph * MakeGraph (vector< pair< double, double > > v, int col, int style, const float size=1.5)
 
double GetAzimuth (double x, double y)
 
void PrintPMT (const WCSimRootPMT *tube, const int ipmt)
 
void DumpGeoTree (WCSimRootGeom *geo, TCanvas *c, int verbose)
 
int plot_pmts (int verbose=0, const char *filename="wcsim.root")
 

Variables

std::string CycLocs [9]
 

Function Documentation

◆ display()

int display ( int  verbose,
const char *  filename 
)

◆ DumpGeoTree()

void DumpGeoTree ( WCSimRootGeom geo,
TCanvas *  c,
int  verbose 
)

Definition at line 104 of file plot_pmts.C.

◆ GetAzimuth()

double GetAzimuth ( double  x,
double  y 
)

Definition at line 60 of file plot_pmts.C.

◆ MakeGraph()

TGraph* MakeGraph ( vector< pair< double, double > >  v,
int  col,
int  style,
const float  size = 1.5 
)

Definition at line 45 of file plot_pmts.C.

◆ plot_pmts()

int plot_pmts ( int  verbose = 0,
const char *  filename = "wcsim.root" 
)

Definition at line 292 of file plot_pmts.C.

◆ PrintPMT()

void PrintPMT ( const WCSimRootPMT tube,
const int  ipmt 
)

Definition at line 73 of file plot_pmts.C.

Variable Documentation

◆ CycLocs

std::string CycLocs[9]
Initial value:
= {"ID top cap",
"ID barrel",
"ID bottom cap",
"OD bottom cap",
"OD barrel",
"OD top cap",
"mPMT top cap",
"mPMT barrel",
"mPMT bottom cap"}

Definition at line 94 of file plot_pmts.C.