Belle II Software  release-08-01-10
TRGTOPUnpackerStore.cc
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #include "trg/top/dataobjects/TRGTOPUnpackerStore.h"
10 
11 //using namespace std;
12 using namespace Belle2;
13 
14 void TRGTOPUnpackerStore::setEventIdL1(int eventIdL1) { m_eventIdL1 = eventIdL1; }
15 void TRGTOPUnpackerStore::setEventIdTOP(int eventIdTOP) { m_eventIdTOP = eventIdTOP; }
16 void TRGTOPUnpackerStore::setWindowIdTOP(int windowIdTOP) { m_windowIdTOP = windowIdTOP; }
17 void TRGTOPUnpackerStore::setRvcB2L(int rvcB2L) { m_rvcB2L = rvcB2L; }
18 void TRGTOPUnpackerStore::setRvcWindow(int rvcWindow) { m_rvcWindow = rvcWindow; }
19 void TRGTOPUnpackerStore::setRvcTopTimingDecisionPrev(int rvcTopTimingDecisionPrev) { m_rvcTopTimingDecisionPrev = rvcTopTimingDecisionPrev; }
20 void TRGTOPUnpackerStore::setRvcTopTimingDecisionNow(int rvcTopTimingDecisionNow) { m_rvcTopTimingDecisionNow = rvcTopTimingDecisionNow; }
21 void TRGTOPUnpackerStore::setRvcTopTimingDecisionNowGdl(int rvcTopTimingDecisionNowGdl) { m_rvcTopTimingDecisionNowGdl = rvcTopTimingDecisionNowGdl; }
22 void TRGTOPUnpackerStore::setCombinedTimingTop(int combinedTimingTop) { m_combinedTimingTop = combinedTimingTop; }
23 void TRGTOPUnpackerStore::setNSlotsCombinedTimingTop(int nSlotsCombinedTimingTop) { m_nSlotsCombinedTimingTop = nSlotsCombinedTimingTop; }
24 void TRGTOPUnpackerStore::setCombinedTimingTopResidual(int combinedTimingTopResidual) { m_combinedTimingTopResidual = combinedTimingTopResidual; }
25 void TRGTOPUnpackerStore::setNErrorsMinor(int nErrorsMinor) { m_nErrorsMinor = nErrorsMinor; }
26 void TRGTOPUnpackerStore::setNErrorsMajor(int nErrorsMajor) { m_nErrorsMajor = nErrorsMajor; }
27 void TRGTOPUnpackerStore::setTrigType(int trigType) { m_trigType = trigType; }
28 void TRGTOPUnpackerStore::setNHitSum(int nHitSum) { m_nHitSum = nHitSum; }
29 void TRGTOPUnpackerStore::setLogLSum(int logLSum) { m_logLSum = logLSum; }
30 void TRGTOPUnpackerStore::setLogLVar(int logLVar) { m_logLVar = logLVar; }
31 void TRGTOPUnpackerStore::setTimingVar(int timingVar) { m_timingVar = timingVar; }
32 //void TRGTOPUnpackerStore::set(int ) { m_ = ; }
33 
34 void TRGTOPUnpackerStore::setSlotTimingDecision(TRGTOPSlotTiming slotTiming) { m_slotTimingDecisions.push_back(slotTiming); }
35 
36 // no longer needed (in ROOT v6)
37 //ClassImp(TRGTOPUnpackerStore)
38 
39 
40 
int m_rvcTopTimingDecisionNowGdl
rvc of the current TOP timing decision sent to GDL
int m_nSlotsCombinedTimingTop
number of slots used for combined decision
std::vector< TRGTOPSlotTiming > m_slotTimingDecisions
vector of slot-level timing decisions
int m_rvcWindow
rvc of the current window
int m_rvcTopTimingDecisionNow
rvc of the current TOP timing decision
int m_combinedTimingTopResidual
t0 residual (between actual and estimated timing decisions)
int m_eventIdTOP
TOP decision's event id.
int m_timingVar
timing variance (among slots)
int m_rvcB2L
rvc at the time when B2L buffer was sent out
int m_windowIdTOP
Window number for TOP decision.
int m_rvcTopTimingDecisionPrev
rvc of previous TOP timing decision
int m_nHitSum
N hit sum (over slots)
int m_nErrorsMajor
the number of major errors observed during unpacking
int m_nErrorsMinor
the number of minor errors observed during unpacking
int m_logLSum
logL sum (over slots)
int m_logLVar
logL variance (among slots)
Abstract base class for different kinds of events.