CGEM BOSS 6.6.5.h
BESIII Offline Software System
|
#include <CgemLUTReader.h>
Public Member Functions | |
CgemLUTReader () | |
CgemLUTReader (TString name) | |
~CgemLUTReader () | |
bool | ReadLUT () |
std::map< int, int > * | GetMap (int ilayer, int isheet, int iview) |
bool | LoadStripInfo (int ilayer, int isheet, int iview, int istrip) |
int | GetROC (int ilayer, int isheet, int iview, int istrip) |
int | GetTIGER (int ilayer, int isheet, int iview, int istrip) |
int | GetFEB (int ilayer, int isheet, int iview, int istrip) |
int | GetChip (int ilayer, int isheet, int iview, int istrip) |
int | GetChannel (int ilayer, int isheet, int iview, int istrip) |
int | GetLayer (int ilayer, int isheet, int iview, int istrip) |
int | GetSheet (int ilayer, int isheet, int iview, int istrip) |
int | GetSide (int ilayer, int isheet, int iview, int istrip) |
int | GetStrip_x_GRAAL (int ilayer, int isheet, int iview, int istrip) |
int | GetStrip_v_GRAAL (int ilayer, int isheet, int iview, int istrip) |
int | GetStrip_x_BOSS (int ilayer, int isheet, int iview, int istrip) |
int | GetStrip_v_BOSS (int ilayer, int isheet, int iview, int istrip) |
float | GetCalib_QCD_slope (int ilayer, int isheet, int iview, int istrip) |
float | GetCalib_QCD_const (int ilayer, int isheet, int iview, int istrip) |
float | GetCalib_QCD_saturation (int ilayer, int isheet, int iview, int istrip) |
float | GetV_thr_T_mV (int ilayer, int isheet, int iview, int istrip) |
float | GetV_thr_E_mV (int ilayer, int isheet, int iview, int istrip) |
float | Get_thr_T_fC (int ilayer, int isheet, int iview, int istrip) |
float | Get_thr_E_fC (int ilayer, int isheet, int iview, int istrip) |
float | GetBaseline_T_mV (int ilayer, int isheet, int iview, int istrip) |
float | GetBaseline_E_mV (int ilayer, int isheet, int iview, int istrip) |
float | Get_thr_fC (int ilayer, int isheet, int iview, int istrip) |
float | GetNoise_Rate_Hz (int ilayer, int isheet, int iview, int istrip) |
float | GetNoise_MeanQ_fC (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_MeanQ_fC (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_MaxQ_fC (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_Rate_Hz (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_StartTime_ns (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_StopTime_ns (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_SigmaTime_ns (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_FEBStartTime_ns (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_FEBStopTime_ns (int ilayer, int isheet, int iview, int istrip) |
float | GetSignal_FEBSigmaTime_ns (int ilayer, int isheet, int iview, int istrip) |
int | GetQuality (int ilayer, int isheet, int iview, int istrip) |
bool | PrintMap (int ilayer, int isheet, int iview) |
#define MAXLAYER 3 #define MAXSHEET 2 #define MAXVIEW 2 #define MAXSTRIP 1395 // LAYER3
Definition at line 16 of file CgemLUTReader.h.
CgemLUTReader::CgemLUTReader | ( | ) |
Definition at line 19 of file CgemLUTReader.cxx.
CgemLUTReader::CgemLUTReader | ( | TString | name | ) |
Definition at line 23 of file CgemLUTReader.cxx.
CgemLUTReader::~CgemLUTReader | ( | ) |
Definition at line 27 of file CgemLUTReader.cxx.
float CgemLUTReader::Get_thr_E_fC | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 281 of file CgemLUTReader.cxx.
float CgemLUTReader::Get_thr_fC | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 299 of file CgemLUTReader.cxx.
float CgemLUTReader::Get_thr_T_fC | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 275 of file CgemLUTReader.cxx.
Referenced by CgemCalibFunSvc::getTimeWalk().
float CgemLUTReader::GetBaseline_E_mV | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 293 of file CgemLUTReader.cxx.
float CgemLUTReader::GetBaseline_T_mV | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 287 of file CgemLUTReader.cxx.
float CgemLUTReader::GetCalib_QCD_const | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 251 of file CgemLUTReader.cxx.
float CgemLUTReader::GetCalib_QCD_saturation | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 257 of file CgemLUTReader.cxx.
float CgemLUTReader::GetCalib_QCD_slope | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 245 of file CgemLUTReader.cxx.
int CgemLUTReader::GetChannel | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 197 of file CgemLUTReader.cxx.
Referenced by TestHit::execute(), and TestTrack::execute().
int CgemLUTReader::GetChip | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 191 of file CgemLUTReader.cxx.
Referenced by TestHit::execute(), and TestTrack::execute().
int CgemLUTReader::GetFEB | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 185 of file CgemLUTReader.cxx.
Referenced by TestHit::execute(), and TestTrack::execute().
int CgemLUTReader::GetLayer | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 203 of file CgemLUTReader.cxx.
std::map< int, int > * CgemLUTReader::GetMap | ( | int | ilayer, |
int | isheet, | ||
int | iview ) |
Definition at line 145 of file CgemLUTReader.cxx.
Referenced by LoadStripInfo(), and PrintMap().
float CgemLUTReader::GetNoise_MeanQ_fC | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 311 of file CgemLUTReader.cxx.
float CgemLUTReader::GetNoise_Rate_Hz | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 305 of file CgemLUTReader.cxx.
int CgemLUTReader::GetQuality | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 371 of file CgemLUTReader.cxx.
Referenced by TestHit::execute(), and TestTrack::execute().
int CgemLUTReader::GetROC | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Setup of each LAYER readout: strip -> TIGER -> FEB -> ROC
each ROC has 4 FEB each FEB has 2 TIGER To select a strip use : layer, sheet, view and strip ID (in Cgemboss style)
More info at: https://docbes3.ihep.ac.cn/~cgem/index.php/Documentation
Definition at line 173 of file CgemLUTReader.cxx.
Referenced by TestHit::execute(), and TestTrack::execute().
int CgemLUTReader::GetSheet | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 209 of file CgemLUTReader.cxx.
int CgemLUTReader::GetSide | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 215 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_FEBSigmaTime_ns | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 365 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_FEBStartTime_ns | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 353 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_FEBStopTime_ns | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 359 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_MaxQ_fC | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 323 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_MeanQ_fC | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 317 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_Rate_Hz | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 329 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_SigmaTime_ns | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 347 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_StartTime_ns | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 335 of file CgemLUTReader.cxx.
float CgemLUTReader::GetSignal_StopTime_ns | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 341 of file CgemLUTReader.cxx.
int CgemLUTReader::GetStrip_v_BOSS | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 239 of file CgemLUTReader.cxx.
int CgemLUTReader::GetStrip_v_GRAAL | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 227 of file CgemLUTReader.cxx.
int CgemLUTReader::GetStrip_x_BOSS | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 233 of file CgemLUTReader.cxx.
int CgemLUTReader::GetStrip_x_GRAAL | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 221 of file CgemLUTReader.cxx.
int CgemLUTReader::GetTIGER | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 179 of file CgemLUTReader.cxx.
Referenced by TestHit::execute(), and TestTrack::execute().
float CgemLUTReader::GetV_thr_E_mV | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 269 of file CgemLUTReader.cxx.
float CgemLUTReader::GetV_thr_T_mV | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 263 of file CgemLUTReader.cxx.
bool CgemLUTReader::LoadStripInfo | ( | int | ilayer, |
int | isheet, | ||
int | iview, | ||
int | istrip ) |
Definition at line 160 of file CgemLUTReader.cxx.
Referenced by Get_thr_E_fC(), Get_thr_fC(), Get_thr_T_fC(), GetBaseline_E_mV(), GetBaseline_T_mV(), GetCalib_QCD_const(), GetCalib_QCD_saturation(), GetCalib_QCD_slope(), GetChannel(), GetChip(), GetFEB(), GetLayer(), GetNoise_MeanQ_fC(), GetNoise_Rate_Hz(), GetQuality(), GetROC(), GetSheet(), GetSide(), GetSignal_FEBSigmaTime_ns(), GetSignal_FEBStartTime_ns(), GetSignal_FEBStopTime_ns(), GetSignal_MaxQ_fC(), GetSignal_MeanQ_fC(), GetSignal_Rate_Hz(), GetSignal_SigmaTime_ns(), GetSignal_StartTime_ns(), GetSignal_StopTime_ns(), GetStrip_v_BOSS(), GetStrip_v_GRAAL(), GetStrip_x_BOSS(), GetStrip_x_GRAAL(), GetTIGER(), GetV_thr_E_mV(), and GetV_thr_T_mV().
bool CgemLUTReader::PrintMap | ( | int | ilayer, |
int | isheet, | ||
int | iview ) |
Definition at line 377 of file CgemLUTReader.cxx.
bool CgemLUTReader::ReadLUT | ( | ) |
Definition at line 29 of file CgemLUTReader.cxx.
Referenced by CgemCalibFunSvc::initialize(), CgemClusterCreate::initialize(), TestClusterWithHit::initialize(), TestGeometry::initialize(), TestHit::initialize(), and TestTrack::initialize().
float CgemLUTReader::baseline_E_mV |
Definition at line 184 of file CgemLUTReader.h.
Referenced by GetBaseline_E_mV(), and ReadLUT().
float CgemLUTReader::baseline_T_mV |
Definition at line 183 of file CgemLUTReader.h.
Referenced by GetBaseline_T_mV(), and ReadLUT().
float CgemLUTReader::calib_QDC_const |
Definition at line 177 of file CgemLUTReader.h.
Referenced by GetCalib_QCD_const(), and ReadLUT().
float CgemLUTReader::calib_QDC_saturation |
Definition at line 178 of file CgemLUTReader.h.
Referenced by GetCalib_QCD_saturation(), and ReadLUT().
float CgemLUTReader::calib_QDC_slope |
Definition at line 176 of file CgemLUTReader.h.
Referenced by GetCalib_QCD_slope(), and ReadLUT().
int CgemLUTReader::channel |
Definition at line 168 of file CgemLUTReader.h.
Referenced by GetChannel(), PrintMap(), and ReadLUT().
int CgemLUTReader::chip |
Definition at line 167 of file CgemLUTReader.h.
TString CgemLUTReader::CosmicRayLUTName |
Definition at line 151 of file CgemLUTReader.h.
Referenced by CgemLUTReader(), CgemLUTReader(), and ReadLUT().
int CgemLUTReader::Energy_mode |
Definition at line 204 of file CgemLUTReader.h.
Referenced by ReadLUT().
TFile* CgemLUTReader::f |
Definition at line 161 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::FEB |
Definition at line 166 of file CgemLUTReader.h.
Referenced by GetFEB(), PrintMap(), and ReadLUT().
int CgemLUTReader::First_RUN |
Definition at line 201 of file CgemLUTReader.h.
Referenced by ReadLUT().
TTree* CgemLUTReader::general |
Definition at line 200 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L1_Dr |
Definition at line 223 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L1_G1 |
Definition at line 211 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L1_G2 |
Definition at line 208 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L1_G3 |
Definition at line 205 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L1_In |
Definition at line 214 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L1_T1 |
Definition at line 220 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L1_T2 |
Definition at line 217 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L2_Dr |
Definition at line 224 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L2_G1 |
Definition at line 212 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L2_G2 |
Definition at line 209 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L2_G3 |
Definition at line 206 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L2_In |
Definition at line 215 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L2_T1 |
Definition at line 221 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L2_T2 |
Definition at line 218 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L3_Dr |
Definition at line 225 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L3_G1 |
Definition at line 213 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L3_G2 |
Definition at line 210 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L3_G3 |
Definition at line 207 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L3_In |
Definition at line 216 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L3_T1 |
Definition at line 222 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::HV_L3_T2 |
Definition at line 219 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::Integration_time |
Definition at line 203 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::Last_RUN |
Definition at line 202 of file CgemLUTReader.h.
Referenced by ReadLUT().
int CgemLUTReader::layer |
Definition at line 169 of file CgemLUTReader.h.
Referenced by GetLayer(), and ReadLUT().
std::map<int, int> CgemLUTReader::map_L1_S1_stripv_to_entry |
Definition at line 156 of file CgemLUTReader.h.
std::map<int, int> CgemLUTReader::map_L1_S1_stripx_to_entry |
Definition at line 153 of file CgemLUTReader.h.
std::map<int, int> CgemLUTReader::map_L2_S1_stripv_to_entry |
Definition at line 157 of file CgemLUTReader.h.
std::map<int, int> CgemLUTReader::map_L2_S1_stripx_to_entry |
Definition at line 154 of file CgemLUTReader.h.
std::map<int, int> CgemLUTReader::map_L2_S2_stripv_to_entry |
Definition at line 158 of file CgemLUTReader.h.
std::map<int, int> CgemLUTReader::map_L2_S2_stripx_to_entry |
Definition at line 155 of file CgemLUTReader.h.
float CgemLUTReader::noise_meanQ_fC |
Definition at line 187 of file CgemLUTReader.h.
Referenced by GetNoise_MeanQ_fC(), and ReadLUT().
float CgemLUTReader::noise_rate_Hz |
Definition at line 186 of file CgemLUTReader.h.
Referenced by GetNoise_Rate_Hz(), and ReadLUT().
int CgemLUTReader::quality |
Definition at line 197 of file CgemLUTReader.h.
Referenced by GetQuality(), and ReadLUT().
int CgemLUTReader::ROC |
Definition at line 163 of file CgemLUTReader.h.
Referenced by GetROC(), PrintMap(), and ReadLUT().
int CgemLUTReader::sheet |
Definition at line 175 of file CgemLUTReader.h.
Referenced by GetSheet(), and ReadLUT().
int CgemLUTReader::side |
Definition at line 170 of file CgemLUTReader.h.
float CgemLUTReader::signal_FEBsigmaTime_ns |
Definition at line 196 of file CgemLUTReader.h.
Referenced by GetSignal_FEBSigmaTime_ns(), and ReadLUT().
float CgemLUTReader::signal_FEBstartTime_ns |
Definition at line 194 of file CgemLUTReader.h.
Referenced by GetSignal_FEBStartTime_ns(), and ReadLUT().
float CgemLUTReader::signal_FEBstopTime_ns |
Definition at line 195 of file CgemLUTReader.h.
Referenced by GetSignal_FEBStopTime_ns(), and ReadLUT().
float CgemLUTReader::signal_maxQ_fC |
Definition at line 189 of file CgemLUTReader.h.
Referenced by GetSignal_MaxQ_fC(), and ReadLUT().
float CgemLUTReader::signal_meanQ_fC |
Definition at line 188 of file CgemLUTReader.h.
Referenced by GetSignal_MeanQ_fC(), and ReadLUT().
float CgemLUTReader::signal_rate_Hz |
Definition at line 190 of file CgemLUTReader.h.
Referenced by GetSignal_Rate_Hz(), and ReadLUT().
float CgemLUTReader::signal_sigmaTime_ns |
Definition at line 193 of file CgemLUTReader.h.
Referenced by GetSignal_SigmaTime_ns(), and ReadLUT().
float CgemLUTReader::signal_startTime_ns |
Definition at line 191 of file CgemLUTReader.h.
Referenced by GetSignal_StartTime_ns(), and ReadLUT().
float CgemLUTReader::signal_stopTime_ns |
Definition at line 192 of file CgemLUTReader.h.
Referenced by GetSignal_StopTime_ns(), and ReadLUT().
int CgemLUTReader::strip_v_boss |
Definition at line 174 of file CgemLUTReader.h.
Referenced by GetStrip_v_BOSS(), and ReadLUT().
int CgemLUTReader::strip_v_graal |
Definition at line 172 of file CgemLUTReader.h.
Referenced by GetStrip_v_GRAAL(), and ReadLUT().
int CgemLUTReader::strip_x_boss |
Definition at line 173 of file CgemLUTReader.h.
Referenced by GetStrip_x_BOSS(), and ReadLUT().
int CgemLUTReader::strip_x_graal |
Definition at line 171 of file CgemLUTReader.h.
Referenced by GetStrip_x_GRAAL(), and ReadLUT().
float CgemLUTReader::thr_E_fC |
Definition at line 182 of file CgemLUTReader.h.
Referenced by Get_thr_E_fC(), and ReadLUT().
float CgemLUTReader::thr_fC |
Definition at line 185 of file CgemLUTReader.h.
Referenced by Get_thr_fC(), and ReadLUT().
float CgemLUTReader::thr_T_fC |
Definition at line 181 of file CgemLUTReader.h.
Referenced by Get_thr_T_fC(), and ReadLUT().
int CgemLUTReader::TIGER |
Definition at line 164 of file CgemLUTReader.h.
Referenced by GetTIGER(), PrintMap(), and ReadLUT().
TTree* CgemLUTReader::tree |
Definition at line 162 of file CgemLUTReader.h.
Referenced by LoadStripInfo(), PrintMap(), and ReadLUT().
float CgemLUTReader::v_thr_E_mV |
Definition at line 180 of file CgemLUTReader.h.
Referenced by GetV_thr_E_mV(), and ReadLUT().
float CgemLUTReader::v_thr_T_mV |
Definition at line 179 of file CgemLUTReader.h.
Referenced by GetV_thr_T_mV(), and ReadLUT().