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

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 DetectorRateShutOff (const fhicl::ParameterSet &pset)
 
void reconfigure (const fhicl::ParameterSet &pset)
 
void analyze (const art::Event &evt)
 
void beginJob ()
 
void endJob ()
 
void StartSpill ()
 
void EndSpill ()
 
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 fRawDataLabel
 
std::string fSpillInfoLabel
 
std::string fSpillCountersLabel
 
std::string fHoughModuleLabel
 
int fSpillNumber
 
int fPreviousTriggerMaster
 
float fTimeBin
 
double fMC6IC
 
double fMC6Col
 
std::vector< std::vector< unsigned long long > > fHitTimes
 
std::vector< std::vector< unsigned long long > > fShutOffTimes
 
std::vector< double > fMuonCounters
 
std::vector< std::pair< double, double > > fHoughX
 
std::vector< std::pair< double, double > > fHoughY
 
TH1F * hMC6IC
 
TH1F * hMC6Col
 
TH1I * hShutOffProxyDiff
 
TH1I * hWestShutOffProxyDiff
 
TH1I * hEastShutOffProxyDiff
 
TH1I * hTopShutOffProxyDiff
 
TH1I * hBottomShutOffProxyDiff
 
TH1D * hHoughRate
 
TH1D * hEastHoughRate
 
TH1D * hWestHoughRate
 
TH1D * hTopHoughRate
 
TH1D * hBottomHoughRate
 
TGraph * hHoughRateMC6IC
 
TGraph * hEastHoughRateMC6IC
 
TGraph * hWestHoughRateMC6IC
 
TGraph * hTopHoughRateMC6IC
 
TGraph * hBottomHoughRateMC6IC
 
TGraph * hHoughRateMC6Col
 
TGraph * hEastHoughRateMC6Col
 
TGraph * hWestHoughRateMC6Col
 
TGraph * hTopHoughRateMC6Col
 
TGraph * hBottomHoughRateMC6Col
 
TGraph * hShutOffsMC6IC
 
TGraph * hWestShutOffsMC6IC
 
TGraph * hEastShutOffsMC6IC
 
TGraph * hTopShutOffsMC6IC
 
TGraph * hBottomShutOffsMC6IC
 
TGraph * hProxyShutOffsMC6IC
 
TGraph * hWestProxyShutOffsMC6IC
 
TGraph * hEastProxyShutOffsMC6IC
 
TGraph * hTopProxyShutOffsMC6IC
 
TGraph * hBottomProxyShutOffsMC6IC
 
TGraph * hShutOffsMuonCounters
 
TGraph * hWestCountersShutOffs
 
TGraph * hEastCountersShutOffs
 
TGraph * hTopCountersShutOffs
 
TGraph * hBottomCountersShutOffs
 
TGraph * hShutOffsHoughTracks
 
TGraph * hWestHoughsShutOffs
 
TGraph * hEastHoughsShutOffs
 
TGraph * hTopHoughsShutOffs
 
TGraph * hBottomHoughsShutOffs
 
TGraph * hShutOffsRelHoughTracks
 
TGraph * hWestRelHoughsShutOffs
 
TGraph * hEastRelHoughsShutOffs
 
TGraph * hTopRelHoughsShutOffs
 
TGraph * hBottomRelHoughsShutOffs
 
TGraph * hProxyShutOffsHoughTracks
 
TGraph * hWestHoughsProxyShutOffs
 
TGraph * hEastHoughsProxyShutOffs
 
TGraph * hTopHoughsProxyShutOffs
 
TGraph * hBottomHoughsProxyShutOffs
 
TGraph * hProxyShutOffsRelHoughTracks
 
TGraph * hWestRelHoughsProxyShutOffs
 
TGraph * hEastRelHoughsProxyShutOffs
 
TGraph * hTopRelHoughsProxyShutOffs
 
TGraph * hBottomRelHoughsProxyShutOffs
 
std::map< unsigned int, TH1I * > hFEBSpillProfile
 
TMultiGraph * hBenfordLaw
 
TMultiGraph * hBenfordLawNoShutOff
 
TMultiGraph * hBenfordLawShutOff
 
TH1F * hBenfordLawExpoConstNoShutOff
 
TH1F * hBenfordLawExpoConstShutOff
 
art::ServiceHandle< geo::GeometryfGeo
 
art::ServiceHandle< cmap::CMapfChannelMap
 
art::ServiceHandle< art::TFileServicefFileService
 

Detailed Description

Definition at line 61 of file DetectorRateShutOff_module.cc.

Member Typedef Documentation

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

tbana::DetectorRateShutOff::DetectorRateShutOff ( const fhicl::ParameterSet pset)
explicit

Definition at line 192 of file DetectorRateShutOff_module.cc.

References reconfigure().

192  : EDAnalyzer(pset) {
193  this->reconfigure(pset);
194 }
void reconfigure(const fhicl::ParameterSet &pset)
EDAnalyzer(Table< Config > const &config)
Definition: EDAnalyzer.h:100

Member Function Documentation

void tbana::DetectorRateShutOff::analyze ( const art::Event evt)

Definition at line 360 of file DetectorRateShutOff_module.cc.

References b, plot_validation_datamc::c, getBrightness::cell, geo::GeometryBase::CellInfo(), std::cos(), febshutoff_auto::dcm, EndSpill(), fChannelMap, APDHVSetting::feb, fGeo, fHitTimes, fHoughModuleLabel, fHoughX, fHoughY, art::fill_ptr_vector(), fMC6Col, fMC6IC, fPreviousTriggerMaster, fRawDataLabel, fShutOffTimes, fSpillInfoLabel, fSpillNumber, rawdata::RawTrigger::fTriggerHeader_MasterTriggerNumber, rawdata::RawTrigger::fTriggerHeader_TriggerNumber, rawdata::RawTrigger::fTriggerRange_TriggerLength, art::DataViewImpl::getByLabel(), cmap::dataprov::CMap::GetCell(), cmap::dataprov::CMap::getDCM(), cmap::dataprov::CMap::getFEB(), cmap::dataprov::CMap::GetPlane(), geo::kX, geo::kY, m, make_pair(), sumdata::MCenterData::mc6col, sumdata::MCenterData::mc6int, NDAPDHVSetting::plane, elec2geo::pos, std::sin(), StartSpill(), fabricate::status, chisquared::theta, and POTSpillRate::view.

