AliPhysics  5364b50 (5364b50)
MergeThirdSMfilesIntoOne.C File Reference

MergeThirdSMfilesIntoOne. More...

#include <signal.h>
#include <stdio.h>
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <iosfwd>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <map>
#include <utility>
#include <iterator>
#include <TSystem.h>
#include <TApplication.h>
#include <TChain.h>
#include <TF1.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TFile.h>
#include <TCanvas.h>
#include <TFrame.h>
#include <TPostScript.h>
#include <TLine.h>
#include <TGaxis.h>
#include <TStyle.h>
#include <TGraphErrors.h>
#include <TMath.h>
#include <TMatrixF.h>
#include <TText.h>
Include dependency graph for MergeThirdSMfilesIntoOne.C:

Go to the source code of this file.

Namespaces

 std
 

Enumerations

enum  detType {
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird,
  kEMCAL, kEMCALthird, kDCAL, kDCALthird
}
 

Functions

void MergeThirdSMfilesIntoOne ()
 

Variables

const double kMaxHV = 395.
 
const double kMinHV = 210.
 
const double coefFactorWanted =0.0162
 
char SMP2Name [][100] ={"SMA0","SMC0","SMA1","SMC1","SMA2","SMC2","SMA3","SMC3","SMA4","SMC4","SMA5","SMC5","SMA9","SMC9","SMA10","SMC10","SMA11","SMC11","SMA12","SMC12"}
 
char SMcalibName [][100] ={"US2","US1","EU2","EU1","US3","US5","US4","EU3","US7","US6","US8C0","US8C2","DCN1","DJP1","DUS2","DUS1","DJP2","DUS3","CN1A","CN1C"}
 
char SMnumber [][100] ={"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"}
 
int detTypeType [] ={kEMCAL,kEMCALthird,kDCAL,kDCALthird}
 
char detTypeString [][100] ={"EMCAL","EMCALthird","DCAL","DCALthird"}
 
int SMdetType [] ={kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCAL,kEMCALthird,kEMCALthird,kDCAL,kDCAL,kDCAL,kDCAL,kDCAL,kDCAL,kDCALthird,kDCALthird}
 
const int kNbColEMCAL =48
 
const int kNbRowEMCAL =24
 
const int kNbSMEMCAL =10
 
const int kNbColEMCALthird =kNbColEMCAL
 
const int kNbRowEMCALthird =(int)(kNbRowEMCAL/3)
 
const int kNbSMEMCALthird =2
 
const int kNbColDCAL =32
 
const int kNbRowDCAL =kNbRowEMCAL
 
const int kNbSMDCAL =6
 
const int kNbColDCALthird =kNbColEMCALthird
 
const int kNbRowDCALthird =kNbRowEMCALthird
 
const int kNbSMDCALthird =2
 
const int kNbSMtot =kNbSMEMCAL+kNbSMEMCALthird+kNbSMDCAL+kNbSMDCALthird
 
const int kTabNbCol [4] ={kNbColEMCAL,kNbColEMCALthird,kNbColDCAL,kNbColDCALthird}
 
const int kTabNbRow [4] ={kNbRowEMCAL,kNbRowEMCALthird,kNbRowDCAL,kNbRowDCALthird}
 
const int kTabNbSM [4] ={kNbSMEMCAL,kNbSMEMCALthird,kNbSMDCAL,kNbSMDCALthird}
 
const int kNbColMax =kNbColEMCAL
 
const int kNbRowMax =kNbRowEMCAL
 
const int kNbColOffsetDCAL =kNbColEMCAL-kNbColDCAL
 
int lastSM
 

Detailed Description

MergeThirdSMfilesIntoOne.

How to run :

root -b -q 'MergeThirdSMfilesIntoOne.C++()'

Author
Julien Faivre, Julie.nosp@m.n.Fa.nosp@m.ivre@.nosp@m.cern.nosp@m..ch, (LPSC-CNRS)

Definition in file MergeThirdSMfilesIntoOne.C.

Enumeration Type Documentation

enum detType
Enumerator
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 
kEMCAL 
kEMCALthird 
kDCAL 
kDCALthird 

Definition at line 54 of file MergeThirdSMfilesIntoOne.C.

