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 {
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  }
27 }
std::vector< std::vector< FBM > > fiberMonitors