#include <ProtoDUNEBeamSpill.h>
Definition at line 39 of file ProtoDUNEBeamSpill.h.
beamspill::ProtoDUNEBeamSpill::ProtoDUNEBeamSpill |
( |
| ) |
|
beamspill::ProtoDUNEBeamSpill::~ProtoDUNEBeamSpill |
( |
| ) |
|
void beamspill::ProtoDUNEBeamSpill::AddCKov0Trigger |
( |
CKov |
theCKov | ) |
|
|
inline |
void beamspill::ProtoDUNEBeamSpill::AddCKov1Trigger |
( |
CKov |
theCKov | ) |
|
|
inline |
void beamspill::ProtoDUNEBeamSpill::AddFBMTrigger |
( |
size_t |
iMonitor, |
|
|
FBM |
theFBM |
|
) |
| |
|
inline |
Definition at line 95 of file ProtoDUNEBeamSpill.h.
96 if( (iMonitor > (
nFBMs - 1) ) ){
97 std::cout <<
"Error FBM index out of range" <<
std::endl;
103 std::cout <<
"Replacing dummy FBM" <<
std::endl;
std::vector< std::vector< FBM > > fiberMonitors
QTextStream & endl(QTextStream &s)
void beamspill::ProtoDUNEBeamSpill::AddTOF0Trigger |
( |
long long |
theT | ) |
|
|
inline |
void beamspill::ProtoDUNEBeamSpill::AddTOF1Trigger |
( |
long long |
theT | ) |
|
|
inline |
short beamspill::ProtoDUNEBeamSpill::GetCKov0Status |
( |
size_t |
nTrigger | ) |
|
|
inline |
Definition at line 153 of file ProtoDUNEBeamSpill.h.
154 if( (nTrigger >=
CKov0.size()) ){
155 std::cout <<
"Please input index in range [0," <<
CKov0.size() - 1 <<
"]" <<
std::endl;
159 return CKov0[nTrigger].trigger;
std::vector< CKov > CKov0
QTextStream & endl(QTextStream &s)
long long beamspill::ProtoDUNEBeamSpill::GetCKov0Time |
( |
size_t |
nTrigger | ) |
|
|
inline |
Definition at line 171 of file ProtoDUNEBeamSpill.h.
172 if( (nTrigger >=
CKov0.size()) ){
173 std::cout <<
"Please input index in range [0," <<
CKov0.size() - 1 <<
"]" <<
std::endl;
177 return CKov0[nTrigger].timeStamp;
std::vector< CKov > CKov0
QTextStream & endl(QTextStream &s)
short beamspill::ProtoDUNEBeamSpill::GetCKov1Status |
( |
size_t |
nTrigger | ) |
|
|
inline |
Definition at line 162 of file ProtoDUNEBeamSpill.h.
163 if( (nTrigger >=
CKov1.size()) ){
164 std::cout <<
"Please input index in range [0," <<
CKov1.size() - 1 <<
"]" <<
std::endl;
168 return CKov1[nTrigger].trigger;
std::vector< CKov > CKov1
QTextStream & endl(QTextStream &s)
long long beamspill::ProtoDUNEBeamSpill::GetCKov1Time |
( |
size_t |
nTrigger | ) |
|
|
inline |
Definition at line 180 of file ProtoDUNEBeamSpill.h.
181 if( (nTrigger >=
CKov1.size()) ){
182 std::cout <<
"Please input index in range [0," <<
CKov1.size() - 1 <<
"]" <<
std::endl;
186 return CKov1[nTrigger].timeStamp;
std::vector< CKov > CKov1
QTextStream & endl(QTextStream &s)
short beamspill::ProtoDUNEBeamSpill::GetFiberStatus |
( |
size_t |
iMonitor, |
|
|
size_t |
nTrigger, |
|
|
size_t |
iFiber |
|
) |
| |
|
inline |
Definition at line 113 of file ProtoDUNEBeamSpill.h.
119 std::cout <<
"Please input fiber in range [0,191]" <<
std::endl;
123 std::cout <<
"Please input trigger in range [0," <<
fiberMonitors[iMonitor].size() - 1 <<
"]" <<
std::endl;
std::vector< std::vector< FBM > > fiberMonitors
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
QTextStream & endl(QTextStream &s)
long long beamspill::ProtoDUNEBeamSpill::GetFiberTime |
( |
size_t |
iMonitor, |
|
|
size_t |
nTrigger |
|
) |
| |
|
inline |
Definition at line 129 of file ProtoDUNEBeamSpill.h.
135 std::cout <<
"Please input trigger in range [0," <<
fiberMonitors[iMonitor].size() - 1 <<
"]" <<
std::endl;
std::vector< std::vector< FBM > > fiberMonitors
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
QTextStream & endl(QTextStream &s)
int beamspill::ProtoDUNEBeamSpill::GetNCKov0Triggers |
( |
| ) |
|
|
inline |
int beamspill::ProtoDUNEBeamSpill::GetNCKov1Triggers |
( |
| ) |
|
|
inline |
int beamspill::ProtoDUNEBeamSpill::GetNFBMTriggers |
( |
size_t |
iMonitor | ) |
|
|
inline |
Definition at line 141 of file ProtoDUNEBeamSpill.h.
std::vector< std::vector< FBM > > fiberMonitors
QTextStream & endl(QTextStream &s)
int beamspill::ProtoDUNEBeamSpill::GetNTOF0Triggers |
( |
| ) |
|
|
inline |
int beamspill::ProtoDUNEBeamSpill::GetNTOF1Triggers |
( |
| ) |
|
|
inline |
long long beamspill::ProtoDUNEBeamSpill::GetT0 |
( |
| ) |
|
|
inline |
long long beamspill::ProtoDUNEBeamSpill::GetTOF0 |
( |
size_t |
nTrigger | ) |
|
|
inline |
Definition at line 192 of file ProtoDUNEBeamSpill.h.
193 if( (nTrigger >=
TOF0.size()) ){
194 std::cout <<
"Please input index in range [0," <<
TOF0.size() - 1 <<
"]" <<
std::endl;
198 return TOF0[nTrigger];
std::vector< long long int > TOF0
QTextStream & endl(QTextStream &s)
long long beamspill::ProtoDUNEBeamSpill::GetTOF1 |
( |
size_t |
nTrigger | ) |
|
|
inline |
Definition at line 201 of file ProtoDUNEBeamSpill.h.
202 if( (nTrigger >=
TOF1.size()) ){
203 std::cout <<
"Please input index in range [0," <<
TOF1.size() - 1 <<
"]" <<
std::endl;
207 return TOF1[nTrigger];
std::vector< long long int > TOF1
QTextStream & endl(QTextStream &s)
void beamspill::ProtoDUNEBeamSpill::InitFBMs |
( |
size_t |
nMonitors | ) |
|
Definition at line 16 of file ProtoDUNEBeamSpill.cxx.
20 std::vector<FBM> dummyVec;
21 dummyVec.push_back(dummyFBM);
22 for(
size_t i = 0; i <
nFBMs; ++i){
std::vector< std::vector< FBM > > fiberMonitors
size_t beamspill::ProtoDUNEBeamSpill::nFBMs |
|
private |
long long int beamspill::ProtoDUNEBeamSpill::t0 |
|
private |
std::vector< long long int > beamspill::ProtoDUNEBeamSpill::TOF0 |
|
private |
std::vector< long long int > beamspill::ProtoDUNEBeamSpill::TOF1 |
|
private |
The documentation for this class was generated from the following files: