Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
testbeam::BeamlineEventDisplay Class Reference
Inheritance diagram for testbeam::BeamlineEventDisplay:
art::EDAnalyzer art::EventObserverBase art::Consumer art::EngineCreator

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 BeamlineEventDisplay (const fhicl::ParameterSet &pset)
 
virtual ~BeamlineEventDisplay ()
 
virtual void analyze (const art::Event &evt)
 
void reconfigure (const fhicl::ParameterSet &pset)
 
void beginJob ()
 
void beginRun (const art::Run &r)
 
void beginSubRun (const art::SubRun &sr)
 
void endJob ()
 
void DrawAnnotations ()
 
void DrawCkov (const std::vector< art::Ptr< brb::Cherenkov > > &ckovs)
 
void DrawMagnet ()
 
void DrawNOvA ()
 
void DrawNOvATracks (const std::vector< art::Ptr< rb::Track > > &tracks)
 
void DrawNOvATracks (const std::vector< art::Ptr< rb::Prong > > &prongs)
 
void DrawToF (const std::vector< art::Ptr< brb::BeamlineDigit > > &tofDigits)
 
void DrawWC (const std::vector< art::Ptr< rawdata::RawBeamlineWC > > &wcs)
 
void DrawWCTrack (const std::vector< art::Ptr< brb::WCTrack > > &wcTracks)
 
std::string workerType () const
 
bool modifiesEvent () const
 
void registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &)
 
std::string const & processName () const
 
bool wantAllEvents () const
 
bool wantEvent (Event const &e)
 
fhicl::ParameterSetID selectorConfig () const
 
art::Handle< art::TriggerResultsgetTriggerResults (Event const &e) const
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< Tconsumes (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TconsumesView (InputTag const &it)
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< TmayConsume (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TmayConsumeView (InputTag const &it)
 
base_engine_tcreateEngine (seed_t seed)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label)
 
seed_t get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1)
 

Static Public Member Functions

static cet::exempt_ptr< Consumernon_module_context ()
 

Protected Member Functions

CurrentProcessingContext const * currentContext () const
 
detail::CachedProducts & cachedProducts ()
 
void validateConsumedProduct (BranchType const bt, ProductInfo const &pi)
 
void prepareForJob (fhicl::ParameterSet const &pset)
 
void showMissingConsumes () const
 

Private Attributes

std::string fRawToFDigitLabel
 
std::string fRawCkovDigitLabel
 
std::string fRawWCLabel
 
std::string fRecoToFDigitLabel
 
std::string fRecoCkovLabel
 
std::string fRecoWCTrackLabel
 
std::string fRecoProngLabel
 
std::string fRecoBPTrackLabel
 
bool fDrawNOvA
 
bool fDrawNOvATracks
 
bool fDrawNOvAProngs
 
bool fDrawWC
 
bool fDrawWCReco
 
bool fDrawUSToF
 
bool fDrawDSToF1
 
bool fDrawDSToF2
 
bool fDrawCherenkov
 
bool fUseWCHitPosition
 
art::ServiceHandle< beamlinegeo::BeamlineGeometryfGeo
 
TH3I * fFrame
 
TCanvas * fEVD
 
TFile * fOutFile
 
std::string fOutputFileName
 

Detailed Description

Definition at line 62 of file BeamlineEventDisplay_module.cc.

Member Typedef Documentation

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

testbeam::BeamlineEventDisplay::BeamlineEventDisplay ( const fhicl::ParameterSet pset)
explicit

Definition at line 126 of file BeamlineEventDisplay_module.cc.

References reconfigure().

126  :
127  EDAnalyzer(pset){
128  this->reconfigure(pset);
129 }
void reconfigure(const fhicl::ParameterSet &pset)
EDAnalyzer(Table< Config > const &config)
Definition: EDAnalyzer.h:100
virtual testbeam::BeamlineEventDisplay::~BeamlineEventDisplay ( )
inlinevirtual

Member Function Documentation

void testbeam::BeamlineEventDisplay::analyze ( const art::Event evt)
virtual

Definition at line 209 of file BeamlineEventDisplay_module.cc.

References DrawAnnotations(), DrawCkov(), DrawNOvA(), DrawNOvATracks(), DrawToF(), DrawWC(), DrawWCTrack(), art::Event::event(), fDrawCherenkov, fDrawNOvA, fDrawNOvAProngs, fDrawNOvATracks, fDrawWC, fDrawWCReco, fEVD, fFrame, art::fill_ptr_vector(), fOutFile, fRawCkovDigitLabel, fRawToFDigitLabel, fRawWCLabel, fRecoBPTrackLabel, fRecoCkovLabel, fRecoProngLabel, fRecoToFDigitLabel, fRecoWCTrackLabel, art::DataViewImpl::getByLabel(), art::Event::run(), and art::Event::subRun().

Referenced by ~BeamlineEventDisplay().

