BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
corrSummator.C File Reference
#include <Rtypes.h>
#include <TChain.h>
#include <TClonesArray.h>
#include <TFile.h>
#include <TString.h>
#include <TTree.h>
#include <TVector3.h>
#include "macro/run/bmnloadlibs.C"
Include dependency graph for corrSummator.C:

Go to the source code of this file.

Functions

void ReadFileCorrections (TString, Double_t ***, Double_t ***)
void corrSummator (TString in1="it0.root", TString in2="align.root", TString out="it1.root")

Function Documentation

◆ corrSummator()

void corrSummator ( TString in1 = "it0.root",
TString in2 = "align.root",
TString out = "it1.root" )

Definition at line 14 of file corrSummator.C.

References bmnloadlibs(), TTree::Branch(), TFile::Close(), corrSummator(), TTree::Fill(), GEM, TObjArray::GetEntriesFast(), BmnSiliconStation::GetNModules(), BmnSiliconStationSet::GetNStations(), BmnSiliconStationSet::GetSiliconStation(), ReadFileCorrections(), and TTree::Write().

Referenced by corrSummator().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadFileCorrections()

void ReadFileCorrections ( TString fname,
Double_t *** corrGEM,
Double_t *** corrSI )

Definition at line 95 of file corrSummator.C.

References TChain::Add(), TString::Data(), BmnAlignCorrections::GetCorrections(), TChain::GetEntries(), TObjArray::GetEntriesFast(), TChain::GetEntry(), BmnGemAlignCorrections::GetModule(), BmnSiliconAlignCorrections::GetModule(), BmnGemAlignCorrections::GetStation(), BmnSiliconAlignCorrections::GetStation(), TChain::SetBranchAddress(), TObjArray::UncheckedAt(), TVector3::X(), TVector3::Y(), and TVector3::Z().

Referenced by corrSummator().

Here is the call graph for this function:
Here is the caller graph for this function: