Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:14:01

0001 #pragma once
0002 
0003 //////////////////////////////////////////////////////////////////////////////////////////
0004 // Important variables ///////////////////////////////////////////////////////////////////
0005 //////////////////////////////////////////////////////////////////////////////////////////
0006 const unsigned int kFelix_num = 8;
0007 const unsigned int kLadders_in_felix_num = 14;
0008 const unsigned int kLadders_in_roc_num = 7;
0009 const unsigned int kChip_num = 26;
0010 const unsigned int kCh_num = 128;
0011 
0012 const int kFirst_physics_run = 43215; // Data directories in lustre was changed at some point. This is the first run under /sphenix/lustre01/sphnxpro/physics
0013 
0014 //////////////////////////////////////////////////////////////////////////////////////////
0015 // Paths /////////////////////////////////////////////////////////////////////////////////
0016 //////////////////////////////////////////////////////////////////////////////////////////
0017 const string kIntt_commissioning_evt_dir = "/sphenix/lustre01/sphnxpro/commissioning/INTT/";  
0018 const string kIntt_physics_evt_dir = "/sphenix/lustre01/sphnxpro/physics/INTT/";  
0019 string kIntt_evt_dir = kIntt_physics_evt_dir;
0020 
0021 const string kOfficial_Dst_dir = "/sphenix/lustre01/sphnxpro/commissioning/slurp/";
0022 const string kOfficial_physics_Dst_dir = "/sphenix/lustre01/sphnxpro/physics/slurp/streaming/physics/";
0023 
0024 const unsigned int kRun_type_num = 7;
0025 const string kRun_types[ kRun_type_num ] = { "physics", "cosmics", "beam", "calib", "pedestal", "junk", "intt" };
0026 
0027 const unsigned int kYear = 2024;
0028 const string kIntt_data_dir = "/sphenix/tg/tg01/commissioning/INTT/data/";
0029 const string kIntt_dst_dir  = kIntt_data_dir + "dst_files/" + to_string( kYear ) + "/";
0030 const string kIntt_root_dir = kIntt_data_dir + "root_files/" + to_string( kYear ) + "/";
0031 const string kIntt_cdb_dir  = kIntt_data_dir + "CDB_files/" + to_string( kYear ) + "/";
0032 const string kIntt_hot_ch_cdb_dir = kIntt_cdb_dir + "hot_ch_map/";
0033 const string kIntt_bco_diff_cdb_dir = kIntt_cdb_dir + "bco_diff_map/";
0034 
0035 /*
0036 const string kIntt_qa_dir   = "/sphenix/tg/tg01/commissioning/INTT/QA/";
0037 const string kIntt_hitmap_dir   = kIntt_qa_dir + "hitmap/" + to_string( kYear ) + "/";
0038 const string kIntt_hotmap_dir   = kIntt_qa_dir + "hotdeadmap/" + to_string( kYear ) + "/";
0039 const string kIntt_qa_cosmics_dir = kIntt_qa_dir + "cosmics/" + to_string( kYear ) + "/";
0040 */
0041 const string kIntt_qa_dir   = "/sphenix/tg/tg01/commissioning/INTT/QA/";
0042 const string kIntt_hitmap_dir   = kIntt_qa_dir + "hitmap/" + to_string( kYear ) + "/";
0043 const string kIntt_hotmap_dir   = kIntt_qa_dir + "hotdeadmap/";
0044 const string kIntt_qa_hotmap_dir= kIntt_qa_dir + "hotdeadmap/";
0045 const string kIntt_qa_cosmics_dir = kIntt_qa_dir + "cosmics/";
0046 const string kIntt_qa_bco_diff_dir = kIntt_qa_dir + "bco_bcofull_difference/";// plots/2024/
0047 
0048 //////////////////////////////////////////////////////////////////////////////////////////
0049 // Misc /////////////////////////////////////////////////////////////////////////////////
0050 //////////////////////////////////////////////////////////////////////////////////////////
0051 const int kEvent_num_per_dst = 250;