Public Member Functions | Private Attributes | List of all members
protoana::ProtoDUNEBeamlineReco Class Reference
Inheritance diagram for protoana::ProtoDUNEBeamlineReco:
art::EDAnalyzer art::detail::Analyzer art::detail::LegacyModule art::Observer art::ModuleBase

Public Member Functions

 ProtoDUNEBeamlineReco (fhicl::ParameterSet const &pset)
 
virtual ~ProtoDUNEBeamlineReco ()
 
virtual void beginJob () override
 
virtual void endJob () override
 
void analyze (art::Event const &evt) override
 
void reconfigure (fhicl::ParameterSet const &pset)
 
void reset ()
 
- Public Member Functions inherited from art::EDAnalyzer
 EDAnalyzer (fhicl::ParameterSet const &pset)
 
template<typename Config >
 EDAnalyzer (Table< Config > const &config)
 
std::string workerType () const
 
- Public Member Functions inherited from art::detail::Analyzer
virtual ~Analyzer () noexcept
 
 Analyzer (fhicl::ParameterSet const &pset)
 
template<typename Config >
 Analyzer (Table< Config > const &config)
 
void doBeginJob (SharedResources const &resources)
 
void doEndJob ()
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenOutputFiles (FileBlock const &fb)
 
void doRespondToCloseOutputFiles (FileBlock const &fb)
 
bool doBeginRun (RunPrincipal &rp, ModuleContext const &mc)
 
bool doEndRun (RunPrincipal &rp, ModuleContext const &mc)
 
bool doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc)
 
bool doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed)
 
- Public Member Functions inherited from art::Observer
 ~Observer () noexcept
 
 Observer (Observer const &)=delete
 
 Observer (Observer &&)=delete
 
Observeroperator= (Observer const &)=delete
 
Observeroperator= (Observer &&)=delete
 
void registerProducts (ProductDescriptions &, ModuleDescription const &)
 
void fillDescriptions (ModuleDescription const &)
 
fhicl::ParameterSetID selectorConfig () const
 
- Public Member Functions inherited from art::ModuleBase
virtual ~ModuleBase () noexcept
 
 ModuleBase ()
 
ModuleDescription const & moduleDescription () const
 
void setModuleDescription (ModuleDescription const &)
 
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables () const
 
void sortConsumables (std::string const &current_process_name)
 
template<typename T , BranchType BT>
ViewToken< T > consumesView (InputTag const &tag)
 
template<typename T , BranchType BT>
ViewToken< T > mayConsumeView (InputTag const &tag)
 

Private Attributes

protoana::ProtoDUNEBeamlineUtils fBeamlineUtils
 
bool fDoGlitches
 
int fReferenceMomentum
 
TTree * fOutTree
 
double tof
 
int event
 
int run
 
int chan
 
double momentum
 
int c0
 
int c1
 
std::vector< int > glitches_p1
 
std::vector< int > glitches_p2
 
std::vector< int > glitches_p3
 
std::vector< int > glitches_h_upstream
 
std::vector< int > glitches_v_upstream
 
std::vector< int > glitches_h_downstream
 
std::vector< int > glitches_v_downstream
 
int nMomenta
 
std::vector< double > momenta
 
std::vector< int > possible_pdg
 
int nTracks
 
std::vector< double > trackEndX
 
std::vector< double > trackEndY
 
std::vector< double > trackEndZ
 
std::vector< double > dirX
 
std::vector< double > dirY
 
std::vector< double > dirZ
 
std::vector< short > fibers_h_upstream
 
std::vector< short > fibers_v_upstream
 
std::vector< short > fibers_h_downstream
 
std::vector< short > fibers_v_downstream
 
std::vector< short > fibers_p1
 
std::vector< short > fibers_p2
 
std::vector< short > fibers_p3
 
unsigned long long GenTrigTS
 
bool perfectP
 
int true_PDG
 
double true_P
 
double true_X
 
double true_Y
 
double true_Z
 

Additional Inherited Members

- Public Types inherited from art::EDAnalyzer
using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 
- Protected Member Functions inherited from art::Observer
std::string const & processName () const
 