209  {
210 
211  // Get all the data
212  // art::Handle<rawdata::RawBeamlineConfig> blConfigHandle;
213  // rawdata::RawBeamlineConfig blConfig;
214  // if (evt.getByLabel("daq:BeamlineConfig", blConfigHandle))
215  // blConfig = *blConfigHandle;
216  // std::cout << "Beamline run " << blConfig.BeamlineRun() << std::endl;
217 
219  std::vector<art::Ptr<rawdata::RawBeamlineDigit> > tofRawDigits;
220  if (evt.getByLabel(fRawToFDigitLabel, tofRawDigitHandle))
221  art::fill_ptr_vector(tofRawDigits, tofRawDigitHandle);
222 
224  std::vector<art::Ptr<brb::BeamlineDigit> > tofDigits;
225  if (evt.getByLabel(fRecoToFDigitLabel, tofDigitHandle))
226  art::fill_ptr_vector(tofDigits, tofDigitHandle);
227 
229  std::vector<art::Ptr<rawdata::RawBeamlineDigit> > ckovDigits;
230  if (evt.getByLabel(fRawCkovDigitLabel, ckovDigitHandle))
231  art::fill_ptr_vector(ckovDigits, ckovDigitHandle);
232 
234  std::vector<art::Ptr<rawdata::RawBeamlineWC> > wcs;
235  if (evt.getByLabel(fRawWCLabel, wcHandle))
236  art::fill_ptr_vector(wcs, wcHandle);
237 
239  std::vector<art::Ptr<brb::WCTrack> > wcTracks;
240  if (evt.getByLabel(fRecoWCTrackLabel, wcTrackHandle))
241  art::fill_ptr_vector(wcTracks, wcTrackHandle);
242 
244  std::vector<art::Ptr<brb::Cherenkov> > ckovs;
245  if (evt.getByLabel(fRecoCkovLabel, ckovHandle))
246  art::fill_ptr_vector(ckovs, ckovHandle);
247 
249  std::vector<art::Ptr<rb::Prong> > prongs;
250  if (evt.getByLabel(fRecoProngLabel, prongHandle))
251  art::fill_ptr_vector(prongs, prongHandle);
252 
253  art::Handle<std::vector<rb::Track> > bpTrackHandle;
254  std::vector<art::Ptr<rb::Track> > bpTracks;
255  if (evt.getByLabel(fRecoBPTrackLabel, bpTrackHandle))
256  art::fill_ptr_vector(bpTracks, bpTrackHandle);
257 
258  // Clear EVD
259  fEVD->Clear();
260  fFrame->Draw("FBBB");
261 
262  // Draw annotations
263  DrawAnnotations();
264 
265  // Draw wire chambers
266  if (fDrawWC) {
267  DrawWC(wcs);
268  // Draw wire chamber reco
269  if (fDrawWCReco)
270  DrawWCTrack(wcTracks);
271  }
272 
273  // Draw tof
274  DrawToF(tofDigits);
275 
276  // Draw ckov
277  if (fDrawCherenkov)
278  DrawCkov(ckovs);
279 
280  // Draw magnet
281  //DrawMagnet();
282 
283  // Draw nova
284  if (fDrawNOvA) {
285  DrawNOvA();
286  // Draw nova tracks
287  if (fDrawNOvATracks)
288  DrawNOvATracks(bpTracks);
289  if (fDrawNOvAProngs)
290  DrawNOvATracks(prongs);
291  }
292 
293  // Save
294  fOutFile->cd(Form("Run%d/Spill%d", evt.run(), evt.subRun()));
295  fEVD->Write(Form("Event%d", evt.event()));
296 
297  return;
298 
299 }
SubRunNumber_t subRun() const
Definition: Event.h:72
void DrawNOvATracks(const std::vector< art::Ptr< rb::Track > > &tracks)
void DrawToF(const std::vector< art::Ptr< brb::BeamlineDigit > > &tofDigits)
EventNumber_t event() const
Definition: Event.h:67
void DrawWC(const std::vector< art::Ptr< rawdata::RawBeamlineWC > > &wcs)
void DrawWCTrack(const std::vector< art::Ptr< brb::WCTrack > > &wcTracks)
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
Definition: Ptr.h:464
RunNumber_t run() const
Definition: Event.h:77
void DrawCkov(const std::vector< art::Ptr< brb::Cherenkov > > &ckovs)
void testbeam::BeamlineEventDisplay::beginJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 158 of file BeamlineEventDisplay_module.cc.

References fDrawNOvA, fEVD, fFrame, fOutFile, and fOutputFileName.

Referenced by ~BeamlineEventDisplay().

158  {
159 
160  // set up
161  gStyle->SetOptStat(0);
162 
163  // Open out file (TODO: use TFileService)
164  fOutFile = new TFile(fOutputFileName.c_str(), "RECREATE");
165 
166  // Make frame
167  if (fDrawNOvA)
168  fFrame = new TH3I("frame", "", 1,0,2000, 1,-300,150, 1,-150,150);
169  else
170  fFrame = new TH3I("frame", "", 1,0,1500, 1,-150,10, 1,-50,50);
171  fFrame->GetXaxis()->SetTickLength(0);
172  fFrame->GetXaxis()->SetLabelSize(0);
173  fFrame->GetXaxis()->SetAxisColor(0);
174  fFrame->GetYaxis()->SetTickLength(0);
175  fFrame->GetYaxis()->SetLabelSize(0);
176  fFrame->GetYaxis()->SetAxisColor(0);
177  fFrame->GetZaxis()->SetTickLength(0);
178  fFrame->GetZaxis()->SetLabelSize(0);
179  fFrame->GetZaxis()->SetAxisColor(0);
180  fEVD = new TCanvas("evd", "", 1600, 800);
181 
182  return;
183 
184 }
void testbeam::BeamlineEventDisplay::beginRun ( const art::Run r)

Definition at line 195 of file BeamlineEventDisplay_module.cc.

References fOutFile, and art::Run::run().

Referenced by ~BeamlineEventDisplay().

195  {
196  if (!fOutFile->GetDirectory(Form("Run%d", r.run())))
197  fOutFile->mkdir(Form("Run%d", r.run()));
198  return;
199 }
RunNumber_t run() const
Definition: Run.h:47
void testbeam::BeamlineEventDisplay::beginSubRun ( const art::SubRun sr)

Definition at line 202 of file BeamlineEventDisplay_module.cc.

References fOutFile, art::SubRun::run(), and art::SubRun::subRun().

Referenced by ~BeamlineEventDisplay().

202  {
203  if (!fOutFile->GetDirectory(Form("Run%d/Spill%d", sr.run(), sr.subRun())))
204  fOutFile->mkdir(Form("Run%d/Spill%d", sr.run(), sr.subRun()));
205  return;
206 }
SubRunNumber_t subRun() const
Definition: SubRun.h:44
RunNumber_t run() const
Definition: SubRun.h:49
detail::CachedProducts& art::EventObserverBase::cachedProducts ( )
inlineprotectedinherited

Definition at line 79 of file EventObserverBase.h.

References art::EventObserverBase::selectors_.

80  {
81  return selectors_;
82  }
detail::CachedProducts selectors_
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::consumes ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::consumes ( InputTag const &  it)
inherited

Definition at line 146 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

147 {
148  if (!moduleContext_)
149  return ProductToken<T>::invalid();
150 
151  consumables_[BT].emplace_back(ConsumableType::Product,
152  TypeID{typeid(T)},
153  it.label(),
154  it.instance(),
155  it.process());
156  return ProductToken<T>{it};
157 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::consumesMany ( )
inherited

Definition at line 161 of file Consumer.h.

References T.

162 {
163  if (!moduleContext_)
164  return;
165 
166  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
167 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::consumesView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::consumesView ( InputTag const &  it)
inherited

Definition at line 171 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

172 {
173  if (!moduleContext_)
174  return ViewToken<T>::invalid();
175 
176  consumables_[BT].emplace_back(ConsumableType::ViewElement,
177  TypeID{typeid(T)},
178  it.label(),
179  it.instance(),
180  it.process());
181  return ViewToken<T>{it};
182 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make 
)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make,
label_t const &  engine_label 
)
inherited
CurrentProcessingContext const* art::EDAnalyzer::currentContext ( ) const
protectedinherited
void testbeam::BeamlineEventDisplay::DrawAnnotations ( )

Definition at line 302 of file BeamlineEventDisplay_module.cc.

References allInOneTrainingPlots::axis, and fEVD.

Referenced by analyze(), and ~BeamlineEventDisplay().

302  {
303 
304  fEVD->cd();
305 
306  TPolyLine3D* axis = new TPolyLine3D(2);
307  axis->SetLineWidth(2);
308  axis->SetLineColor(kBlack);
309 
310  axis->SetPoint(0, 100, -150, -100);
311  axis->SetPoint(1, 100, -150, -60);
312  axis->DrawClone();
313 
314  axis->SetPoint(0, 100, -150, -100);
315  axis->SetPoint(1, 100, -120, -100);
316  axis->DrawClone();
317 
318  axis->SetPoint(0, 100, -150, -100);
319  axis->SetPoint(1, 240, -150, -100);
320  axis->DrawClone();
321 
322  return;
323 
324 }
void testbeam::BeamlineEventDisplay::DrawCkov ( const std::vector< art::Ptr< brb::Cherenkov > > &  ckovs)

Definition at line 327 of file BeamlineEventDisplay_module.cc.

References beamlinegeo::BeamlineGeometry::BeamlineComponentPos(), beamlinegeo::Cherenkov, fEVD, fGeo, and kRed.

Referenced by analyze(), and ~BeamlineEventDisplay().

327  {
328 
329  fEVD->cd();
330 
332  BeamlineCoordSystem::Beamline);
333  TMarker3DBox* ckov = new TMarker3DBox();
334  ckov->SetLineWidth(2);
335  ckov->SetPosition(ckov_pos.Z(), ckov_pos.X(), ckov_pos.Y());
336  ckov->SetSize(150, 10, 10);
337 
338  if (ckovs.size())
339  ckov->SetLineColor(kRed);
340  else
341  ckov->SetLineColor(kGray);
342 
343  ckov->DrawClone();
344 
345  return;
346 
347 }
enum BeamMode kRed
TVector3 BeamlineComponentPos(BeamlineComponent component, BeamlineCoordSystem system) const
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
void testbeam::BeamlineEventDisplay::DrawMagnet ( )

Definition at line 350 of file BeamlineEventDisplay_module.cc.

References beamlinegeo::BeamlineGeometry::BeamlineComponentPos(), fEVD, fGeo, and kBlue.

Referenced by ~BeamlineEventDisplay().

350  {
351 
352  fEVD->cd();
353 
354  TVector3 magnet_pos = fGeo->BeamlineComponentPos(BeamlineComponent::Magnet,
355  BeamlineCoordSystem::Beamline);
356  TMarker3DBox* magnet = new TMarker3DBox();
357  magnet->SetLineColor(kBlue);
358  magnet->SetPosition(magnet_pos.Z(), magnet_pos.X(), magnet_pos.Y());
359  magnet->SetSize(100, 50, 50);
360  magnet->SetDirection(8*TMath::DegToRad(), 0);
361  magnet->DrawClone();
362 
363  return;
364 
365 }
TVector3 BeamlineComponentPos(BeamlineComponent component, BeamlineCoordSystem system) const
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
enum BeamMode kBlue
void testbeam::BeamlineEventDisplay::DrawNOvA ( )

