Belle II Software development
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;
12using namespace Belle2;
13
14void TRGTOPUnpackerStore::setEventIdL1(int eventIdL1) { m_eventIdL1 = eventIdL1; }
15void TRGTOPUnpackerStore::setEventIdTOP(int eventIdTOP) { m_eventIdTOP = eventIdTOP; }
16void TRGTOPUnpackerStore::setWindowIdTOP(int windowIdTOP) { m_windowIdTOP = windowIdTOP; }
17void TRGTOPUnpackerStore::setRvcB2L(int rvcB2L) { m_rvcB2L = rvcB2L; }
18void TRGTOPUnpackerStore::setRvcWindow(int rvcWindow) { m_rvcWindow = rvcWindow; }
19void TRGTOPUnpackerStore::setRvcTopTimingDecisionPrev(int rvcTopTimingDecisionPrev) { m_rvcTopTimingDecisionPrev = rvcTopTimingDecisionPrev; }
20void TRGTOPUnpackerStore::setRvcTopTimingDecisionNow(int rvcTopTimingDecisionNow) { m_rvcTopTimingDecisionNow = rvcTopTimingDecisionNow; }
21void TRGTOPUnpackerStore::setRvcTopTimingDecisionNowGdl(int rvcTopTimingDecisionNowGdl) { m_rvcTopTimingDecisionNowGdl = rvcTopTimingDecisionNowGdl; }
22void TRGTOPUnpackerStore::setCombinedTimingTop(int combinedTimingTop) { m_combinedTimingTop = combinedTimingTop; }
23void TRGTOPUnpackerStore::setNSlotsCombinedTimingTop(int nSlotsCombinedTimingTop) { m_nSlotsCombinedTimingTop = nSlotsCombinedTimingTop; }
24void TRGTOPUnpackerStore::setCombinedTimingTopResidual(int combinedTimingTopResidual) { m_combinedTimingTopResidual = combinedTimingTopResidual; }
25void TRGTOPUnpackerStore::setNErrorsMinor(int nErrorsMinor) { m_nErrorsMinor = nErrorsMinor; }
26void TRGTOPUnpackerStore::setNErrorsMajor(int nErrorsMajor) { m_nErrorsMajor = nErrorsMajor; }
27void TRGTOPUnpackerStore::setTrigType(int trigType) { m_trigType = trigType; }
28void TRGTOPUnpackerStore::setNHitSum(int nHitSum) { m_nHitSum = nHitSum; }
29void TRGTOPUnpackerStore::setLogLSum(int logLSum) { m_logLSum = logLSum; }
30void TRGTOPUnpackerStore::setLogLVar(int logLVar) { m_logLVar = logLVar; }
31void TRGTOPUnpackerStore::setTimingVar(int timingVar) { m_timingVar = timingVar; }
32//void TRGTOPUnpackerStore::set(int ) { m_ = ; }
33
34void 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.