bool wantAllEvents () const noexcept
 
bool wantEvent (ScheduleID id, Event const &e) const
 
Handle< TriggerResultsgetTriggerResults (Event const &e) const
 
 Observer (fhicl::ParameterSet const &config)
 
 Observer (std::vector< std::string > const &select_paths, std::vector< std::string > const &reject_paths, fhicl::ParameterSet const &config)
 
- Protected Member Functions inherited from art::ModuleBase
ConsumesCollectorconsumesCollector ()
 
template<typename T , BranchType = InEvent>
ProductToken< T > consumes (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename T , BranchType = InEvent>
ProductToken< T > mayConsume (InputTag const &)
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 

Detailed Description

Definition at line 30 of file ProtoDUNEBeamlineReco_module.cc.

Constructor & Destructor Documentation

protoana::ProtoDUNEBeamlineReco::ProtoDUNEBeamlineReco ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 80 of file ProtoDUNEBeamlineReco_module.cc.

80  :
81  EDAnalyzer(pset),
82  fBeamlineUtils(pset.get<fhicl::ParameterSet>("BeamlineUtils")),
83  fDoGlitches( pset.get< bool >( "DoGlitches" ) ),
84  fReferenceMomentum( pset.get< int >( "ReferenceMomentum" ) )
85 {
86  this->reconfigure(pset);
87 }
void reconfigure(fhicl::ParameterSet const &pset)
EDAnalyzer(fhicl::ParameterSet const &pset)
Definition: EDAnalyzer.h:25
protoana::ProtoDUNEBeamlineUtils fBeamlineUtils
protoana::ProtoDUNEBeamlineReco::~ProtoDUNEBeamlineReco ( )
virtual

Definition at line 90 of file ProtoDUNEBeamlineReco_module.cc.

90 {}

Member Function Documentation

void protoana::ProtoDUNEBeamlineReco::analyze ( art::Event const &  evt)
overridevirtual

Implements art::EDAnalyzer.

Definition at line 152 of file ProtoDUNEBeamlineReco_module.cc.

152  {
153 
154  reset();
155 
156  //std::cout << "Computed TOF " << fBeamlineUtils.ComputeTOF( kProton, 2.0 ) << std::endl;
157  //std::cout << "Computed Momentum " << fBeamlineUtils.ComputeMomentum( kProton, 130. ) << std::endl;
158 
159  c0 = -1;
160  c1 = -1;
161  momentum = -1.;
162  tof = -1.;
163  chan = -1;
164  GenTrigTS = 0;
165  true_PDG = -1;
166  true_P = -999.;
167  true_X = 0.;
168  true_Y = 0.;
169  true_Z = 0.;
170 
171  event = evt.id().event();
172  run = evt.run();
173 
174  //Access the Beam Event
175  /*
176  auto beamHandle = evt.getValidHandle<std::vector<beam::ProtoDUNEBeamEvent>>("beamevent");
177 
178  std::vector<art::Ptr<beam::ProtoDUNEBeamEvent>> beamVec;
179  if( beamHandle.isValid()){
180  art::fill_ptr_vector(beamVec, beamHandle);
181  }
182 
183  const beam::ProtoDUNEBeamEvent & beamEvent = *(beamVec.at(0)); //Should just have one
184  */
186  /////////////////////////////////////////////////////////////
187 
188 
189  //Check the quality of the event
190  std::cout << "Timing Trigger: " << beamEvent.GetTimingTrigger() << std::endl;
191  std::cout << "Is Matched: " << beamEvent.CheckIsMatched() << std::endl << std::endl;
192 
194  std::cout << "Failed quality check" << std::endl;
195  return;
196  }
197 
198  std::cout << "Passed quality check!" << std::endl << std::endl;
199  /////////////////////////////////////////////////////////////
200 
201 
202  //Access momentum
203  const std::vector< double > & the_momenta = beamEvent.GetRecoBeamMomenta();
204  std::cout << "Number of reconstructed momenta: " << the_momenta.size() << std::endl;
205 
206  if( the_momenta.size() > 0 )
207  std::cout << "Measured Momentum: " << the_momenta[0] << std::endl;
208 
209  if( the_momenta.size() == 1)
210  momentum = the_momenta[0];
211 
212  momenta.insert( momenta.end(), the_momenta.begin(), the_momenta.end() );
213  /*
214  for( size_t i = 0; i < the_momenta.size(); ++i ){
215  momenta.push_back( the_momenta[i] );
216  }
217  */
218  nMomenta = momenta.size();
219  /////////////////////////////////////////////////////////////
220 
221 
222  std::cout << "Current: " << beamEvent.GetMagnetCurrent() << std::endl;
223 
224  //Access time of flight
225  const std::vector< double > & the_tofs = beamEvent.GetTOFs();
226  const std::vector< int > & the_chans = beamEvent.GetTOFChans();
227 
228  std::cout << "Number of measured TOF: " << the_tofs.size() << std::endl;
229  std::cout << "First TOF: " << beamEvent.GetTOF() << std::endl;
230  std::cout << "First TOF Channel: " << beamEvent.GetTOFChan() << std::endl << std::endl;
231 
232  std::cout << "All (TOF, Channels): " << std::endl;
233  for( size_t i = 0; i < the_tofs.size(); ++i ){
234  std::cout << "\t(" << the_tofs[i] << ", " << the_chans[i] << ")" << std::endl;
235  }
236  std::cout << std::endl;
237 
238  if( the_tofs.size() > 0){
239  tof = the_tofs[0];
240  chan = the_chans[0];
241  }
242  /////////////////////////////////////////////////////////////
243 
244 
245  //Access Cerenkov info
246  std::cout << "Cerenkov status, pressure:" << std::endl;
247  std::cout << "C0: " << beamEvent.GetCKov0Status() << ", " << beamEvent.GetCKov0Pressure() << std::endl;
248  std::cout << "C1: " << beamEvent.GetCKov1Status() << ", " << beamEvent.GetCKov1Pressure() << std::endl << std::endl;
249  c0 = beamEvent.GetCKov0Status();
250  c1 = beamEvent.GetCKov1Status();
251  /////////////////////////////////////////////////////////////
252 
253 
254 
255  //Access PID
256  std::vector< int > pids = fBeamlineUtils.GetPID( beamEvent, fReferenceMomentum );
257 
258  std::cout << "Possible particles" << std::endl;
259 
260  for( size_t i = 0; i < pids.size(); ++i ){
261  std::cout << pids[i] << std::endl;
262  }
263  std::cout << std::endl;
264 
265  possible_pdg.insert(possible_pdg.end(), pids.begin(), pids.end());
266 
267  PossibleParticleCands candidates = fBeamlineUtils.GetPIDCandidates( beamEvent, fReferenceMomentum );
268  std::cout << std::left << std::setw(10) << "electron " << candidates.electron << std::endl;
269  std::cout << std::left << std::setw(10) << "muon " << candidates.muon << std::endl;
270  std::cout << std::left << std::setw(10) << "pion " << candidates.pion << std::endl;
271  std::cout << std::left << std::setw(10) << "kaon " << candidates.kaon << std::endl;
272  std::cout << std::left << std::setw(10) << "proton " << candidates.proton << std::endl << std::endl;
273 
274  std::string candidates_string = fBeamlineUtils.GetPIDCandidates( beamEvent, fReferenceMomentum );
275  std::cout << candidates_string << std::endl;
276  /////////////////////////////////////////////////////////////
277 
278  //Tracking info
279  nTracks = beamEvent.GetBeamTracks().size();
280  if( nTracks == 1 ){
281  std::cout << "X " << beamEvent.GetBeamTracks()[0].Trajectory().End().X() << std::endl;
282  std::cout << "Y " << beamEvent.GetBeamTracks()[0].Trajectory().End().Y() << std::endl;
283  std::cout << "Z " << beamEvent.GetBeamTracks()[0].Trajectory().End().Z() << std::endl;
284  }
285  for (size_t i = 0; i < beamEvent.GetBeamTracks().size(); ++i) {
286  trackEndX.push_back(beamEvent.GetBeamTracks()[i].Trajectory().End().X());
287  trackEndY.push_back(beamEvent.GetBeamTracks()[i].Trajectory().End().Y());
288  trackEndZ.push_back(beamEvent.GetBeamTracks()[i].Trajectory().End().Z());
289  dirX.push_back(beamEvent.GetBeamTracks()[i].Trajectory().EndDirection().X());
290  dirY.push_back(beamEvent.GetBeamTracks()[i].Trajectory().EndDirection().Y());
291  dirZ.push_back(beamEvent.GetBeamTracks()[i].Trajectory().EndDirection().Z());
292  }
293  /////////////////////////////////////////////////////////////
294 
295  //Fibers
296  std::cout << beamEvent.GetFiberTime( "XBPF022697" ) << std::endl;
297  std::cout.precision(20);
298  unsigned long test = (unsigned long)(beamEvent.GetT0().first*1e6) + (unsigned long)(beamEvent.GetT0().second/1.e3);
299  std::cout << beamEvent.GetT0().first << " " << beamEvent.GetT0().second << std::endl;
300  std::cout << test << std::endl;
301 
302  GenTrigTS = (unsigned long)(beamEvent.GetT0().first*1e6) + (unsigned long)(beamEvent.GetT0().second/1.e3);
303 
304  fibers_p1 = beamEvent.GetActiveFibers( "XBPF022697" );
305  fibers_p2 = beamEvent.GetActiveFibers( "XBPF022701" );
306  fibers_p3 = beamEvent.GetActiveFibers( "XBPF022702" );
307 
308 
309 
310 
311 
312  fibers_h_upstream = beamEvent.GetActiveFibers( "XBPF022707" );
313  fibers_v_upstream = beamEvent.GetActiveFibers( "XBPF022708" );
314  fibers_h_downstream = beamEvent.GetActiveFibers( "XBPF022716" );
315  fibers_v_downstream = beamEvent.GetActiveFibers( "XBPF022717" );
316 
317  if( fDoGlitches ){
318  std::cout << "Doing glitches" << std::endl;
319  std::array<short,192> glitches = beamEvent.GetFBM( "XBPF022697" ).glitch_mask;
320  for( size_t i = 0; i < 192; ++i ){
321  if( glitches[i] ) glitches_p1.push_back( i );
322  }
323 
324  glitches = beamEvent.GetFBM( "XBPF022701" ).glitch_mask;
325  for( size_t i = 0; i < 192; ++i ){
326  if( glitches[i] ) glitches_p2.push_back( i );
327  }
328 
329  glitches = beamEvent.GetFBM( "XBPF022702" ).glitch_mask;
330  for( size_t i = 0; i < 192; ++i ){
331  if( glitches[i] ) glitches_p3.push_back( i );
332  }
333 
334 
335  glitches = beamEvent.GetFBM( "XBPF022707" ).glitch_mask;
336  for( size_t i = 0; i < 192; ++i ){
337  if( glitches[i] ) glitches_h_upstream.push_back( i );
338  }
339 
340  glitches = beamEvent.GetFBM( "XBPF022708" ).glitch_mask;
341  for( size_t i = 0; i < 192; ++i ){
342  if( glitches[i] ) glitches_v_upstream.push_back( i );
343  }
344 
345  glitches = beamEvent.GetFBM( "XBPF022716" ).glitch_mask;
346  for( size_t i = 0; i < 192; ++i ){
347  if( glitches[i] ) glitches_h_downstream.push_back( i );
348  }
349 
350  glitches = beamEvent.GetFBM( "XBPF022717" ).glitch_mask;
351  for( size_t i = 0; i < 192; ++i ){
352  if( glitches[i] ) glitches_v_downstream.push_back( i );
353  }
354  }
355  /////////////////////////////////////////////////////////////
356 
357  std::cout << "Perfect Momentum?" << fBeamlineUtils.HasPerfectBeamMomentum( evt ) << std::endl;
359 
360  if (!evt.isRealData()) {
361  auto mcTruths = evt.getValidHandle<std::vector<simb::MCTruth>>("generator");
363  auto true_beam_particle = truthUtil.GetGeantGoodParticle((*mcTruths)[0],evt);
364  if (!true_beam_particle) {
365  std::cout << "No true beam particle" << std::endl;
366  }
367  else {
368  std::cout << "True PDG: " << true_beam_particle->PdgCode() << std::endl;
369  true_PDG = true_beam_particle->PdgCode();
370  true_P = true_beam_particle->P();
371  size_t nPoints = true_beam_particle->NumberTrajectoryPoints();
372  for (size_t i = 0; i < nPoints; ++i) {
373  if (true_beam_particle->Position(i).Z() > 0. &&
374  true_beam_particle->Position(i).Z() < 1.) {
375  true_X = true_beam_particle->Position(i).X();
376  true_Y = true_beam_particle->Position(i).Y();
377  true_Z = true_beam_particle->Position(i).Z();
378  break;
379  }
380  }
381  }
382  }
383 
384  fOutTree->Fill();
385 }
const FBM & GetFBM(std::string) const
PossibleParticleCands GetPIDCandidates(beam::ProtoDUNEBeamEvent const &beamevt, double nominal_momentum)
unsigned int event
Definition: DataStructs.h:636
const int & GetTimingTrigger() const
const std::vector< double > & GetTOFs() const
unsigned int run
Definition: DataStructs.h:637
std::string string
Definition: nybbler.cc:12
const double & GetCKov0Pressure() const
const short & GetCKov1Status() const
bool HasPerfectBeamMomentum(art::Event const &evt) const
protoana::ProtoDUNEBeamlineUtils fBeamlineUtils
int precision() const
Definition: qtextstream.h:259
const std::vector< short > & GetActiveFibers(std::string) const
const std::vector< double > & GetRecoBeamMomenta() const
const double & GetTOF() const
const double & GetFiberTime(std::string) const
bool IsGoodBeamlineTrigger(art::Event const &evt) const
const std::pair< double, double > & GetT0() const
Q_EXPORT QTSManip setw(int w)
Definition: qtextstream.h:331
std::vector< int > GetPID(beam::ProtoDUNEBeamEvent const &beamevt, double nominal_momentum)
const std::vector< int > & GetTOFChans() const
std::array< short, 192 > glitch_mask
const std::vector< recob::Track > & GetBeamTracks() const
const short & GetCKov0Status() const
TCEvent evt
Definition: DataStructs.cxx:7
const double & GetMagnetCurrent() const
const bool & CheckIsMatched() const
const int & GetTOFChan() const
const beam::ProtoDUNEBeamEvent GetBeamEvent(art::Event const &evt) const
QTextStream & endl(QTextStream &s)
const double & GetCKov1Pressure() const
void protoana::ProtoDUNEBeamlineReco::beginJob ( )
overridevirtual