Definition at line 368 of file BeamlineEventDisplay_module.cc.

References beamlinegeo::BeamlineGeometry::BeamlineComponentPos(), fEVD, and fGeo.

Referenced by analyze(), and ~BeamlineEventDisplay().

368  {
369 
370  fEVD->cd();
371 
372  TVector3 nova_pos = fGeo->BeamlineComponentPos(BeamlineComponent::NOvA,
373  BeamlineCoordSystem::Beamline);
374  TMarker3DBox* nova = new TMarker3DBox();
375  nova->SetFillColor(kBlack);
376  nova->SetFillStyle(3003);
377  nova->SetPosition(nova_pos.Z()+200, nova_pos.X(), nova_pos.Y());
378  nova->SetSize(200, 140, 140);
379  nova->Draw();
380 
381 }
TVector3 BeamlineComponentPos(BeamlineComponent component, BeamlineCoordSystem system) const
Hold drift constants from current run.
Definition: DriftCache.h:17
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
void testbeam::BeamlineEventDisplay::DrawNOvATracks ( const std::vector< art::Ptr< rb::Track > > &  tracks)

Definition at line 384 of file BeamlineEventDisplay_module.cc.

References dir, febshutoff_auto::end, fEVD, fGeo, kGreen, beamlinegeo::BeamlineGeometry::NOvADetectorToBeamlineCoords(), and febshutoff_auto::start.

Referenced by analyze(), and ~BeamlineEventDisplay().

384  {
385 
386  fEVD->cd();
387 
388  TPolyLine3D* track = new TPolyLine3D(2);
389  track->SetLineColor(kGreen);
390 
391  for (std::vector<art::Ptr<rb::Track> >::const_iterator trackIt = tracks.begin();
392  trackIt != tracks.end(); ++trackIt) {
393 
394  TVector3 start = (*trackIt)->Start();
395  TVector3 dir = (*trackIt)->Dir().Unit();
396 
397  // don't deal with backward-going tracks right now
398  if (dir.Z() < 0)
399  continue;
400 
401  // find end point at z = 400
402  TVector3 normal(0,0,1), point(0,0,400);
403  float p = (normal*(point-start))/(normal*dir);
404  TVector3 end = start + (p*dir);
405 
406  TVector3 start_bl = fGeo->NOvADetectorToBeamlineCoords(start);
407  TVector3 end_bl = fGeo->NOvADetectorToBeamlineCoords(end);
408 
409  track->SetPoint(0, start_bl.Z(), start_bl.X(), start_bl.Y());
410  track->SetPoint(1, end_bl.Z(), end_bl.X(), end_bl.Y());
411  track->DrawClone();
412 
413  }
414 
415  return;
416 
417 }
TVector3 NOvADetectorToBeamlineCoords(TVector3 vec) const
const char * p
Definition: xmltok.h:285
Definition: event.h:19
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
TDirectory * dir
Definition: macro.C:5
enum BeamMode kGreen
void testbeam::BeamlineEventDisplay::DrawNOvATracks ( const std::vector< art::Ptr< rb::Prong > > &  prongs)

Definition at line 420 of file BeamlineEventDisplay_module.cc.

References dir, febshutoff_auto::end, fEVD, fGeo, kGreen, beamlinegeo::BeamlineGeometry::NOvADetectorToBeamlineCoords(), and febshutoff_auto::start.

420  {
421 
422  fEVD->cd();
423 
424  TPolyLine3D* track = new TPolyLine3D(2);
425  track->SetLineColor(kGreen);
426 
427  for (std::vector<art::Ptr<rb::Prong> >::const_iterator prongIt = prongs.begin();
428  prongIt != prongs.end(); ++prongIt) {
429 
430  TVector3 start = (*prongIt)->Start();
431  TVector3 dir = (*prongIt)->Dir().Unit();
432 
433  // don't deal with backward-going prongs right now
434  if (dir.Z() < 0)
435  continue;
436 
437  // find end point at z = 400
438  TVector3 normal(0,0,1), point(0,0,400);
439  float p = (normal*(point-start))/(normal*dir);
440  TVector3 end = start + (p*dir);
441 
442  TVector3 start_bl = fGeo->NOvADetectorToBeamlineCoords(start);
443  TVector3 end_bl = fGeo->NOvADetectorToBeamlineCoords(end);
444 
445  track->SetPoint(0, start_bl.Z(), start_bl.X(), start_bl.Y());
446  track->SetPoint(1, end_bl.Z(), end_bl.X(), end_bl.Y());
447  track->DrawClone();
448 
449  }
450 
451  return;
452 
453 }
TVector3 NOvADetectorToBeamlineCoords(TVector3 vec) const
const char * p
Definition: xmltok.h:285
Definition: event.h:19
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
TDirectory * dir
Definition: macro.C:5
enum BeamMode kGreen
Definition: fwd.h:28
void testbeam::BeamlineEventDisplay::DrawToF ( const std::vector< art::Ptr< brb::BeamlineDigit > > &  tofDigits)

Definition at line 456 of file BeamlineEventDisplay_module.cc.

References beamlinegeo::BeamlineGeometry::BeamlineComponentPos(), fDrawDSToF1, fDrawDSToF2, fDrawUSToF, fEVD, fGeo, and kRed.

Referenced by analyze(), and ~BeamlineEventDisplay().