Function Documentation

void MergeThirdSMfilesIntoOne ( )

Main

Definition at line 96 of file MergeThirdSMfilesIntoOne.C.

Variable Documentation

const double coefFactorWanted =0.0162

Definition at line 46 of file MergeThirdSMfilesIntoOne.C.

char detTypeString[][100] ={"EMCAL","EMCALthird","DCAL","DCALthird"}

Definition at line 56 of file MergeThirdSMfilesIntoOne.C.

int detTypeType[] ={kEMCAL,kEMCALthird,kDCAL,kDCALthird}

Definition at line 55 of file MergeThirdSMfilesIntoOne.C.

const double kMaxHV = 395.

Definition at line 44 of file MergeThirdSMfilesIntoOne.C.

const double kMinHV = 210.

Definition at line 45 of file MergeThirdSMfilesIntoOne.C.

const int kNbColDCAL =32

Definition at line 64 of file MergeThirdSMfilesIntoOne.C.

const int kNbColDCALthird =kNbColEMCALthird

Definition at line 67 of file MergeThirdSMfilesIntoOne.C.

const int kNbColEMCAL =48

Definition at line 58 of file MergeThirdSMfilesIntoOne.C.

const int kNbColEMCALthird =kNbColEMCAL

Definition at line 61 of file MergeThirdSMfilesIntoOne.C.

Referenced by MergeThirdSMfilesIntoOne().

const int kNbColMax =kNbColEMCAL

Definition at line 74 of file MergeThirdSMfilesIntoOne.C.

Referenced by MergeThirdSMfilesIntoOne().

const int kNbColOffsetDCAL =kNbColEMCAL-kNbColDCAL

Definition at line 76 of file MergeThirdSMfilesIntoOne.C.

const int kNbRowDCAL =kNbRowEMCAL

Definition at line 65 of file MergeThirdSMfilesIntoOne.C.

const int kNbRowDCALthird =kNbRowEMCALthird

Definition at line 68 of file MergeThirdSMfilesIntoOne.C.

const int kNbRowEMCAL =24

Definition at line 59 of file MergeThirdSMfilesIntoOne.C.

const int kNbRowEMCALthird =(int)(kNbRowEMCAL/3)

Definition at line 62 of file MergeThirdSMfilesIntoOne.C.

Referenced by MergeThirdSMfilesIntoOne().

const int kNbRowMax =kNbRowEMCAL

Definition at line 75 of file MergeThirdSMfilesIntoOne.C.

Referenced by MergeThirdSMfilesIntoOne().

const int kNbSMDCAL =6

Definition at line 66 of file MergeThirdSMfilesIntoOne.C.

const int kNbSMDCALthird =2

Definition at line 69 of file MergeThirdSMfilesIntoOne.C.

const int kNbSMEMCAL =10

Definition at line 60 of file MergeThirdSMfilesIntoOne.C.

const int kNbSMEMCALthird =2

Definition at line 63 of file MergeThirdSMfilesIntoOne.C.

Definition at line 70 of file MergeThirdSMfilesIntoOne.C.

Definition at line 71 of file MergeThirdSMfilesIntoOne.C.

Definition at line 72 of file MergeThirdSMfilesIntoOne.C.

Definition at line 73 of file MergeThirdSMfilesIntoOne.C.

int lastSM

Definition at line 78 of file MergeThirdSMfilesIntoOne.C.

char SMcalibName[][100] ={"US2","US1","EU2","EU1","US3","US5","US4","EU3","US7","US6","US8C0","US8C2","DCN1","DJP1","DUS2","DUS1","DJP2","DUS3","CN1A","CN1C"}

Definition at line 51 of file MergeThirdSMfilesIntoOne.C.

char SMnumber[][100] ={"0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"}

Definition at line 52 of file MergeThirdSMfilesIntoOne.C.

char SMP2Name[][100] ={"SMA0","SMC0","SMA1","SMC1","SMA2","SMC2","SMA3","SMC3","SMA4","SMC4","SMA5","SMC5","SMA9","SMC9","SMA10","SMC10","SMA11","SMC11","SMA12","SMC12"}

Definition at line 50 of file MergeThirdSMfilesIntoOne.C.