WCSim
Functions
complete_comparison.C File Reference
#include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <TFile.h>
#include <TTree.h>
#include <TSystem.h>
#include <TMath.h>
#include "WCSimRootGeom.hh"
#include "WCSimRootEvent.hh"
#include "WCSimRootOptions.hh"
Include dependency graph for complete_comparison.C:

Go to the source code of this file.

Functions

void PrintHeaderInfo (WCSimRootEvent *wcsimrootsuperevent, const char *filename)
 
void PrintGeomSummary (WCSimRootGeom *geo, const char *filename)
 
TTree * GetTree (const char *filename, const char *treename)
 
WCSimRootEventGetRootEvent (TTree *wcsimT, int &nevent)
 
WCSimRootGeomGetRootGeom (TTree *wcsimT, int &nevent)
 
void complete_comparison (const char *filename1, const char *filename2, string treename="wcsimT", bool verbose=false, const Long64_t oneevent=-1)
 

Function Documentation

◆ complete_comparison()

void complete_comparison ( const char *  filename1,
const char *  filename2,
string  treename = "wcsimT",
bool  verbose = false,
const Long64_t  oneevent = -1 
)

Definition at line 101 of file complete_comparison.C.

◆ GetRootEvent()

WCSimRootEvent* GetRootEvent ( TTree *  wcsimT,
int &  nevent 
)

Definition at line 77 of file complete_comparison.C.

◆ GetRootGeom()

WCSimRootGeom* GetRootGeom ( TTree *  wcsimT,
int &  nevent 
)

Definition at line 91 of file complete_comparison.C.

◆ GetTree()

TTree* GetTree ( const char *  filename,
const char *  treename 
)

Definition at line 60 of file complete_comparison.C.

◆ PrintGeomSummary()

void PrintGeomSummary ( WCSimRootGeom geo,
const char *  filename 
)

Definition at line 50 of file complete_comparison.C.

◆ PrintHeaderInfo()

void PrintHeaderInfo ( WCSimRootEvent wcsimrootsuperevent,
const char *  filename 
)

Definition at line 23 of file complete_comparison.C.