456  {
457 
458  fEVD->cd();
459 
460  // Find channels with hits
461  std::vector<std::vector<unsigned int> > tofHits(3, std::vector<unsigned int>(4, 0));
462  for (std::vector<art::Ptr<brb::BeamlineDigit> >::const_iterator tofDigitIt = tofDigits.begin();
463  tofDigitIt != tofDigits.end(); ++tofDigitIt)
464  ++tofHits[(*tofDigitIt)->ChannelID().Detector][(*tofDigitIt)->ChannelID().Channel];
465 
466  TMarker3DBox* tof = new TMarker3DBox();
467  tof->SetLineWidth(2);
468  tof->SetLineColor(kGray);
469  tof->SetSize(4, 3.5, 3.5);
470 
471  // us-tof
472  if (fDrawUSToF) {
473  TVector3 tofus_pos = fGeo->BeamlineComponentPos(BeamlineComponent::ToFUS,
474  BeamlineCoordSystem::Beamline);
475  if (tofHits[0][0] > 0)
476  tof->SetLineColor(kRed);
477  else
478  tof->SetLineColor(kGray);
479  tof->SetPosition(tofus_pos.Z(), tofus_pos.X()+3.5, tofus_pos.Y()+3.5);
480  tof->DrawClone();
481  if (tofHits[0][1] > 0)
482  tof->SetLineColor(kRed);
483  else
484  tof->SetLineColor(kGray);
485  tof->SetPosition(tofus_pos.Z(), tofus_pos.X()-3.5, tofus_pos.Y()+3.5);
486  tof->DrawClone();
487  if (tofHits[0][2] > 0)
488  tof->SetLineColor(kRed);
489  else
490  tof->SetLineColor(kGray);
491  tof->SetPosition(tofus_pos.Z(), tofus_pos.X()+3.5, tofus_pos.Y()-3.5);
492  tof->DrawClone();
493  if (tofHits[0][3] > 0)
494  tof->SetLineColor(kRed);
495  else
496  tof->SetLineColor(kGray);
497  tof->SetPosition(tofus_pos.Z(), tofus_pos.X()-3.5, tofus_pos.Y()-3.5);
498  tof->DrawClone();
499  }
500 
501  // ds-tof-1
502  if (fDrawDSToF1) {
503  TVector3 tofds_pos = fGeo->BeamlineComponentPos(BeamlineComponent::ToFDS,
504  BeamlineCoordSystem::Beamline);
505  if (tofHits[1][0] > 0)
506  tof->SetLineColor(kRed);
507  else
508  tof->SetLineColor(kGray);
509  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()+3.5, tofds_pos.Y()+3.5);
510  tof->DrawClone();
511  if (tofHits[1][1] > 0)
512  tof->SetLineColor(kRed);
513  else
514  tof->SetLineColor(kGray);
515  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()-3.5, tofds_pos.Y()+3.5);
516  tof->DrawClone();
517  if (tofHits[1][2] > 0)
518  tof->SetLineColor(kRed);
519  else
520  tof->SetLineColor(kGray);
521  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()+3.5, tofds_pos.Y()-3.5);
522  tof->DrawClone();
523  if (tofHits[1][3] > 0)
524  tof->SetLineColor(kRed);
525  else
526  tof->SetLineColor(kGray);
527  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()-3.5, tofds_pos.Y()-3.5);
528  tof->DrawClone();
529  }
530 
531  // ds-tof-2
532  if (fDrawDSToF2) {
533  TVector3 tofds_pos = fGeo->BeamlineComponentPos(BeamlineComponent::ToFDSSiPM,
534  BeamlineCoordSystem::Beamline);
535  if (tofHits[2][0] > 0)
536  tof->SetLineColor(kRed);
537  else
538  tof->SetLineColor(kGray);
539  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()+3.5, tofds_pos.Y()+3.5);
540  tof->DrawClone();
541  if (tofHits[2][1] > 0)
542  tof->SetLineColor(kRed);
543  else
544  tof->SetLineColor(kGray);
545  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()-3.5, tofds_pos.Y()+3.5);
546  tof->DrawClone();
547  if (tofHits[2][2] > 0)
548  tof->SetLineColor(kRed);
549  else
550  tof->SetLineColor(kGray);
551  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()+3.5, tofds_pos.Y()-3.5);
552  tof->DrawClone();
553  if (tofHits[2][3] > 0)
554  tof->SetLineColor(kRed);
555  else
556  tof->SetLineColor(kGray);
557  tof->SetPosition(tofds_pos.Z(), tofds_pos.X()-3.5, tofds_pos.Y()-3.5);
558  tof->DrawClone();
559  }
560 
561  return;
562 
563 }
enum BeamMode kRed
TVector3 BeamlineComponentPos(BeamlineComponent component, BeamlineCoordSystem system) const
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
Definition: fwd.h:28
void testbeam::BeamlineEventDisplay::DrawWC ( const std::vector< art::Ptr< rawdata::RawBeamlineWC > > &  wcs)

Definition at line 566 of file BeamlineEventDisplay_module.cc.

References std::abs(), beamlinegeo::BeamlineGeometry::BeamlineComponentPos(), fEVD, fGeo, check_time_usage::float, kRed, make_pair(), beamlinegeo::BeamlineGeometry::NumWCPlaneWires(), and beamlinegeo::BeamlineGeometry::WCWirePitch().

Referenced by analyze(), and ~BeamlineEventDisplay().