360  {
361 
362  // Get ifdb info
363  art::Handle<sumdata::MCenterData> spillInfoHandle;
364  if (evt.getByLabel(fSpillInfoLabel, spillInfoHandle)) {
365  fMC6IC = spillInfoHandle->mc6int;
366  fMC6Col = spillInfoHandle->mc6col;
367  }
368  // art::Handle<sumdata::TBSpillCounters> spillCountersHandle;
369  // sumdata::TBSpillCounters spillCounters;
370  // if (evt.getByLabel(fSpillCountersLabel, spillCountersHandle))
371  // spillCounters = *spillCountersHandle;
372 
373  // Get hits
375  std::vector<art::Ptr<rawdata::RawDigit> > digits;
376  if (evt.getByLabel(fRawDataLabel, digitHandle))
377  art::fill_ptr_vector(digits, digitHandle);
378 
379  // Get trigger information
381  std::vector<art::Ptr<rawdata::RawTrigger> > triggers;
382  if (evt.getByLabel(fRawDataLabel, triggerHandle))
383  art::fill_ptr_vector(triggers, triggerHandle);
384  const art::Ptr<rawdata::RawTrigger> trigger = triggers.at(0);
385 
386  // Get Hough tracks
388  std::vector<art::Ptr<rb::HoughResult> > houghs;
389  if (evt.getByLabel(fHoughModuleLabel, houghHandle))
390  art::fill_ptr_vector(houghs, houghHandle);
391 
392  long long int trigger_master = trigger->fTriggerHeader_MasterTriggerNumber;
393  unsigned long long trigger_number = trigger->fTriggerHeader_TriggerNumber;
394  unsigned long long trigger_seq = trigger_number - trigger_master;
395  uint32_t trigger_len = trigger->fTriggerRange_TriggerLength;
396  // unsigned long long trigger_time = trigger->fTriggerTimingMarker_TimeStart; // subtrigger time in NOvA
397 
398  // Time of this subtrigger wrt the start of the spill
399  unsigned long long subtrigger_time = trigger_len * trigger_seq * 500; // ns
400 
401  // New spill
402  if (trigger_master != fPreviousTriggerMaster) {
403  if (fSpillNumber >= 0)
404  this->EndSpill();
405  ++fSpillNumber;
406  fPreviousTriggerMaster = trigger_master;
407  this->StartSpill();
408  }
409 
410  // // Muon counters
411  // if (fMuonCounters[0] < 0 and spillCounters.detface1 > 0)
412  // fMuonCounters = {spillCounters.detface1, spillCounters.detface2, spillCounters.detface3, spillCounters.detface4};
413 
414  // Look at hits
415  for (std::vector<art::Ptr<rawdata::RawDigit> >::const_iterator digitIt = digits.begin();
416  digitIt != digits.end(); ++digitIt) {
417 
418  // geometry
420  double pos[3], dpos[3];
421  uint plane = fChannelMap->GetPlane(digitIt->get());
422  uint cell = fChannelMap->GetCell(digitIt->get());
423  fGeo->CellInfo(plane, cell, &view, pos, dpos);
424 
425  // channel mapping
426  uint32_t dchan = (*digitIt)->DaqChannel();
427  uint8_t status = (*digitIt)->fFEBStatus;
428  int feb = fChannelMap->getFEB(dchan);
429  int dcm = fChannelMap->getDCM(dchan);
430  int feb_det = feb+(64*(dcm-1));
431 
432  // time
433  int32_t hit_time = (*digitIt)->TDC() * 15.625; // ns
434  unsigned long long hit_time_spill = hit_time + subtrigger_time; // ns
435 
436  fHitTimes.at(feb_det).push_back(hit_time_spill);
437  if (status == 32)
438  fShutOffTimes.at(feb_det).push_back(hit_time_spill);
439 
440  }
441 
442  // Look at Hough lines
443  for (std::vector<art::Ptr<rb::HoughResult> >::const_iterator houghIt = houghs.begin();
444  houghIt != houghs.end(); ++houghIt) {
445 
446  geo::View_t view = (*houghIt)->fView;
447  double time = (*houghIt)->fTNSlo + subtrigger_time; // ns
448 
449  double Z0 = (*houghIt)->fZ0;
450  double XY0 = (*houghIt)->fXY0;
451 
452  // get the peaks
453  const std::vector<rb::HoughPeak> peaks = (*houghIt)->fPeak;
454  for (std::vector<rb::HoughPeak>::const_iterator peakIt = peaks.begin(); peakIt != peaks.end(); ++peakIt) {
455 
456  double rho = peakIt->fRho;
457  double theta = peakIt->fTheta;
458 
459  // calculate slope and intercept
460  double c = cos(theta);
461  double s = sin(theta);
462  if(s == 0) s = 1.0E-9;
463  double m = -c/s;
464  double b = rho/s - m*Z0 + XY0;
465 
466  if (view == geo::kX)
467  fHoughX.push_back(std::make_pair(time, b));
468  if(view == geo::kY)
469  fHoughY.push_back(std::make_pair(time, b));
470 
471  }
472  }
473 
474  return;
475 
476 }
int status
Definition: fabricate.py:1613
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
Vertical planes which measure X.
Definition: PlaneGeo.h:28
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
Horizontal planes which measure Y.
Definition: PlaneGeo.h:29
void CellInfo(unsigned int ip, unsigned int ic, View_t *view=0, double *pos=0, double *dpos=0) const
double mc6int
MC6 intensity [ppp].
Definition: MCenterData.h:25
const XML_Char * s
Definition: expat.h:262
unsigned long long fTriggerHeader_MasterTriggerNumber
Definition: RawTrigger.h:35
art::ServiceHandle< geo::Geometry > fGeo
double mc6col
MC6 vertical collimator opening [mm].
Definition: MCenterData.h:26
unsigned short GetPlane(const rawdata::RawDigit *dig)
Definition: CMap.cxx:285
std::vector< std::vector< unsigned long long > > fShutOffTimes
int getDCM(daqchannelmap::dchan)
Definition: CMap.cxx:191
int getFEB(daqchannelmap::dchan)
Definition: CMap.cxx:206
T sin(T number)
Definition: d0nt_math.hpp:132
unsigned long long fTriggerHeader_TriggerNumber
Definition: RawTrigger.h:34
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
std::vector< std::pair< double, double > > fHoughY
std::vector< std::pair< double, double > > fHoughX
const hit & b
Definition: hits.cxx:21
T cos(T number)
Definition: d0nt_math.hpp:78
unsigned short GetCell(const rawdata::RawDigit *dig)
Definition: CMap.cxx:327
uint32_t fTriggerRange_TriggerLength
Definition: RawTrigger.h:40
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
Definition: Ptr.h:464
uint32_t dchan
< DAQ Channel Map Package
std::vector< std::vector< unsigned long long > > fHitTimes
Definition: fwd.h:28
art::ServiceHandle< cmap::CMap > fChannelMap
unsigned int uint
void tbana::DetectorRateShutOff::beginJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 210 of file DetectorRateShutOff_module.cc.

References APDHVSetting::feb, fFileService, fPreviousTriggerMaster, fSpillNumber, fTimeBin, hBenfordLaw, hBenfordLawExpoConstNoShutOff, hBenfordLawExpoConstShutOff, hBenfordLawNoShutOff, hBenfordLawShutOff, hBottomCountersShutOffs, hBottomHoughRate, hBottomHoughRateMC6Col, hBottomHoughRateMC6IC, hBottomHoughsProxyShutOffs, hBottomHoughsShutOffs, hBottomProxyShutOffsMC6IC, hBottomRelHoughsProxyShutOffs, hBottomRelHoughsShutOffs, hBottomShutOffProxyDiff, hBottomShutOffsMC6IC, hEastCountersShutOffs, hEastHoughRate, hEastHoughRateMC6Col, hEastHoughRateMC6IC, hEastHoughsProxyShutOffs, hEastHoughsShutOffs, hEastProxyShutOffsMC6IC, hEastRelHoughsProxyShutOffs, hEastRelHoughsShutOffs, hEastShutOffProxyDiff, hEastShutOffsMC6IC, hFEBSpillProfile, hHoughRate, hHoughRateMC6Col, hHoughRateMC6IC, hMC6Col, hMC6IC, hProxyShutOffsHoughTracks, hProxyShutOffsMC6IC, hProxyShutOffsRelHoughTracks, hShutOffProxyDiff, hShutOffsHoughTracks, hShutOffsMC6IC, hShutOffsMuonCounters, hShutOffsRelHoughTracks, hTopCountersShutOffs, hTopHoughRate, hTopHoughRateMC6Col, hTopHoughRateMC6IC, hTopHoughsProxyShutOffs, hTopHoughsShutOffs, hTopProxyShutOffsMC6IC, hTopRelHoughsProxyShutOffs, hTopRelHoughsShutOffs, hTopShutOffProxyDiff, hTopShutOffsMC6IC, hWestCountersShutOffs, hWestHoughRate, hWestHoughRateMC6Col, hWestHoughRateMC6IC, hWestHoughsProxyShutOffs, hWestHoughsShutOffs, hWestProxyShutOffsMC6IC, hWestRelHoughsProxyShutOffs, hWestRelHoughsShutOffs, hWestShutOffProxyDiff, hWestShutOffsMC6IC, art::TFileDirectory::make(), and art::TFileDirectory::makeAndRegister().