Reimplemented from art::EDAnalyzer.

Definition at line 93 of file ProtoDUNEBeamlineReco_module.cc.

93  {
94 
96 
97  fOutTree = tfs->make<TTree>("tree", "");
98  fOutTree->Branch("event", &event);
99  fOutTree->Branch("run", &run);
100  fOutTree->Branch("glitches_p1", &glitches_p1);
101  fOutTree->Branch("glitches_p2", &glitches_p2);
102  fOutTree->Branch("glitches_p3", &glitches_p3);
103  fOutTree->Branch("TOF", &tof);
104  fOutTree->Branch("perfectP", &perfectP);
105  fOutTree->Branch("Chan", &chan);
106  fOutTree->Branch("Momentum", &momentum);
107  fOutTree->Branch("C0",&c0);
108  fOutTree->Branch("C1",&c1);
109  fOutTree->Branch("nMomenta", &nMomenta);
110  fOutTree->Branch("Momenta", &momenta);
111  fOutTree->Branch("nTracks", &nTracks);
112  fOutTree->Branch("trackEndX", &trackEndX);
113  fOutTree->Branch("trackEndY", &trackEndY);
114  fOutTree->Branch("trackEndZ", &trackEndZ);
115  fOutTree->Branch("dirX", &dirX);
116  fOutTree->Branch("dirY", &dirY);
117  fOutTree->Branch("dirZ", &dirZ);
118  fOutTree->Branch("possible_pdg", &possible_pdg);
119 
120  //Tracking Monitors
121  fOutTree->Branch("fibers_h_upstream", &fibers_h_upstream);
122  fOutTree->Branch("fibers_v_upstream", &fibers_v_upstream);
123  fOutTree->Branch("fibers_h_downstream", &fibers_h_downstream);
124  fOutTree->Branch("fibers_v_downstream", &fibers_v_downstream);
125 
126  fOutTree->Branch("glitches_h_upstream", &glitches_h_upstream);
127  fOutTree->Branch("glitches_v_upstream", &glitches_v_upstream);
128  fOutTree->Branch("glitches_h_downstream", &glitches_h_downstream);
129  fOutTree->Branch("glitches_v_downstream", &glitches_v_downstream);
130 
131  //Momentum Monitors
132  fOutTree->Branch("fibers_p1", &fibers_p1);
133  fOutTree->Branch("fibers_p2", &fibers_p2);
134  fOutTree->Branch("fibers_p3", &fibers_p3);
135 
136  //Timestamp
137  fOutTree->Branch("GenTrigTS", &GenTrigTS);
138 
139  //True info
140  fOutTree->Branch("true_PDG", &true_PDG);
141  fOutTree->Branch("true_P", &true_P);
142  fOutTree->Branch("true_X", &true_X);
143  fOutTree->Branch("true_Y", &true_Y);
144  fOutTree->Branch("true_Z", &true_Z);
145 }
Event finding and building.
void protoana::ProtoDUNEBeamlineReco::endJob ( )
overridevirtual