566  {
567 
568  fEVD->cd();
569 
570  std::vector<TVector3> wc_poss = {fGeo->BeamlineComponentPos(BeamlineComponent::WC1,
571  BeamlineCoordSystem::Beamline),
572  fGeo->BeamlineComponentPos(BeamlineComponent::WC2,
573  BeamlineCoordSystem::Beamline),
574  fGeo->BeamlineComponentPos(BeamlineComponent::WC3,
575  BeamlineCoordSystem::Beamline),
576  fGeo->BeamlineComponentPos(BeamlineComponent::WC4,
577  BeamlineCoordSystem::Beamline)};
578 
579  unsigned int num_wires = fGeo->NumWCPlaneWires();
580  float wire_pitch = fGeo->WCWirePitch();
581  float half_wc = wire_pitch*(float)num_wires/2.;
582 
583  TMarker3DBox* wc = new TMarker3DBox();
584  wc->SetLineWidth(2);
585  wc->SetLineColor(kGray);
586  wc->SetSize(6, 7.5, 7.5);
587 
588  TPolyLine3D* wire = new TPolyLine3D(2);
589  wire->SetLineColor(kRed);
590 
591  TPolyMarker3D* hit = new TPolyMarker3D(1);
592  hit->SetMarkerColor(kRed);
593  hit->SetMarkerStyle(8);
594  hit->SetMarkerSize(1);
595 
596  // draw geometry
597  for (std::vector<TVector3>::const_iterator wcIt = wc_poss.begin(); wcIt != wc_poss.end(); ++wcIt) {
598  wc->SetPosition(wcIt->Z(), wcIt->X(), wcIt->Y());
599  wc->DrawClone();
600  }
601 
602  // draw signals
603  for (std::vector<art::Ptr<rawdata::RawBeamlineWC> >::const_iterator wcIt = wcs.begin();
604  wcIt != wcs.end(); ++wcIt) {
605 
606  TVector3 wc_pos = wc_poss[(*wcIt)->DetectorID().Detector];
607 
608  // Find coincident hits
609  std::vector<std::pair<int, int> > coincidentChannels;
610 
611  // x hits
612  std::vector<rawdata::RawBeamlineWC::WCPulse> x_pulses = (*wcIt)->XPulses();
613  for (std::vector<rawdata::RawBeamlineWC::WCPulse>::const_iterator x_pulseIt = x_pulses.begin();
614  x_pulseIt != x_pulses.end(); ++x_pulseIt) {
615  wire->SetPoint(0, wc_pos.Z(), wc_pos.X()-(x_pulseIt->Channel*wire_pitch)+half_wc, wc_pos.Y()+half_wc);
616  wire->SetPoint(1, wc_pos.Z(), wc_pos.X()-(x_pulseIt->Channel*wire_pitch)+half_wc, wc_pos.Y()-half_wc);
617  wire->DrawClone();
618  }
619 
620  // y hits
621  std::vector<rawdata::RawBeamlineWC::WCPulse> y_pulses = (*wcIt)->YPulses();
622  for (std::vector<rawdata::RawBeamlineWC::WCPulse>::const_iterator y_pulseIt = y_pulses.begin();
623  y_pulseIt != y_pulses.end(); ++y_pulseIt) {
624  wire->SetPoint(0, wc_pos.Z(), wc_pos.X()+half_wc, wc_pos.Y()+half_wc-(y_pulseIt->Channel*wire_pitch));
625  wire->SetPoint(1, wc_pos.Z(), wc_pos.X()-half_wc, wc_pos.Y()+half_wc-(y_pulseIt->Channel*wire_pitch));
626  wire->DrawClone();
627  for (std::vector<rawdata::RawBeamlineWC::WCPulse>::const_iterator x_pulseIt = x_pulses.begin();
628  x_pulseIt != x_pulses.end(); ++x_pulseIt)
629  if (std::abs(x_pulseIt->Time-y_pulseIt->Time) < 10)
630  coincidentChannels.push_back(std::make_pair(x_pulseIt->Channel, y_pulseIt->Channel));
631  }
632 
633  // coincident hits
634  for (std::vector<std::pair<int, int> >::const_iterator coincChannelIt = coincidentChannels.begin();
635  coincChannelIt != coincidentChannels.end(); ++coincChannelIt) {
636  hit->SetPoint(0, wc_pos.Z(),
637  wc_pos.X()-(coincChannelIt->first*wire_pitch)+half_wc,
638  wc_pos.Y()+half_wc-(coincChannelIt->second*wire_pitch));
639  hit->DrawClone();
640  }
641 
642  }
643 
644  return;
645 
646 }
enum BeamMode kRed
std::pair< Spectrum *, CheatDecomp * > make_pair(SpectrumLoaderBase &loader_data, SpectrumLoaderBase &loader_mc, HistAxis *axis, Cut *cut, const SystShifts &shift, const Var &wei)
Definition: DataMCLoad.C:336
float abs(float number)
Definition: d0nt_math.hpp:39
TVector3 BeamlineComponentPos(BeamlineComponent component, BeamlineCoordSystem system) const
float WCWirePitch() const
Wire chamber wire pitch.
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
Definition: structs.h:12
unsigned int NumWCPlaneWires() const
Number of wires on each WC plane.
Definition: fwd.h:28
void testbeam::BeamlineEventDisplay::DrawWCTrack ( const std::vector< art::Ptr< brb::WCTrack > > &  wcTracks)

Definition at line 649 of file BeamlineEventDisplay_module.cc.

References beamlinegeo::BeamlineGeometry::BeamlineComponentPos(), DEFINE_ART_MODULE(), fEVD, fGeo, fUseWCHitPosition, kBlue, ana::Sqrt(), febshutoff_auto::start, chisquared::theta, x_nova, and y_nova.

