Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
duneprototypes
duneprototypes
BeamData
ProtoDUNEBeamSpill
ProtoDUNEBeamSpill.cxx
Go to the documentation of this file.
1
///////////////////////////////////////////////
2
//
3
// Class to store protoDUNE beam spill data
4
// extracted from the CERN database
5
//
6
// Jake Calcutt (calcuttj@msu.edu) - July 2018
7
//
8
// ////////////////////////////////////////////
9
10
11
#include "dune/BeamData/ProtoDUNEBeamSpill/ProtoDUNEBeamSpill.h"
12
13
namespace
beamspill
14
{
15
ProtoDUNEBeamSpill::ProtoDUNEBeamSpill
(){}
16
void
ProtoDUNEBeamSpill::InitFBMs
(
size_t
nMonitors){
17
nFBMs
= nMonitors;
18
FBM
dummyFBM;
19
dummyFBM.
ID
= -1;
20
std::vector<FBM> dummyVec;
21
dummyVec.push_back(dummyFBM);
22
for
(
size_t
i = 0; i <
nFBMs
; ++i){
23
fiberMonitors
.push_back(dummyVec);
24
}
25
}
26
ProtoDUNEBeamSpill::~ProtoDUNEBeamSpill
(){}
27
}
beamspill::FBM::ID
int ID
Definition:
ProtoDUNEBeamSpill.h:25
beamspill::ProtoDUNEBeamSpill::fiberMonitors
std::vector< std::vector< FBM > > fiberMonitors
Definition:
ProtoDUNEBeamSpill.h:77
beamspill::ProtoDUNEBeamSpill::nFBMs
size_t nFBMs
Definition:
ProtoDUNEBeamSpill.h:78
beamspill::ProtoDUNEBeamSpill::~ProtoDUNEBeamSpill
~ProtoDUNEBeamSpill()
Definition:
ProtoDUNEBeamSpill.cxx:26
beamspill
Definition:
ProtoDUNEBeamSpill.cxx:13
beamspill::FBM
Definition:
ProtoDUNEBeamSpill.h:13
beamspill::ProtoDUNEBeamSpill::InitFBMs
void InitFBMs(size_t)
Definition:
ProtoDUNEBeamSpill.cxx:16
beamspill::ProtoDUNEBeamSpill::ProtoDUNEBeamSpill
ProtoDUNEBeamSpill()
Definition:
ProtoDUNEBeamSpill.cxx:15
Generated by
1.8.11