Reimplemented from art::EDAnalyzer.

Definition at line 387 of file ProtoDUNEBeamlineReco_module.cc.

387 {}
void protoana::ProtoDUNEBeamlineReco::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 148 of file ProtoDUNEBeamlineReco_module.cc.

148  {
149 }
void protoana::ProtoDUNEBeamlineReco::reset ( )

Definition at line 389 of file ProtoDUNEBeamlineReco_module.cc.

389  {
390  momenta.clear();
391 
392  fibers_p1.clear();
393  fibers_p2.clear();
394  fibers_p3.clear();
395 
396  fibers_h_upstream.clear();
397  fibers_v_upstream.clear();
398  fibers_h_downstream.clear();
399  fibers_v_downstream.clear();
400  glitches_p1.clear();
401  glitches_p2.clear();
402  glitches_p3.clear();
403 
404  glitches_h_upstream.clear();
405  glitches_v_upstream.clear();
406  glitches_h_downstream.clear();
407  glitches_v_downstream.clear();
408 
409  perfectP = false;
410  possible_pdg.clear();
411 
412  trackEndX.clear();
413  trackEndY.clear();
414  trackEndZ.clear();
415 
416  dirX.clear();
417  dirY.clear();
418  dirZ.clear();
419 }

Member Data Documentation