Referenced by analyze(), and ~BeamlineEventDisplay().

649  {
650 
651  fEVD->cd();
652 
653  TVector3 wc3_pos = fGeo->BeamlineComponentPos(BeamlineComponent::WC3,
654  BeamlineCoordSystem::Beamline);
655  TVector3 nova_pos = fGeo->BeamlineComponentPos(BeamlineComponent::NOvA,
656  BeamlineCoordSystem::Beamline);
657 
658  TPolyLine3D* track = new TPolyLine3D(2);
659  track->SetLineColor(kBlue);
660 
661  for (std::vector<art::Ptr<brb::WCTrack> >::const_iterator wcTrackIt = wcTracks.begin();
662  wcTrackIt != wcTracks.end(); ++wcTrackIt) {
663 
664  // Upstream
665  if (fUseWCHitPosition) {
666  TVector3 start_us = (*wcTrackIt)->WCHit(0);
667  TVector3 end_us = (*wcTrackIt)->WCHit(1);
668  track->SetPoint(0, start_us.Z(), start_us.X(), start_us.Y());
669  track->SetPoint(1, end_us.Z(), end_us.X(), end_us.Y());
670  track->DrawClone();
671  }
672 
673  // project to front face
674  // NB in order to use WCHitPosition, need recently reconstructed file
675  TVector3 start;
676  if (fUseWCHitPosition)
677  start = (*wcTrackIt)->WCHit(2);
678  else
679  start = wc3_pos;
680  float z_diff = nova_pos.Z()-start.Z();
681  float theta = (*wcTrackIt)->Theta();
682  float phi = (*wcTrackIt)->Phi();
683 
684  // use angles to get projection
685  float x_nova = TMath::Sqrt( TMath::Power(z_diff*TMath::Tan(theta),2) / (1 + TMath::Power(TMath::Tan(phi),2)) );
686  if (phi > TMath::Pi()/2. or phi < TMath::Pi()/-2.)
687  x_nova *= -1.;
688  float y_nova = x_nova * TMath::Tan(phi);
689 
690  track->SetPoint(0, start.Z(), start.X(), start.Y());
691  track->SetPoint(1, nova_pos.Z(), x_nova+start.X(), y_nova+start.Y());
692 
693  track->DrawClone();
694 
695  }
696 
697  return;
698 
699 }
Definition: event.h:19
double y_nova[4]
Definition: Xsec_final.C:38
double x_nova[4]
Definition: Xsec_final.C:37
TVector3 BeamlineComponentPos(BeamlineComponent component, BeamlineCoordSystem system) const
art::ServiceHandle< beamlinegeo::BeamlineGeometry > fGeo
Var Sqrt(const Var &v)
Use to take sqrt of a var.
Definition: Var.cxx:326
enum BeamMode kBlue
Definition: fwd.h:28
void testbeam::BeamlineEventDisplay::endJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 187 of file BeamlineEventDisplay_module.cc.

References fEVD, and fOutFile.

Referenced by ~BeamlineEventDisplay().

187  {
188  delete fEVD;
189  fOutFile->Close();
190  delete fOutFile;
191  return;
192 }
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
art::Handle<art::TriggerResults> art::EventObserverBase::getTriggerResults ( Event const &  e) const
inlineinherited

Definition at line 61 of file EventObserverBase.h.

References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.

62  {
64  }
detail::CachedProducts selectors_
art::Handle< art::TriggerResults > getOneTriggerResults(Event const &) const
Float_t e
Definition: plot.C:35
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::mayConsume ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::mayConsume ( InputTag const &  it)
inherited

Definition at line 189 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

