@@ -663,6 +663,8 @@ sbn::BNBSpillInfo sbn::BNBRetriever::makeBNBSpillInfo
663663 double LM875A = 0 ; // units R/s
664664 double LM875B = 0 ; // units R/s
665665 double LM875C = 0 ; // units R/s
666+ double HP873 = 0 ; // units mm
667+ double VP873 = 0 ; // units mm
666668 double HP875 = 0 ; // units mm
667669 double VP875 = 0 ; // units mm
668670 double HPTG1 = 0 ; // units mm
@@ -671,6 +673,14 @@ sbn::BNBSpillInfo sbn::BNBRetriever::makeBNBSpillInfo
671673 double VPTG2 = 0 ; // units mm
672674 double BTJT2 = 0 ; // units Deg C
673675 double THCURR = 0 ; // units kiloAmps
676+ double M875HS = 0 ; // units mm
677+ double M875VS = 0 ; // units mm
678+ double M875HM = 0 ; // units mm
679+ double M875VM = 0 ; // units mm
680+ double M876HS = 0 ; // units mm
681+ double M876VS = 0 ; // units mm
682+ double M876HM = 0 ; // units mm
683+ double M876VM = 0 ; // units mm
674684
675685 double TOR860_time = 0 ; // units s
676686
@@ -683,6 +693,8 @@ sbn::BNBSpillInfo sbn::BNBRetriever::makeBNBSpillInfo
683693 try {bfp->GetNamedData (time, " E:LM875A" ,&LM875A );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
684694 try {bfp->GetNamedData (time, " E:LM875B" ,&LM875B );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
685695 try {bfp->GetNamedData (time, " E:LM875C" ,&LM875C );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
696+ try {bfp->GetNamedData (time, " E:HP873" ,&HP873 );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
697+ try {bfp->GetNamedData (time, " E:VP873" ,&VP873 );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
686698 try {bfp->GetNamedData (time, " E:HP875" ,&HP875 );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
687699 try {bfp->GetNamedData (time, " E:VP875" ,&VP875 );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
688700 try {bfp->GetNamedData (time, " E:HPTG1" ,&HPTG1 );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
@@ -691,6 +703,14 @@ sbn::BNBSpillInfo sbn::BNBRetriever::makeBNBSpillInfo
691703 try {bfp->GetNamedData (time, " E:VPTG2" ,&VPTG2 );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
692704 try {bfp->GetNamedData (time, " E:BTJT2" ,&BTJT2 );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
693705 try {bfp->GetNamedData (time, " E:THCURR" ,&THCURR );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
706+ try {bfp->GetNamedData (time, " E:M875HS" ,&M875HS );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
707+ try {bfp->GetNamedData (time, " E:M875VS" ,&M875VS );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
708+ try {bfp->GetNamedData (time, " E:M875HM" ,&M875HM );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
709+ try {bfp->GetNamedData (time, " E:M875VM" ,&M875VM );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
710+ try {bfp->GetNamedData (time, " E:M876HS" ,&M876HS );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
711+ try {bfp->GetNamedData (time, " E:M876VS" ,&M876VS );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
712+ try {bfp->GetNamedData (time, " E:M876HM" ,&M876HM );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
713+ try {bfp->GetNamedData (time, " E:M876VM" ,&M876VM );}catch (WebAPIException &we) {mf::LogDebug (" BNBRetriever" )<< " At time : " << time << " " << " got exception: " << we.what () << " \n " ;}
694714
695715 // crunch the times
696716 unsigned long int time_closest_int = (int ) TOR860_time;
@@ -703,6 +723,8 @@ sbn::BNBSpillInfo sbn::BNBRetriever::makeBNBSpillInfo
703723 beamInfo.LM875A = LM875A ;
704724 beamInfo.LM875B = LM875B ;
705725 beamInfo.LM875C = LM875C ;
726+ beamInfo.HP873 = HP873 ;
727+ beamInfo.VP873 = VP873 ;
706728 beamInfo.HP875 = HP875 ;
707729 beamInfo.VP875 = VP875 ;
708730 beamInfo.HPTG1 = HPTG1 ;
@@ -711,6 +733,14 @@ sbn::BNBSpillInfo sbn::BNBRetriever::makeBNBSpillInfo
711733 beamInfo.VPTG2 = VPTG2 ;
712734 beamInfo.BTJT2 = BTJT2 ;
713735 beamInfo.THCURR = THCURR ;
736+ beamInfo.M875HS = M875HS ;
737+ beamInfo.M875VS = M875VS ;
738+ beamInfo.M875HM = M875HM ;
739+ beamInfo.M875VM = M875VM ;
740+ beamInfo.M876HS = M876HS ;
741+ beamInfo.M876VS = M876VS ;
742+ beamInfo.M876HM = M876HM ;
743+ beamInfo.M876VM = M876VM ;
714744 beamInfo.spill_time_s = time_closest_int;
715745 beamInfo.spill_time_ns = time_closest_ns;
716746
0 commit comments