int protoana::ProtoDUNEBeamlineReco::c0
private

Definition at line 55 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::c1
private

Definition at line 55 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::chan
private

Definition at line 53 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<double> protoana::ProtoDUNEBeamlineReco::dirX
private

Definition at line 63 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<double> protoana::ProtoDUNEBeamlineReco::dirY
private

Definition at line 63 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<double> protoana::ProtoDUNEBeamlineReco::dirZ
private

Definition at line 63 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::event
private

Definition at line 52 of file ProtoDUNEBeamlineReco_module.cc.

protoana::ProtoDUNEBeamlineUtils protoana::ProtoDUNEBeamlineReco::fBeamlineUtils
private

Definition at line 45 of file ProtoDUNEBeamlineReco_module.cc.

bool protoana::ProtoDUNEBeamlineReco::fDoGlitches
private

Definition at line 46 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<short> protoana::ProtoDUNEBeamlineReco::fibers_h_downstream
private

Definition at line 66 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<short> protoana::ProtoDUNEBeamlineReco::fibers_h_upstream
private

Definition at line 66 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<short> protoana::ProtoDUNEBeamlineReco::fibers_p1
private

Definition at line 66 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<short> protoana::ProtoDUNEBeamlineReco::fibers_p2
private

Definition at line 66 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<short> protoana::ProtoDUNEBeamlineReco::fibers_p3
private

