26 std::vector<std::string> hybridStrings={};
35 auto mod = std::to_string(rawSvtHit->
getModule());
36 auto lay = std::to_string(rawSvtHit->
getLayer());
39 char char_array[helper.length()+1];
40 std::strcpy(char_array,helper.c_str());
41 int feb = (int)char_array[1]-48;
42 int hyb = (int)char_array[3]-48;
44 histokey =
swTag +
"_SvtHybrids_getFitN_h";
47 histokey =
swTag +
"_SvtHybrids_T0_h";
59 histokey =
swTag +
"_SvtHybrids_Am_h";
61 histokey =
swTag +
"_SvtHybrids_Chi_Sqr_h";
64 histokey =
swTag +
"_SvtHybrids_ADCcount_hh";
65 int * adcs=rawSvtHit->
getADCs();
67 for(
unsigned int K=0; K<6; K++){
68 if(maxx<adcs[K]){maxx=adcs[K];}
72 for(
unsigned int K=1; K<6; K++){
87 histokey =
swTag +
"_SvtHybrids_ADCcountdeshift_hh";
88 for(
unsigned int K=1; K<6; K++){
90 if(std::abs(rawSvtHit->
getT0(i)+60)<25){
96 if(std::abs(rawSvtHit->
getT0(i)+60)<25){
108 histokey =
swTag +
"_SvtHybrids_T0Err_hh";
110 histokey =
swTag +
"_SvtHybrids_AmErr_hh";
113 histokey =
swTag +
"_SvtHybrids_AmT0_hh";
116 histokey =
swTag +
"_SvtHybrids_AmErrT0Err_hh";
120 histokey =
swTag +
"_SvtHybrids_AmT0Err_hh";
124 histokey =
swTag +
"_SvtHybrids_AmErrT0_hh";
129 histokey =
swTag +
"_SvtHybrids_PT1PT2_hh";
132 histokey =
swTag +
"_SvtHybrids_PT1PT2_hh";
136 if(TimeDiff==-42069){
return;}
138 histokey =
swTag +
"_SvtHybrids_TD_h";
140 histokey =
swTag +
"_SvtHybrids_T0TD_hh";
142 histokey =
swTag +
"_SvtHybrids_AmErrTD_hh";
144 histokey =
swTag +
"_SvtHybrids_AmpTD_hh";
146 histokey =
swTag +
"_SvtHybrids_Amp12_hh";
148 histokey =
swTag +
"_SvtHybrids_ADTD_hh";
void FillHistograms(RawSvtHit *rawSvtHit, float weight=1., int Ireg=0, unsigned int nhit=0, Float_t TimeDiff=-42069.0, Float_t AmpDiff=-42069.0)