210  {
212  fSpillNumber = -1;
213 
214  // general
215  hMC6IC = fFileService->make<TH1F>("MC6IC", ";MC6IC;", 100, 1e8, 1e11);
216  hMC6Col = fFileService->make<TH1F>("MC6Col", ";MC6 Collimator Aperture (mm);", 30, 0, 30);
217 
218  // shut-off proxy
220  ("ShutOffProxyDiff", ";Shut-Off - Proxy Shut-Off;", 20, -10, 10);
221  hShutOffProxyDiff->GetXaxis()->SetNdivisions(20);
222  hShutOffProxyDiff->GetXaxis()->CenterLabels();
224  ("WestShutOffProxyDiff", ";Shut-Off - Proxy Shut-Off;", 20, -10, 10);
225  hWestShutOffProxyDiff->GetXaxis()->SetNdivisions(20);
226  hWestShutOffProxyDiff->GetXaxis()->CenterLabels();
228  ("EastShutOffProxyDiff", ";Shut-Off - Proxy Shut-Off;", 20, -10, 10);
229  hEastShutOffProxyDiff->GetXaxis()->SetNdivisions(20);
230  hEastShutOffProxyDiff->GetXaxis()->CenterLabels();
232  ("TopShutOffProxyDiff", ";Shut-Off - Proxy Shut-Off;", 20, -10, 10);
233  hTopShutOffProxyDiff->GetXaxis()->SetNdivisions(20);
234  hTopShutOffProxyDiff->GetXaxis()->CenterLabels();
236  ("BottomShutOffProxyDiff", ";Shut-Off - Proxy Shut-Off;", 20, -10, 10);
237  hBottomShutOffProxyDiff->GetXaxis()->SetNdivisions(20);
238  hBottomShutOffProxyDiff->GetXaxis()->CenterLabels();
239 
240  // hough rates
241  hHoughRate = fFileService->make<TH1D>("HoughRate",";Hough Rate;", 100, 0, 150000);
242  hEastHoughRate = fFileService->make<TH1D>("EastHoughRate",";Hough Rate (East);", 100, 0, 70000);
243  hWestHoughRate = fFileService->make<TH1D>("WestHoughRate",";Hough Rate (West);", 100, 0, 150000);
244  hTopHoughRate = fFileService->make<TH1D>("TopHoughRate",";Hough Rate (Top);", 100, 0, 150000);
245  hBottomHoughRate = fFileService->make<TH1D>("BottomHoughRate",";Hough Rate (Bottom);", 100, 0, 100000);
246  hHoughRateMC6IC = fFileService->makeAndRegister<TGraph>("HoughRateMC6IC",";MC6IC;Hough Rate;");
247  hEastHoughRateMC6IC = fFileService->makeAndRegister<TGraph>("EastHoughRateMC6IC",";MC6IC;Hough Rate (East);");
248  hWestHoughRateMC6IC = fFileService->makeAndRegister<TGraph>("WestHoughRateMC6IC",";MC6IC;Hough Rate (West);");
249  hTopHoughRateMC6IC = fFileService->makeAndRegister<TGraph>("TopHoughRateMC6IC",";MC6IC;Hough Rate (Top);");
250  hBottomHoughRateMC6IC = fFileService->makeAndRegister<TGraph>("BottomHoughRateMC6IC",";MC6IC;Hough Rate (Bottom);");
251  hHoughRateMC6Col = fFileService->makeAndRegister<TGraph>("HoughRateMC6Col",";MC6 Collimator Aperature (mm);Hough Rate;");
252  hEastHoughRateMC6Col = fFileService->makeAndRegister<TGraph>("EastHoughRateMC6Col",";MC6 Collimator Aperature (mm);Hough Rate (East);");
253  hWestHoughRateMC6Col = fFileService->makeAndRegister<TGraph>("WestHoughRateMC6Col",";MC6 Collimator Aperature (mm);Hough Rate (West);");
254  hTopHoughRateMC6Col = fFileService->makeAndRegister<TGraph>("TopHoughRateMC6Col",";MC6 Collimator Aperature (mm);Hough Rate (Top);");
255  hBottomHoughRateMC6Col = fFileService->makeAndRegister<TGraph>("BottomHoughRateMC6Col",";MC6 Collimator Aperature (mm);Hough Rate (Bottom);");
256 
257  // shut-offs mc6ic
259  ("ShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
261  ("WestShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
263  ("EastShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
265  ("TopShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
267  ("BottomShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
269  ("ProxyShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
271  ("WestProxyShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
273  ("EastProxyShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
275  ("TopProxyShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
277  ("BottomProxyShutOffsMC6IC", ";MC6IC;Number of Shut-Offs;");
278 
279  // counter shut-offs
281  ("ShutOffsMuonCounters", ";Counts on Front Face (Multiple of East Side Counters);Number of Shut-Offs;");
283  ("WestCountersShutOffs", ";Counts on Front Face (West) (Multiple of East Side Counters);Number of Shut-Offs;");
285  ("EastCountersShutOffs", ";Counts on Front Face (East) (Multiple of East Side Counters);Number of Shut-Offs;");
287  ("TopCountersShutOffs", ";Counts on Front Face (Top) (Multiple of East Side Counters);Number of Shut-Offs;");
289  ("BottomCountersShutOffs", ";Counts on Front Face (Bottom) (Multiple of East Side Counters);Number of Shut-Offs;");
290 
291  // hough shut-offs
292  // shut-offs
294  ("ShutOffsHoughTracks", ";Hough Tracks;Number of Shut-Offs;");
296  ("WestHoughsShutOffs", ";Hough Tracks (West);Number of Shut-Offs;");
298  ("EastHoughsShutOffs", ";Hough Tracks (East);Number of Shut-Offs;");
300  ("TopHoughsShutOffs", ";Hough Tracks (Top);Number of Shut-Offs;");
302  ("BottomHoughsShutOffs", ";Hough Tracks (Bottom);Number of Shut-Offs;");
304  ("ShutOffsRelHoughTracks", ";Hough Tracks (Multiple of East Quadrant);Number of Shut-Offs;");
306  ("WestRelHoughsShutOffs", ";Hough Tracks (West) (Multiple of East Quadrant);Number of Shut-Offs;");
308  ("EastRelHoughsShutOffs", ";Hough Tracks (East) (Multiple of East Quadrant);Number of Shut-Offs;");
310  ("TopRelHoughsShutOffs", ";Hough Tracks (Top) (Multiple of East Quadrant);Number of Shut-Offs;");
312  ("BottomRelHoughsShutOffs", ";Hough Tracks (Bottom) (Multiple of East Quadrant);Number of Shut-Offs;");
313  // proxy
315  ("ProxyShutOffsHoughTracks", ";Hough Tracks;Number of Shut-Offs;");
317  ("WestHoughsProxyShutOffs", ";Hough Tracks (West);Number of Shut-Offs;");
319  ("EastHoughsProxyShutOffs", ";Hough Tracks (East);Number of Shut-Offs;");
321  ("TopHoughsProxyShutOffs", ";Hough Tracks (Top);Number of Shut-Offs;");
323  ("BottomHoughsProxyShutOffs", ";Hough Tracks (Bottom);Number of Shut-Offs;");
325  ("ProxyShutOffsRelHoughTracks", ";Hough Tracks (Multiple of East Quadrant);Number of Shut-Offs;");
327  ("WestRelHoughsProxyShutOffs", ";Hough Tracks (West) (Multiple of East Quadrant);Number of Shut-Offs;");
329  ("EastRelHoughsProxyShutOffs", ";Hough Tracks (East) (Multiple of East Quadrant);Number of Shut-Offs;");
331  ("TopRelHoughsProxyShutOffs", ";Hough Tracks (Top) (Multiple of East Quadrant);Number of Shut-Offs;");
333  ("BottomRelHoughsProxyShutOffs", ";Hough Tracks (Bottom) (Multiple of East Quadrant);Number of Shut-Offs;");
334 
335  // profiles
336  for (const unsigned int& feb : {0,16,32,48})
338  (Form("FEB%dSpillProfile", feb), Form(";Time in Spill (ns);Track Rate in FEB %2d (%f ms);", feb, fTimeBin), 5e9/(fTimeBin*1.e6), 0, 5e9);
339 
340  // benford
341  hBenfordLaw = fFileService->makeAndRegister<TMultiGraph>("BenfordLaw",";First Digit in Time Between Hits (ns);Frequency;");
342  hBenfordLawNoShutOff = fFileService->makeAndRegister<TMultiGraph>("BenfordLawNoShutOff",";First Digit in Time Between Hits (ns);Frequency;");
343  hBenfordLawShutOff = fFileService->makeAndRegister<TMultiGraph>("BenfordLawShutOff",";First Digit in Time Between Hits (ns);Frequency;");
344  hBenfordLawExpoConstNoShutOff = fFileService->make<TH1F>("BenfordLawExpoConstNoShutOff",";Exponential Constant;",100,7,10);
345  hBenfordLawExpoConstShutOff = fFileService->make<TH1F>("BenfordLawExpoConstShutOff",";Exponential Constant;",100,7,10);
346 }
art::ServiceHandle< art::TFileService > fFileService
T * makeAndRegister(char const *name, char const *title, ARGS...args) const
std::map< unsigned int, TH1I * > hFEBSpillProfile
T * make(ARGS...args) const
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 tbana::DetectorRateShutOff::endJob ( )
virtual

Reimplemented from art::EDAnalyzer.

Definition at line 349 of file DetectorRateShutOff_module.cc.

349  {
350  //this->EndSpill();
351  // TCanvas* canv = new TCanvas("canv2", "", 800, 600);
352  // hBenfordLaw->Draw("AP");
353  // canv->SaveAs("BenfordLaw.png");
354  // delete canv;
355 
356  return;
357 }
void tbana::DetectorRateShutOff::EndSpill ( )

Definition at line 494 of file DetectorRateShutOff_module.cc.

References canv, plot_validation_datamc::Clone(), om::cout, release_diff::diff, allTimeWatchdog::endl, APDHVSetting::feb, fHitTimes, fHoughX, fHoughY, Fill(), fMC6Col, fMC6IC, fShutOffTimes, fSpillNumber, GetName(), hBenfordLaw, hBenfordLawExpoConstNoShutOff, hBenfordLawExpoConstShutOff, hBenfordLawNoShutOff, hBenfordLawShutOff, hBottomHoughRate, hBottomHoughRateMC6Col, hBottomHoughRateMC6IC, hBottomHoughsProxyShutOffs, hBottomHoughsShutOffs, hBottomProxyShutOffsMC6IC, hBottomRelHoughsProxyShutOffs, hBottomRelHoughsShutOffs, hBottomShutOffProxyDiff, hBottomShutOffsMC6IC, hEastHoughRate, hEastHoughRateMC6Col, hEastHoughRateMC6IC, hEastHoughsProxyShutOffs, hEastHoughsShutOffs, hEastProxyShutOffsMC6IC, hEastRelHoughsProxyShutOffs, hEastRelHoughsShutOffs, hEastShutOffProxyDiff, hEastShutOffsMC6IC, hFEBSpillProfile, hHoughRate, hHoughRateMC6Col, hHoughRateMC6IC, hMC6Col, hMC6IC, hProxyShutOffsHoughTracks, hProxyShutOffsMC6IC, hProxyShutOffsRelHoughTracks, hShutOffProxyDiff, hShutOffsHoughTracks, hShutOffsMC6IC, hShutOffsRelHoughTracks, hTopHoughRate, hTopHoughRateMC6Col, hTopHoughRateMC6IC, hTopHoughsProxyShutOffs, hTopHoughsShutOffs, hTopProxyShutOffsMC6IC, hTopRelHoughsProxyShutOffs, hTopRelHoughsShutOffs, hTopShutOffProxyDiff, hTopShutOffsMC6IC, hWestHoughRate, hWestHoughRateMC6Col, hWestHoughRateMC6IC, hWestHoughsProxyShutOffs, hWestHoughsShutOffs, hWestProxyShutOffsMC6IC, hWestRelHoughsProxyShutOffs, hWestRelHoughsShutOffs, hWestShutOffProxyDiff, hWestShutOffsMC6IC, kRed, and make_syst_table_plots::line.

Referenced by analyze().

494  {
495 
496  std::cout << "End of spill" << std::endl;
497 
498  hMC6IC->Fill(fMC6IC);
499  hMC6Col->Fill(fMC6Col);
500 
501  // determine a rough number of total FEB shut-offs (combining hits from multiple cells)
502  std::vector<std::vector<unsigned long long> > shutOffs(136);
503  for (unsigned int feb = 0; feb < 136; ++feb) {
504  std::sort(fShutOffTimes.at(feb).begin(), fShutOffTimes.at(feb).end());
505  for (std::vector<unsigned long long>::const_iterator hittimeIt = fShutOffTimes.at(feb).begin();
506  hittimeIt != fShutOffTimes.at(feb).end(); ++hittimeIt) {
507  bool newshutoff = true;
508  for (std::vector<unsigned long long>::const_iterator prevShutOffTimeIt = shutOffs.at(feb).begin();
509  prevShutOffTimeIt != shutOffs.at(feb).end(); ++prevShutOffTimeIt)
510  if (*hittimeIt-*prevShutOffTimeIt < 1e6) // 1ms
511  newshutoff = false;
512  if (newshutoff)
513  shutOffs.at(feb).push_back(*hittimeIt);
514  }
515  std::cout << "FEB " << feb << " had " << shutOffs.at(feb).size() << " shutoffs" << std::endl;
516  }
517 
518  // sum up all shut-offs in each FEB region
519  std::vector<unsigned int> west_febs = {16};
520  std::vector<unsigned int> east_febs = {0};
521  std::vector<unsigned int> top_febs = {32};
522  std::vector<unsigned int> bottom_febs = {48};
523  unsigned int west_shutoffs = 0, east_shutoffs = 0, top_shutoffs = 0, bottom_shutoffs = 0;
524  for (std::vector<unsigned int>::const_iterator feb = west_febs.begin(); feb != west_febs.end(); ++feb)
525  west_shutoffs += shutOffs.at(*feb).size();
526  for (std::vector<unsigned int>::const_iterator feb = east_febs.begin(); feb != east_febs.end(); ++feb)
527  east_shutoffs += shutOffs.at(*feb).size();
528  for (std::vector<unsigned int>::const_iterator feb = top_febs.begin(); feb != top_febs.end(); ++feb)
529  top_shutoffs += shutOffs.at(*feb).size();
530  for (std::vector<unsigned int>::const_iterator feb = bottom_febs.begin(); feb != bottom_febs.end(); ++feb)
531  bottom_shutoffs += shutOffs.at(*feb).size();
532 
533  // shut-offs vs MC6IC
534  hShutOffsMC6IC->SetPoint(hShutOffsMC6IC->GetN(), fMC6IC, west_shutoffs);
535  hShutOffsMC6IC->SetPoint(hShutOffsMC6IC->GetN(), fMC6IC, east_shutoffs);
536  hShutOffsMC6IC->SetPoint(hShutOffsMC6IC->GetN(), fMC6IC, top_shutoffs);
537  hShutOffsMC6IC->SetPoint(hShutOffsMC6IC->GetN(), fMC6IC, bottom_shutoffs);
538  hWestShutOffsMC6IC->SetPoint(hWestShutOffsMC6IC->GetN(), fMC6IC, west_shutoffs);
539  hEastShutOffsMC6IC->SetPoint(hEastShutOffsMC6IC->GetN(), fMC6IC, east_shutoffs);
540  hTopShutOffsMC6IC->SetPoint(hTopShutOffsMC6IC->GetN(), fMC6IC, top_shutoffs);
541  hBottomShutOffsMC6IC->SetPoint(hBottomShutOffsMC6IC->GetN(), fMC6IC, bottom_shutoffs);
542 
543  // get the Hough intercepts at the front face
544  std::vector<double> west_hough_times, east_hough_times, top_hough_times, bottom_hough_times;
545  for (std::vector<std::pair<double, double> >::const_iterator houghIt = fHoughX.begin();
546  houghIt != fHoughX.end(); ++houghIt) {
547  if (houghIt->second > 0)
548  west_hough_times.push_back(houghIt->first);
549  else
550  east_hough_times.push_back(houghIt->first);
551  }
552  for (std::vector<std::pair<double, double> >::const_iterator houghIt = fHoughY.begin();
553  houghIt != fHoughY.end(); ++houghIt) {
554  if (houghIt->second > 0)
555  top_hough_times.push_back(houghIt->first);
556  else
557  bottom_hough_times.push_back(houghIt->first);
558  }
559 
560  // fill spill profiles
561  for (std::vector<double>::const_iterator timeIt = west_hough_times.begin(); timeIt != west_hough_times.end(); ++timeIt)
562  hFEBSpillProfile[16]->Fill(*timeIt);
563  for (std::vector<double>::const_iterator timeIt = east_hough_times.begin(); timeIt != east_hough_times.end(); ++timeIt)
564  hFEBSpillProfile[0]->Fill(*timeIt);
565  for (std::vector<double>::const_iterator timeIt = top_hough_times.begin(); timeIt != top_hough_times.end(); ++timeIt)
566  hFEBSpillProfile[32]->Fill(*timeIt);
567  for (std::vector<double>::const_iterator timeIt = bottom_hough_times.begin(); timeIt != bottom_hough_times.end(); ++timeIt)
568  hFEBSpillProfile[48]->Fill(*timeIt);
569 
570  // draw profiles with shut-offs
571  TCanvas* canv = new TCanvas("canv", "", 800, 600);
572  TLine line;
573  line.SetLineColor(kRed);
574  line.SetLineWidth(2);
575  line.SetLineStyle(kDashed);
576  for (const unsigned int& feb : {0,16,32,48}) {
577  canv->cd();
578  canv->Clear();
579  hFEBSpillProfile[feb]->Draw("hist");
580  canv->Modified(); canv->Update();
581  for (std::vector<unsigned long long>::const_iterator shutOffIt = shutOffs.at(feb).begin();
582  shutOffIt != shutOffs.at(feb).end(); ++shutOffIt)
583  line.DrawLine(*shutOffIt, 0, *shutOffIt, canv->GetUymax());
584  canv->SaveAs(Form("figs/Spill%dFEB%02dSpillProfile.png", fSpillNumber, feb));
585  canv->cd();
586  canv->Clear();
587  TH1* scaled = (TH1*)hFEBSpillProfile[feb]->Clone(Form("%sScaled", hFEBSpillProfile[feb]->GetName()));
588  scaled->Divide(hFEBSpillProfile[0]);
589  scaled->GetYaxis()->SetTitle(Form("Hits on FEB %02d / Hits on FEB 00", feb));
590  scaled->Draw("hist");
591  canv->Modified(); canv->Update();
592  for (std::vector<unsigned long long>::const_iterator shutOffIt = shutOffs.at(feb).begin();
593  shutOffIt != shutOffs.at(feb).end(); ++shutOffIt)
594  line.DrawLine(*shutOffIt, 0, *shutOffIt, canv->GetUymax());
595  canv->SaveAs(Form("figs/Spill%dFEB%02dSpillProfileNorm.png", fSpillNumber, feb));
596  delete scaled;
597  }
598  delete canv;
599 
600  float west_houghs = west_hough_times.size();
601  float east_houghs = east_hough_times.size();
602  float top_houghs = top_hough_times.size();
603  float bottom_houghs = bottom_hough_times.size();
604 
605  // hough rates
606  hHoughRate->Fill(east_houghs);
607  hHoughRate->Fill(west_houghs);
608  hHoughRate->Fill(top_houghs);
609  hHoughRate->Fill(bottom_houghs);
610  hEastHoughRate->Fill(east_houghs);
611  hWestHoughRate->Fill(west_houghs);
612  hTopHoughRate->Fill(top_houghs);
613  hBottomHoughRate->Fill(bottom_houghs);
614 
615  // hough rates mc6ic
616  hHoughRateMC6IC->SetPoint(hHoughRateMC6IC->GetN(), fMC6IC, east_houghs);
617  hHoughRateMC6IC->SetPoint(hHoughRateMC6IC->GetN(), fMC6IC, west_houghs);
618  hHoughRateMC6IC->SetPoint(hHoughRateMC6IC->GetN(), fMC6IC, top_houghs);
619  hHoughRateMC6IC->SetPoint(hHoughRateMC6IC->GetN(), fMC6IC, bottom_houghs);
620  hEastHoughRateMC6IC->SetPoint(hEastHoughRateMC6IC->GetN(), fMC6IC, east_houghs);
621  hWestHoughRateMC6IC->SetPoint(hEastHoughRateMC6IC->GetN(), fMC6IC, west_houghs);
622  hTopHoughRateMC6IC->SetPoint(hTopHoughRateMC6IC->GetN(), fMC6IC, top_houghs);
623  hBottomHoughRateMC6IC->SetPoint(hBottomHoughRateMC6IC->GetN(), fMC6IC, bottom_houghs);
624 
625  // hough rates mc6col
626  hHoughRateMC6Col->SetPoint(hHoughRateMC6Col->GetN(), fMC6Col, east_houghs);
627  hHoughRateMC6Col->SetPoint(hHoughRateMC6Col->GetN(), fMC6Col, west_houghs);
628  hHoughRateMC6Col->SetPoint(hHoughRateMC6Col->GetN(), fMC6Col, top_houghs);
629  hHoughRateMC6Col->SetPoint(hHoughRateMC6Col->GetN(), fMC6Col, bottom_houghs);
630  hEastHoughRateMC6Col->SetPoint(hEastHoughRateMC6Col->GetN(), fMC6Col, east_houghs);
631  hWestHoughRateMC6Col->SetPoint(hEastHoughRateMC6Col->GetN(), fMC6Col, west_houghs);
632  hTopHoughRateMC6Col->SetPoint(hTopHoughRateMC6Col->GetN(), fMC6Col, top_houghs);
633  hBottomHoughRateMC6Col->SetPoint(hBottomHoughRateMC6Col->GetN(), fMC6Col, bottom_houghs);
634 
635  // hough rates shut-offs
636  hShutOffsHoughTracks->SetPoint(hShutOffsHoughTracks->GetN(), west_houghs, west_shutoffs);
637  hShutOffsHoughTracks->SetPoint(hShutOffsHoughTracks->GetN(), east_houghs, east_shutoffs);
638  hShutOffsHoughTracks->SetPoint(hShutOffsHoughTracks->GetN(), top_houghs, top_shutoffs);
639  hShutOffsHoughTracks->SetPoint(hShutOffsHoughTracks->GetN(), bottom_houghs, bottom_shutoffs);
640  hWestHoughsShutOffs->SetPoint(hWestHoughsShutOffs->GetN(), west_houghs, west_shutoffs);
641  hEastHoughsShutOffs->SetPoint(hEastHoughsShutOffs->GetN(), east_houghs, east_shutoffs);
642  hTopHoughsShutOffs->SetPoint(hTopHoughsShutOffs->GetN(), top_houghs, top_shutoffs);
643  hBottomHoughsShutOffs->SetPoint(hBottomHoughsShutOffs->GetN(), bottom_houghs, bottom_shutoffs);
644 
645  float west_houghs_sc = west_houghs/east_houghs;
646  float east_houghs_sc = east_houghs/east_houghs;
647  float top_houghs_sc = top_houghs/east_houghs;
648  float bottom_houghs_sc = bottom_houghs/east_houghs;
649 
650  hShutOffsRelHoughTracks->SetPoint(hShutOffsRelHoughTracks->GetN(), west_houghs_sc, west_shutoffs);
651  hShutOffsRelHoughTracks->SetPoint(hShutOffsRelHoughTracks->GetN(), east_houghs_sc, east_shutoffs);
652  hShutOffsRelHoughTracks->SetPoint(hShutOffsRelHoughTracks->GetN(), top_houghs_sc, top_shutoffs);
653  hShutOffsRelHoughTracks->SetPoint(hShutOffsRelHoughTracks->GetN(), bottom_houghs_sc, bottom_shutoffs);
654  hWestRelHoughsShutOffs->SetPoint(hWestRelHoughsShutOffs->GetN(), west_houghs_sc, west_shutoffs);
655  hEastRelHoughsShutOffs->SetPoint(hEastRelHoughsShutOffs->GetN(), east_houghs_sc, east_shutoffs);
656  hTopRelHoughsShutOffs->SetPoint(hTopRelHoughsShutOffs->GetN(), top_houghs_sc, top_shutoffs);
657  hBottomRelHoughsShutOffs->SetPoint(hBottomRelHoughsShutOffs->GetN(), bottom_houghs_sc, bottom_shutoffs);
658 
659  // hit-level analysis
660  std::vector<std::vector<unsigned long long> > shutOffsProxy(136);
661  for (unsigned int feb = 0; feb < 136; ++feb) {
662  std::sort(fHitTimes.at(feb).begin(), fHitTimes.at(feb).end());
663  std::vector<unsigned int> firstDigits(10, 0);
664  for (unsigned int hit = 1; hit < fHitTimes.at(feb).size(); ++hit) {
665  unsigned long long diff = fHitTimes.at(feb).at(hit)-fHitTimes.at(feb).at(hit-1);
666  if (diff > 20e6)
667  shutOffsProxy.at(feb).push_back(fHitTimes.at(feb).at(hit-1));
668  while (diff >= 10)
669  diff = diff / 10;
670  ++firstDigits.at(diff);
671  }
672  // Benford's law
673  TGraph* gr = new TGraph(9);
674  for (unsigned int firstDigit = 1; firstDigit <= 9; ++firstDigit)
675  gr->SetPoint(firstDigit-0, firstDigit, firstDigits.at(firstDigit));
676  gr->Fit("expo", "q");
677  if (shutOffs.at(feb).size())
678  hBenfordLawExpoConstShutOff->Fill(gr->GetFunction("expo")->GetParameter(0));
679  else
680  hBenfordLawExpoConstNoShutOff->Fill(gr->GetFunction("expo")->GetParameter(0));
681  gr->SetMarkerStyle(8);
682  if (shutOffs.at(feb).size()) {
683  gr->SetMarkerColor(kRed);
684  gr->SetLineColor(kRed);
685  hBenfordLawShutOff->Add((TGraph*)gr->Clone());
686  }
687  else {
688  gr->SetMarkerColor(kBlack);
689  gr->SetLineColor(kBlack);
690  hBenfordLawNoShutOff->Add((TGraph*)gr->Clone());
691  }
692  hBenfordLaw->Add(gr);
693  gr = nullptr;
694  }
695 
696  // sum up proxy shut-offs in each FEB region
697  unsigned int west_proxy_shutoffs = 0, east_proxy_shutoffs = 0, top_proxy_shutoffs = 0, bottom_proxy_shutoffs = 0;
698  for (std::vector<unsigned int>::const_iterator feb = west_febs.begin(); feb != west_febs.end(); ++feb)
699  west_proxy_shutoffs += shutOffsProxy.at(*feb).size();
700  for (std::vector<unsigned int>::const_iterator feb = east_febs.begin(); feb != east_febs.end(); ++feb)
701  east_proxy_shutoffs += shutOffsProxy.at(*feb).size();
702  for (std::vector<unsigned int>::const_iterator feb = top_febs.begin(); feb != top_febs.end(); ++feb)
703  top_proxy_shutoffs += shutOffsProxy.at(*feb).size();
704  for (std::vector<unsigned int>::const_iterator feb = bottom_febs.begin(); feb != bottom_febs.end(); ++feb)
705  bottom_proxy_shutoffs += shutOffsProxy.at(*feb).size();
706 
707  // difference between real shut-offs
708  hShutOffProxyDiff->Fill(west_shutoffs-west_proxy_shutoffs);
709  hShutOffProxyDiff->Fill(east_shutoffs-east_proxy_shutoffs);
710  hShutOffProxyDiff->Fill(top_shutoffs-top_proxy_shutoffs);
711  hShutOffProxyDiff->Fill(bottom_shutoffs-bottom_proxy_shutoffs);
712  hWestShutOffProxyDiff->Fill(west_shutoffs-west_proxy_shutoffs);
713  hEastShutOffProxyDiff->Fill(east_shutoffs-east_proxy_shutoffs);
714  hTopShutOffProxyDiff->Fill(top_shutoffs-top_proxy_shutoffs);
715  hBottomShutOffProxyDiff->Fill(bottom_shutoffs-bottom_proxy_shutoffs);
716 
717  // shut-offs vs MC6IC
718  hProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, west_proxy_shutoffs);
719  hProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, east_proxy_shutoffs);
720  hProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, top_proxy_shutoffs);
721  hProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, bottom_proxy_shutoffs);
722  hWestProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, west_proxy_shutoffs);
723  hEastProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, east_proxy_shutoffs);
724  hTopProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, top_proxy_shutoffs);
725  hBottomProxyShutOffsMC6IC->SetPoint(hProxyShutOffsMC6IC->GetN(), fMC6IC, bottom_proxy_shutoffs);
726 
727  // shut-offs vs houghs
728  hProxyShutOffsHoughTracks->SetPoint(hProxyShutOffsHoughTracks->GetN(), west_houghs, west_proxy_shutoffs);
729  hProxyShutOffsHoughTracks->SetPoint(hProxyShutOffsHoughTracks->GetN(), east_houghs, east_proxy_shutoffs);
730  hProxyShutOffsHoughTracks->SetPoint(hProxyShutOffsHoughTracks->GetN(), top_houghs, top_proxy_shutoffs);
731  hProxyShutOffsHoughTracks->SetPoint(hProxyShutOffsHoughTracks->GetN(), bottom_houghs, bottom_proxy_shutoffs);
732  hWestHoughsProxyShutOffs->SetPoint(hWestHoughsProxyShutOffs->GetN(), west_houghs, west_proxy_shutoffs);
733  hEastHoughsProxyShutOffs->SetPoint(hEastHoughsProxyShutOffs->GetN(), east_houghs, east_proxy_shutoffs);
734  hTopHoughsProxyShutOffs->SetPoint(hTopHoughsProxyShutOffs->GetN(), top_houghs, top_proxy_shutoffs);
735  hBottomHoughsProxyShutOffs->SetPoint(hBottomHoughsProxyShutOffs->GetN(), bottom_houghs, bottom_proxy_shutoffs);
736 
737  hProxyShutOffsRelHoughTracks->SetPoint(hProxyShutOffsRelHoughTracks->GetN(), west_houghs_sc, west_proxy_shutoffs);
738  hProxyShutOffsRelHoughTracks->SetPoint(hProxyShutOffsRelHoughTracks->GetN(), east_houghs_sc, east_proxy_shutoffs);
739  hProxyShutOffsRelHoughTracks->SetPoint(hProxyShutOffsRelHoughTracks->GetN(), top_houghs_sc, top_proxy_shutoffs);
740  hProxyShutOffsRelHoughTracks->SetPoint(hProxyShutOffsRelHoughTracks->GetN(), bottom_houghs_sc, bottom_proxy_shutoffs);
741  hWestRelHoughsProxyShutOffs->SetPoint(hWestRelHoughsProxyShutOffs->GetN(), west_houghs_sc, west_proxy_shutoffs);
742  hEastRelHoughsProxyShutOffs->SetPoint(hEastRelHoughsProxyShutOffs->GetN(), east_houghs_sc, east_proxy_shutoffs);
743  hTopRelHoughsProxyShutOffs->SetPoint(hTopRelHoughsProxyShutOffs->GetN(), top_houghs_sc, top_proxy_shutoffs);
744  hBottomRelHoughsProxyShutOffs->SetPoint(hBottomRelHoughsProxyShutOffs->GetN(), bottom_houghs_sc, bottom_proxy_shutoffs);
745 
746  // // get the scintillator counts from the front face of the detector
747  // if (fMuonCounters.at(0) < 0)
748  // return;
749  // float west_counters = fMuonCounters.at(0)+fMuonCounters.at(1);
750  // float east_counters = fMuonCounters.at(2)+fMuonCounters.at(3);
751  // float top_counters = fMuonCounters.at(0)+fMuonCounters.at(2);
752  // float bottom_counters = fMuonCounters.at(1)+fMuonCounters.at(3);
753 
754  // float west_counters_sc = west_counters/east_counters;
755  // float east_counters_sc = east_counters/east_counters;
756  // float top_counters_sc = top_counters/east_counters;
757  // float bottom_counters_sc = bottom_counters/east_counters;
758 
759  // hShutOffsMuonCounters->SetPoint(hShutOffsMuonCounters->GetN(), west_counters_sc, west_shutoffs);
760  // hShutOffsMuonCounters->SetPoint(hShutOffsMuonCounters->GetN(), east_counters_sc, east_shutoffs);
761  // hShutOffsMuonCounters->SetPoint(hShutOffsMuonCounters->GetN(), top_counters_sc, top_shutoffs);
762  // hShutOffsMuonCounters->SetPoint(hShutOffsMuonCounters->GetN(), bottom_counters_sc, bottom_shutoffs);
763  // hWestCountersShutOffs->SetPoint(hWestCountersShutOffs->GetN(), west_counters_sc, west_shutoffs);
764  // hEastCountersShutOffs->SetPoint(hEastCountersShutOffs->GetN(), east_counters_sc, east_shutoffs);
765  // hTopCountersShutOffs->SetPoint(hTopCountersShutOffs->GetN(), top_counters_sc, top_shutoffs);
766  // hBottomCountersShutOffs->SetPoint(hBottomCountersShutOffs->GetN(), bottom_counters_sc, bottom_shutoffs);
767 
768  return;
769 }
enum BeamMode kRed
TCanvas * canv
std::string GetName(int i)
correl_yv Fill(-(dy[iP-1][iC-1]), hyv->GetBinContent(iP, iC))
OStream cout
Definition: OStream.cxx:6
std::vector< std::vector< unsigned long long > > fShutOffTimes
std::map< unsigned int, TH1I * > hFEBSpillProfile
std::vector< std::pair< double, double > > fHoughY
Definition: structs.h:12
std::vector< std::pair< double, double > > fHoughX
std::vector< std::vector< unsigned long long > > fHitTimes
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 tbana::DetectorRateShutOff::reconfigure ( const fhicl::ParameterSet pset)

Definition at line 201 of file DetectorRateShutOff_module.cc.

References fHoughModuleLabel, fRawDataLabel, fSpillCountersLabel, fSpillInfoLabel, fTimeBin, fhicl::ParameterSet::get(), and string.

Referenced by DetectorRateShutOff().

201  {
202  fRawDataLabel = pset.get<std::string>("RawDataLabel");
203  fSpillInfoLabel = pset.get<std::string>("SpillInfoLabel");
204  fSpillCountersLabel = pset.get<std::string>("SpillCountersLabel");
205  fHoughModuleLabel = pset.get<std::string>("HoughModuleLabel");
206  fTimeBin = pset.get<float>("TimeBin"); // ms
207 }
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 tbana::DetectorRateShutOff::StartSpill ( )

Definition at line 479 of file DetectorRateShutOff_module.cc.

References fHitTimes, fHoughX, fHoughY, fMuonCounters, and fShutOffTimes.

Referenced by analyze().

479  {
480 
481  fHitTimes.clear();
482  fHitTimes.resize(136);
483  fShutOffTimes.clear();
484  fShutOffTimes.resize(136);
485  fMuonCounters.clear();
486  fMuonCounters.resize(4, -1);
487  fHoughX.clear();
488  fHoughY.clear();
489 
490  return;
491 }
std::vector< std::vector< unsigned long long > > fShutOffTimes
std::vector< std::pair< double, double > > fHoughY
std::vector< std::pair< double, double > > fHoughX
std::vector< std::vector< unsigned long long > > fHitTimes
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

art::ServiceHandle<cmap::CMap> tbana::DetectorRateShutOff::fChannelMap
private

Definition at line 183 of file DetectorRateShutOff_module.cc.

Referenced by analyze().

art::ServiceHandle<art::TFileService> tbana::DetectorRateShutOff::fFileService
private

Definition at line 184 of file DetectorRateShutOff_module.cc.

Referenced by beginJob().

art::ServiceHandle<geo::Geometry> tbana::DetectorRateShutOff::fGeo
private

Definition at line 182 of file DetectorRateShutOff_module.cc.

Referenced by analyze().

std::vector<std::vector<unsigned long long> > tbana::DetectorRateShutOff::fHitTimes
private

Definition at line 94 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), EndSpill(), and StartSpill().

std::string tbana::DetectorRateShutOff::fHoughModuleLabel
private

Definition at line 84 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), and reconfigure().

