ProtoDUNEbeamsim.h
Go to the documentation of this file.
1 // ProtoDUNEbeamsim.h
2 //
3 // Caroline Zhang
4 // carolineligezhang@gmail.com
5 // August 2017
6 //
7 // Modified by Pablo and Leigh H. Howard,
8 // // pablo.fer@cern.ch
9 // // July 2018
10 // /////////////////////////////////////////////////////////
11 
12 #ifndef PROTODUNEBEAMSIM_H
13 #define PROTODUNEBEAMSIM_H
14 
15 #include <iostream>
16 #include <map>
17 #include <string>
18 #include <vector>
19 #include "TChain.h"
20 #include "TFile.h"
21 #include "TTree.h"
22 #include "TVector3.h"
23 #include "TDirectory.h"
24 #include "TStyle.h"
25 #include "TMath.h"
26 
28 
29 namespace sim {
31 
32  public:
33  ProtoDUNEbeamsim(); //constructor
34  //each particle should have a event ID, PDG ID, Momentum/Position @ BP4, TRIG2, LAG_ENTRY
35 
36  ~ProtoDUNEbeamsim(); //destructor
37 
38  private:
39 
40  // Leigh: I think it would make much more sense to store a ProtoDUNEBeamInstrument object
41  // for each of the instruments
42  std::vector<ProtoDUNEBeamInstrument> fAllInstruments;
43 
44  public:
45 
48  unsigned short NInstruments() const {return fAllInstruments.size();};
49 
50  };
51 }
52 ////////////////////////////////////////////////////////////////////////
53 #endif // PROTODUNESIM_H
static QCString name
Definition: declinfo.cpp:673
unsigned short NInstruments() const
std::string string
Definition: nybbler.cc:12
ProtoDUNEBeamInstrument GetInstrument(std::string name) const
Code to link reconstructed objects back to the MC truth information.
std::vector< ProtoDUNEBeamInstrument > fAllInstruments
void AddInstrument(ProtoDUNEBeamInstrument newInst)