Berkeley Nuclear Data Software
Functions | Variables
buildIncomingTOFHists.cpp File Reference
#include "GenesisAnalysis.h"
#include "TString.h"
#include "TFile.h"
#include "TROOT.h"
#include <cstdint>
#include <cstring>
#include <string>
#include <fstream>
#include <iostream>
#include <map>
#include <sstream>
#include <vector>
#include <string.h>
#include "TChain.h"
#include "TH1.h"
#include "TTree.h"
#include "TKey.h"
#include "Riostream.h"
Include dependency graph for buildIncomingTOFHists.cpp:

Functions

void MergeRootfile (TDirectory *target, TList *sourcelist)
 
int main (int argc, char *argv[])
 

Variables

TList * FileList
 
TFile * Target
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

This executable creates a file with incoming TOF histograms incoming TOF = TDC - RF These are uncalibrated (not in real time space) Histograms made: For each Scint, TDC - RF vs. light for:

  • All events
  • "Neutron" events [PSD cut]
  • "Gamma" events For each gamma detector (each leaf, PopTop, LaBr):
  • TDC - RF vs energy
  • TDC - BGO vs energy For each board:
  • Time between RF's vs. RF multiplicity
  • RF - trigger vs RF multiplicty

hard coded for SCP Mod ID - fix

Here is the call graph for this function:

◆ MergeRootfile()

void MergeRootfile ( TDirectory *  target,
TList *  sourcelist 
)

!if the object is a tree, it is stored in globChain...

Variable Documentation

◆ FileList

TList* FileList

This function will add histograms from a list of root files and write them to a target root file.

◆ Target

TFile* Target