std::vector<std::pair<double, double> > tbana::DetectorRateShutOff::fHoughX
private

Definition at line 97 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), EndSpill(), and StartSpill().

std::vector<std::pair<double, double> > tbana::DetectorRateShutOff::fHoughY
private

Definition at line 98 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), EndSpill(), and StartSpill().

double tbana::DetectorRateShutOff::fMC6Col
private

Definition at line 92 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), and EndSpill().

double tbana::DetectorRateShutOff::fMC6IC
private

Definition at line 91 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), and EndSpill().

std::vector<double> tbana::DetectorRateShutOff::fMuonCounters
private

Definition at line 96 of file DetectorRateShutOff_module.cc.

Referenced by StartSpill().

int tbana::DetectorRateShutOff::fPreviousTriggerMaster
private

Definition at line 88 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), and beginJob().

std::string tbana::DetectorRateShutOff::fRawDataLabel
private

Definition at line 81 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), and reconfigure().

std::vector<std::vector<unsigned long long> > tbana::DetectorRateShutOff::fShutOffTimes
private

Definition at line 95 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), EndSpill(), and StartSpill().

std::string tbana::DetectorRateShutOff::fSpillCountersLabel
private

Definition at line 83 of file DetectorRateShutOff_module.cc.

Referenced by reconfigure().

std::string tbana::DetectorRateShutOff::fSpillInfoLabel
private

Definition at line 82 of file DetectorRateShutOff_module.cc.

Referenced by analyze(), and reconfigure().

int tbana::DetectorRateShutOff::fSpillNumber
private

Definition at line 87 of file DetectorRateShutOff_module.cc.

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

float tbana::DetectorRateShutOff::fTimeBin
private

Definition at line 89 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and reconfigure().

TMultiGraph* tbana::DetectorRateShutOff::hBenfordLaw
private

Definition at line 175 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1F* tbana::DetectorRateShutOff::hBenfordLawExpoConstNoShutOff
private

Definition at line 178 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1F* tbana::DetectorRateShutOff::hBenfordLawExpoConstShutOff
private

Definition at line 179 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TMultiGraph* tbana::DetectorRateShutOff::hBenfordLawNoShutOff
private

Definition at line 176 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TMultiGraph* tbana::DetectorRateShutOff::hBenfordLawShutOff
private

Definition at line 177 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomCountersShutOffs
private

Definition at line 147 of file DetectorRateShutOff_module.cc.

Referenced by beginJob().

TH1D* tbana::DetectorRateShutOff::hBottomHoughRate
private

Definition at line 118 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomHoughRateMC6Col
private

Definition at line 128 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomHoughRateMC6IC
private

Definition at line 123 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomHoughsProxyShutOffs
private

Definition at line 164 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomHoughsShutOffs
private

Definition at line 154 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomProxyShutOffsMC6IC
private

Definition at line 140 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomRelHoughsProxyShutOffs
private

Definition at line 169 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomRelHoughsShutOffs
private

Definition at line 159 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1I* tbana::DetectorRateShutOff::hBottomShutOffProxyDiff
private

Definition at line 111 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hBottomShutOffsMC6IC
private

Definition at line 135 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastCountersShutOffs
private

Definition at line 145 of file DetectorRateShutOff_module.cc.

Referenced by beginJob().

TH1D* tbana::DetectorRateShutOff::hEastHoughRate
private

Definition at line 115 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastHoughRateMC6Col
private

Definition at line 125 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastHoughRateMC6IC
private

Definition at line 120 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastHoughsProxyShutOffs
private

Definition at line 162 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastHoughsShutOffs
private

Definition at line 152 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastProxyShutOffsMC6IC
private

Definition at line 138 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastRelHoughsProxyShutOffs
private

Definition at line 167 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastRelHoughsShutOffs
private

Definition at line 157 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1I* tbana::DetectorRateShutOff::hEastShutOffProxyDiff
private

Definition at line 109 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hEastShutOffsMC6IC
private

Definition at line 133 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

std::map<unsigned int, TH1I*> tbana::DetectorRateShutOff::hFEBSpillProfile
private

Definition at line 172 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1D* tbana::DetectorRateShutOff::hHoughRate
private

Definition at line 114 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hHoughRateMC6Col
private

Definition at line 124 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hHoughRateMC6IC
private

Definition at line 119 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1F* tbana::DetectorRateShutOff::hMC6Col
private

Definition at line 104 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1F* tbana::DetectorRateShutOff::hMC6IC
private

Definition at line 103 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hProxyShutOffsHoughTracks
private

Definition at line 160 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hProxyShutOffsMC6IC
private

Definition at line 136 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hProxyShutOffsRelHoughTracks
private

Definition at line 165 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1I* tbana::DetectorRateShutOff::hShutOffProxyDiff
private

Definition at line 107 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hShutOffsHoughTracks
private

Definition at line 150 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hShutOffsMC6IC
private

Definition at line 131 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hShutOffsMuonCounters
private

Definition at line 143 of file DetectorRateShutOff_module.cc.

Referenced by beginJob().

TGraph* tbana::DetectorRateShutOff::hShutOffsRelHoughTracks
private

Definition at line 155 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopCountersShutOffs
private

Definition at line 146 of file DetectorRateShutOff_module.cc.

Referenced by beginJob().

TH1D* tbana::DetectorRateShutOff::hTopHoughRate
private

Definition at line 117 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopHoughRateMC6Col
private

Definition at line 127 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopHoughRateMC6IC
private

Definition at line 122 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopHoughsProxyShutOffs
private

Definition at line 163 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopHoughsShutOffs
private

Definition at line 153 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopProxyShutOffsMC6IC
private

Definition at line 139 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopRelHoughsProxyShutOffs
private

Definition at line 168 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopRelHoughsShutOffs
private

Definition at line 158 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1I* tbana::DetectorRateShutOff::hTopShutOffProxyDiff
private

Definition at line 110 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hTopShutOffsMC6IC
private

Definition at line 134 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestCountersShutOffs
private

Definition at line 144 of file DetectorRateShutOff_module.cc.

Referenced by beginJob().

TH1D* tbana::DetectorRateShutOff::hWestHoughRate
private

Definition at line 116 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestHoughRateMC6Col
private

Definition at line 126 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestHoughRateMC6IC
private

Definition at line 121 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestHoughsProxyShutOffs
private

Definition at line 161 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestHoughsShutOffs
private

Definition at line 151 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestProxyShutOffsMC6IC
private

Definition at line 137 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestRelHoughsProxyShutOffs
private

Definition at line 166 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestRelHoughsShutOffs
private

Definition at line 156 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TH1I* tbana::DetectorRateShutOff::hWestShutOffProxyDiff
private

Definition at line 108 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().

TGraph* tbana::DetectorRateShutOff::hWestShutOffsMC6IC
private

Definition at line 132 of file DetectorRateShutOff_module.cc.

Referenced by beginJob(), and EndSpill().


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