Definition at line 66 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<short> protoana::ProtoDUNEBeamlineReco::fibers_v_downstream
private

Definition at line 66 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<short> protoana::ProtoDUNEBeamlineReco::fibers_v_upstream
private

Definition at line 66 of file ProtoDUNEBeamlineReco_module.cc.

TTree* protoana::ProtoDUNEBeamlineReco::fOutTree
private

Definition at line 49 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::fReferenceMomentum
private

Definition at line 47 of file ProtoDUNEBeamlineReco_module.cc.

unsigned long long protoana::ProtoDUNEBeamlineReco::GenTrigTS
private

Definition at line 71 of file ProtoDUNEBeamlineReco_module.cc.

std::vector< int > protoana::ProtoDUNEBeamlineReco::glitches_h_downstream
private

Definition at line 57 of file ProtoDUNEBeamlineReco_module.cc.

std::vector< int > protoana::ProtoDUNEBeamlineReco::glitches_h_upstream
private

Definition at line 57 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<int> protoana::ProtoDUNEBeamlineReco::glitches_p1
private

Definition at line 56 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<int> protoana::ProtoDUNEBeamlineReco::glitches_p2
private

Definition at line 56 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<int> protoana::ProtoDUNEBeamlineReco::glitches_p3
private

Definition at line 56 of file ProtoDUNEBeamlineReco_module.cc.

