Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:12:45

0001 #ifndef CONSTANTS_H
0002 #define CONSTANTS_H
0003 
0004 #include <vector>
0005 #include <string>
0006 #include <map>
0007 
0008 namespace Constants{
0009     extern std::vector<double> centrality_edges;
0010     extern std::map<int, std::string> centrality_text;
0011     extern std::map<int, double> centrality_Hist_Ymax;
0012 
0013     // note : vtxZQA
0014     extern std::pair<double, double> cut_vtxZDiff; // note : MBDz - INTTz
0015     extern std::pair<double, double> cut_TrapezoidalFitWidth;
0016     extern std::pair<double, double> cut_TrapezoidalFWHM;
0017     extern std::pair<double, double> cut_INTTvtxZError;
0018 
0019     // note : for analysis
0020     extern std::pair<double, double> cut_GlobalMBDvtxZ;
0021     extern std::pair<double, double> cut_AnaVtxZ;
0022 
0023     extern int cut_InttBcoFullDIff_next;
0024 
0025     extern int Semi_inclusive_bin;
0026     extern int Semi_inclusive_interval; // note : 70, for example
0027 
0028     extern int HighNClus;
0029 
0030     extern double VtxZEdge_min;
0031     extern double VtxZEdge_max;
0032     extern int nVtxZBin;
0033 
0034     extern double cut_GoodRecoVtxZ; // note : cm
0035 
0036     extern int nZbin;
0037     extern double Zmin;
0038     extern double Zmax;
0039 
0040     // note : almost no change
0041     extern double EtaEdge_min;
0042     extern double EtaEdge_max;
0043     extern int nEtaBin;
0044 
0045 
0046     //  note : below should never be changed
0047     extern double typeA_sensor_half_length_incm; // note : [cm]
0048     extern double typeB_sensor_half_length_incm; // note : [cm] 
0049 
0050     extern int B0L0_index;
0051     extern int B0L1_index;
0052     extern int B1L0_index;
0053     extern int B1L1_index;
0054     extern int nLadder_inner;
0055     extern int nLadder_outer;
0056 }
0057 
0058 #endif