190 {
191  if (!moduleContext_)
192  return ProductToken<T>::invalid();
193 
194  consumables_[BT].emplace_back(ConsumableType::Product,
195  TypeID{typeid(T)},
196  it.label(),
197  it.instance(),
198  it.process());
199  return ProductToken<T>{it};
200 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::mayConsumeMany ( )
inherited

Definition at line 204 of file Consumer.h.

References T.

205 {
206  if (!moduleContext_)
207  return;
208 
209  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
210 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::mayConsumeView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::mayConsumeView ( InputTag const &  it)
inherited

Definition at line 214 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

215 {
216  if (!moduleContext_)
217  return ViewToken<T>::invalid();
218 
219  consumables_[BT].emplace_back(ConsumableType::ViewElement,
220  TypeID{typeid(T)},
221  it.label(),
222  it.instance(),
223  it.process());
224  return ViewToken<T>{it};
225 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
bool art::EventObserverBase::modifiesEvent ( ) const
inlineinherited

Definition at line 25 of file EventObserverBase.h.

26  {
27  return false;
28  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
std::string const& art::EventObserverBase::processName ( ) const
inlineinherited
void testbeam::BeamlineEventDisplay::reconfigure ( const fhicl::ParameterSet pset)

Definition at line 132 of file BeamlineEventDisplay_module.cc.

References fDrawCherenkov, fDrawDSToF1, fDrawDSToF2, fDrawNOvA, fDrawNOvAProngs, fDrawNOvATracks, fDrawUSToF, fDrawWC, fDrawWCReco, fOutputFileName, fRawCkovDigitLabel, fRawToFDigitLabel, fRawWCLabel, fRecoBPTrackLabel, fRecoCkovLabel, fRecoProngLabel, fRecoToFDigitLabel, fRecoWCTrackLabel, fUseWCHitPosition, fhicl::ParameterSet::get(), and string.

Referenced by BeamlineEventDisplay(), and ~BeamlineEventDisplay().

132  {
133  fRawToFDigitLabel = pset.get<std::string>("RawToFDigitLabel");
134  fRawCkovDigitLabel = pset.get<std::string>("RawCkovDigitLabel");
135  fRawWCLabel = pset.get<std::string>("RawWCLabel");
136  fRecoToFDigitLabel = pset.get<std::string>("RecoToFDigitLabel");
137  fRecoCkovLabel = pset.get<std::string>("RecoCkovLabel");
138  fRecoWCTrackLabel = pset.get<std::string>("RecoWCTrackLabel");
139  fRecoProngLabel = pset.get<std::string>("RecoProngLabel");
140  fRecoBPTrackLabel = pset.get<std::string>("RecoBPTrackLabel");
141 
142  fDrawNOvA = pset.get<bool>("DrawNOvA");
143  fDrawNOvATracks = pset.get<bool>("DrawNOvATracks");
144  fDrawNOvAProngs = pset.get<bool>("DrawNOvAProngs");
145  fDrawWC = pset.get<bool>("DrawWC");
146  fDrawWCReco = pset.get<bool>("DrawWCReco");
147  fDrawUSToF = pset.get<bool>("DrawUSToF");
148  fDrawDSToF1 = pset.get<bool>("DrawDSToF1");
149  fDrawDSToF2 = pset.get<bool>("DrawDSToF2");
150  fDrawCherenkov = pset.get<bool>("DrawCherenkov");
151 
152  fUseWCHitPosition = pset.get<bool>("UseWCHitPosition");
153 
154  fOutputFileName = pset.get<std::string>("OutputFileName");
155 }
T get(std::string const &key) const
Definition: ParameterSet.h:231
enum BeamMode string
void art::EventObserverBase::registerProducts ( MasterProductRegistry ,
ProductDescriptions ,
ModuleDescription const &   
)
inlineinherited

Definition at line 33 of file EventObserverBase.h.

References string.

36  {}
fhicl::ParameterSetID art::EventObserverBase::selectorConfig ( ) const
inlineinherited

Definition at line 56 of file EventObserverBase.h.

References art::EventObserverBase::selector_config_id_.

57  {
58  return selector_config_id_;
59  }
fhicl::ParameterSetID selector_config_id_
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

Referenced by art::RootOutput::endJob().

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited
bool art::EventObserverBase::wantAllEvents ( ) const
inlineinherited

Definition at line 46 of file EventObserverBase.h.

References art::EventObserverBase::wantAllEvents_.

Referenced by art::RootOutput::RootOutput().

47  {
48  return wantAllEvents_;
49  }
bool art::EventObserverBase::wantEvent ( Event const &  e)
inlineinherited

Definition at line 51 of file EventObserverBase.h.

References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().

52  {
53  return selectors_.wantEvent(e);
54  }
detail::CachedProducts selectors_
Float_t e
Definition: plot.C:35
bool wantEvent(Event const &)
std::string art::EDAnalyzer::workerType ( ) const
inlineinherited

Definition at line 109 of file EDAnalyzer.h.

References art::EDAnalyzer::currentContext().

110  {
111  return "WorkerT<EDAnalyzer>";
112  }

Member Data Documentation

bool testbeam::BeamlineEventDisplay::fDrawCherenkov
private

Definition at line 108 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawDSToF1
private

Definition at line 106 of file BeamlineEventDisplay_module.cc.

Referenced by DrawToF(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawDSToF2
private

Definition at line 107 of file BeamlineEventDisplay_module.cc.

Referenced by DrawToF(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawNOvA
private

Definition at line 100 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), beginJob(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawNOvAProngs
private

Definition at line 102 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawNOvATracks
private

Definition at line 101 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawUSToF
private

Definition at line 105 of file BeamlineEventDisplay_module.cc.

Referenced by DrawToF(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawWC
private

Definition at line 103 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fDrawWCReco
private

Definition at line 104 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

TCanvas* testbeam::BeamlineEventDisplay::fEVD
private
TH3I* testbeam::BeamlineEventDisplay::fFrame
private

Definition at line 117 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and beginJob().

art::ServiceHandle<beamlinegeo::BeamlineGeometry> testbeam::BeamlineEventDisplay::fGeo
private
TFile* testbeam::BeamlineEventDisplay::fOutFile
private

Definition at line 120 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), beginJob(), beginRun(), beginSubRun(), and endJob().

std::string testbeam::BeamlineEventDisplay::fOutputFileName
private

Definition at line 121 of file BeamlineEventDisplay_module.cc.

Referenced by beginJob(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRawCkovDigitLabel
private

Definition at line 91 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRawToFDigitLabel
private

Definition at line 90 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRawWCLabel
private

Definition at line 92 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRecoBPTrackLabel
private

Definition at line 97 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRecoCkovLabel
private

Definition at line 94 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRecoProngLabel
private

Definition at line 96 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRecoToFDigitLabel
private

Definition at line 93 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

std::string testbeam::BeamlineEventDisplay::fRecoWCTrackLabel
private

Definition at line 95 of file BeamlineEventDisplay_module.cc.

Referenced by analyze(), and reconfigure().

bool testbeam::BeamlineEventDisplay::fUseWCHitPosition
private

Definition at line 111 of file BeamlineEventDisplay_module.cc.

Referenced by DrawWCTrack(), and reconfigure().


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