std::vector< int > protoana::ProtoDUNEBeamlineReco::glitches_v_downstream
private

Definition at line 57 of file ProtoDUNEBeamlineReco_module.cc.

std::vector< int > protoana::ProtoDUNEBeamlineReco::glitches_v_upstream
private

Definition at line 57 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<double> protoana::ProtoDUNEBeamlineReco::momenta
private

Definition at line 59 of file ProtoDUNEBeamlineReco_module.cc.

double protoana::ProtoDUNEBeamlineReco::momentum
private

Definition at line 54 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::nMomenta
private

Definition at line 58 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::nTracks
private

Definition at line 61 of file ProtoDUNEBeamlineReco_module.cc.

bool protoana::ProtoDUNEBeamlineReco::perfectP
private

Definition at line 72 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<int> protoana::ProtoDUNEBeamlineReco::possible_pdg
private

Definition at line 60 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::run
private

Definition at line 52 of file ProtoDUNEBeamlineReco_module.cc.

double protoana::ProtoDUNEBeamlineReco::tof
private

Definition at line 51 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<double> protoana::ProtoDUNEBeamlineReco::trackEndX
private

Definition at line 62 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<double> protoana::ProtoDUNEBeamlineReco::trackEndY
private

Definition at line 62 of file ProtoDUNEBeamlineReco_module.cc.

std::vector<double> protoana::ProtoDUNEBeamlineReco::trackEndZ
private

Definition at line 62 of file ProtoDUNEBeamlineReco_module.cc.

double protoana::ProtoDUNEBeamlineReco::true_P
private

Definition at line 75 of file ProtoDUNEBeamlineReco_module.cc.

int protoana::ProtoDUNEBeamlineReco::true_PDG
private

Definition at line 74 of file ProtoDUNEBeamlineReco_module.cc.

double protoana::ProtoDUNEBeamlineReco::true_X
private

Definition at line 76 of file ProtoDUNEBeamlineReco_module.cc.

double protoana::ProtoDUNEBeamlineReco::true_Y
private

Definition at line 76 of file ProtoDUNEBeamlineReco_module.cc.

double protoana::ProtoDUNEBeamlineReco::true_Z
private

Definition at line 76 of file ProtoDUNEBeamlineReco_module.cc.


The documentation for this class was generated from the following file: