BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CreateMapTof400_Run9.C File Reference
#include "Riostream.h"
#include "TString.h"
#include <TMath.h>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
Include dependency graph for CreateMapTof400_Run9.C:

Go to the source code of this file.

Functions

TString convertUIntToFilename (UInt_t hexValue)
void FillInlList (std::string mappp)
void FillPlacementMap (std::string mappp)
Int_t GetSlot (Int_t number)
Int_t GetCon (Int_t number)
Int_t GetDet (Int_t number)
Int_t GetSide (Int_t number)
void CreateMapTof400_Run9 (std::string placementMapFile="TOF400_PlaceMap_RUN9.txt", std::string mapFile="TOF400_StripMap_RUN9.txt", std::string inlFile="ListINLFiles_Run9.txt")

Variables

fstream ff
fstream ffStrip
static const Int_t kNIt = 4
static const Int_t kNDet = 10
static const Int_t kNSlot = 23
UInt_t crate
UInt_t slot [kNSlot] = {0}

Function Documentation

◆ convertUIntToFilename()

TString convertUIntToFilename ( UInt_t hexValue)

Definition at line 32 of file CreateMapTof400_Run9.C.

References TString::Format().

Referenced by FillInlList().

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

◆ CreateMapTof400_Run9()

void CreateMapTof400_Run9 ( std::string placementMapFile = "TOF400_PlaceMap_RUN9.txt",
std::string mapFile = "TOF400_StripMap_RUN9.txt",
std::string inlFile = "ListINLFiles_Run9.txt" )

Definition at line 101 of file CreateMapTof400_Run9.C.

References crate, ffStrip, FillInlList(), FillPlacementMap(), GetCon(), GetDet(), GetSide(), GetSlot(), i, kNDet, kNIt, memset(), and slot.

Here is the call graph for this function:

◆ FillInlList()

void FillInlList ( std::string mappp)

Definition at line 45 of file CreateMapTof400_Run9.C.

References convertUIntToFilename(), TString::Data(), ff, i, kNSlot, and slot.

Referenced by CreateMapTof400_Run9().

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

◆ FillPlacementMap()

void FillPlacementMap ( std::string mappp)

Definition at line 60 of file CreateMapTof400_Run9.C.

References crate, ff, i, kNSlot, and slot.

Referenced by CreateMapTof400_Run9().

Here is the caller graph for this function:

◆ GetCon()

Int_t GetCon ( Int_t number)

Definition at line 83 of file CreateMapTof400_Run9.C.

References GetSlot().

Referenced by CreateMapTof400_Run9(), GetDet(), and GetSide().

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

◆ GetDet()

Int_t GetDet ( Int_t number)

Definition at line 89 of file CreateMapTof400_Run9.C.

References GetCon(), and GetSlot().

Referenced by CreateMapTof400_Run9(), and GetSide().

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

◆ GetSide()

Int_t GetSide ( Int_t number)

Definition at line 95 of file CreateMapTof400_Run9.C.

References GetCon(), GetDet(), and GetSlot().

Referenced by CreateMapTof400_Run9().

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

◆ GetSlot()

Int_t GetSlot ( Int_t number)

Definition at line 77 of file CreateMapTof400_Run9.C.

Referenced by CreateMapTof400_Run9(), GetCon(), GetDet(), and GetSide().

Here is the caller graph for this function:

Variable Documentation

◆ crate

◆ ff

◆ ffStrip

◆ kNDet

◆ kNIt

◆ kNSlot

◆ slot