Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
DataCheck::HardwareStatusCheck Class Reference
Inheritance diagram for DataCheck::HardwareStatusCheck:
art::EDFilter art::ProducerBase art::Consumer art::EngineCreator art::ProductRegistryHelper

Public Types

using ModuleType = EDFilter
 
using WorkerType = WorkerT< EDFilter >
 
template<typename UserConfig >
using Table = ProducerBase::Table< UserConfig >
 

Public Member Functions

 HardwareStatusCheck (fhicl::ParameterSet const &p)
 
virtual ~HardwareStatusCheck ()
 
bool filter (art::Event &evt) override
 
void reconfigure (const fhicl::ParameterSet &pset)
 
void beginJob () override
 
bool beginSubRun (art::SubRun &sr) override
 
void endJob () override
 
uint32_t globalDCMNumber (uint32_t diblock, uint32_t dcm)
 
template<typename PROD , BranchType B = InEvent>
ProductID getProductID (std::string const &instanceName={}) const
 
template<typename PROD , BranchType B>
ProductID getProductID (ModuleDescription const &moduleDescription, std::string const &instanceName) const
 
bool modifiesEvent () 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 ()
 

Static Public Attributes

static constexpr bool Pass {true}
 
static constexpr bool Fail {false}
 

Protected Member Functions

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

Private Attributes

std::string fRawDigitModule
 Label of the raw digit module; set to default. More...
 
std::vector< uint32_t > fDiblocksToUse
 The diblocks we will check. Don't worry about those with bare FEBs. More...
 
unsigned int fTotalDCMsExpected = 0
 
const unsigned int fExpectedNDCMsPerDiblock = 12
 The number of DCMs we expect per diblock in each event. More...
 
std::vector< uint32_t > fFoundDCMs
 
std::vector< uint32_t > fExpectedDCMs
 
TH1F * hNRawDigits
 
TH1F * hNDCMs
 
TH1F * hPresentDCMs
 
TH1F * hMissingDCMs
 

Detailed Description

Definition at line 37 of file HardwareStatusCheck_module.cc.

Member Typedef Documentation

using art::EDFilter::ModuleType = EDFilter
inherited

Definition at line 37 of file EDFilter.h.

template<typename UserConfig >
using art::EDFilter::Table = ProducerBase::Table<UserConfig>
inherited

Definition at line 46 of file EDFilter.h.

using art::EDFilter::WorkerType = WorkerT<EDFilter>
inherited

Definition at line 38 of file EDFilter.h.

Constructor & Destructor Documentation

DataCheck::HardwareStatusCheck::HardwareStatusCheck ( fhicl::ParameterSet const &  p)
explicit

Definition at line 62 of file HardwareStatusCheck_module.cc.

References om::cout, allTimeWatchdog::endl, and reconfigure().

63  : fDiblocksToUse(0),
64  fFoundDCMs(0),
65  fExpectedDCMs(0)
66 // Initialize member data here.
67 {
68  std::cout << "--- HardwareStatusCheck instantiate" << std::endl;
69  // Call appropriate Produces<>() functions here.
70  this->reconfigure(pset);
71 }
void reconfigure(const fhicl::ParameterSet &pset)
std::vector< uint32_t > fDiblocksToUse
The diblocks we will check. Don&#39;t worry about those with bare FEBs.
OStream cout
Definition: OStream.cxx:6
DataCheck::HardwareStatusCheck::~HardwareStatusCheck ( )
virtual

Definition at line 95 of file HardwareStatusCheck_module.cc.

References fDiblocksToUse, and fFoundDCMs.

96 {
97  // Clean up dynamic memory and other resources here.
98  fFoundDCMs.clear();
99  fDiblocksToUse.clear();
100 }
std::vector< uint32_t > fDiblocksToUse
The diblocks we will check. Don&#39;t worry about those with bare FEBs.

Member Function Documentation

void DataCheck::HardwareStatusCheck::beginJob ( )
overridevirtual

Reimplemented from art::EDFilter.

Definition at line 218 of file HardwareStatusCheck_module.cc.

References om::cout, allTimeWatchdog::endl, MakeMiniprodValidationCuts::f, hMissingDCMs, hNDCMs, hNRawDigits, hPresentDCMs, and art::TFileDirectory::make().

219 {
220  // Implementation of optional member function here.
221  std::cout << "--- HardwareStatusCheck beginJob" << std::endl;
222 
224  hNRawDigits = f->make<TH1F>("hNRawDigits", ";NRawDigits;Events", 100,-0.5,10000.5);
225  hNDCMs = f->make<TH1F>("hNDCMs", ";NDCMs;Events", 169,-0.5,168.5);
226  hPresentDCMs= f->make<TH1F>("hPresentDCMs", ";DCM number + 12#timesdiblock number;Events", 168,-0.5,167.5);
227  hMissingDCMs= f->make<TH1F>("hMissingDCMs", ";DCM number + 12#timesdiblock number;Events", 168,-0.5,167.5);
228 }
OStream cout
Definition: OStream.cxx:6
T * make(ARGS...args) const
bool DataCheck::HardwareStatusCheck::beginSubRun ( art::SubRun sr)
overridevirtual

Reimplemented from art::EDFilter.

Definition at line 102 of file HardwareStatusCheck_module.cc.

References om::cout, nova::dbi::RunHistory::DiBlock::dcm, geo::GeometryBase::DetId(), allTimeWatchdog::endl, geom(), MECModelEnuComparisons::i, calib::j, rh, and art::SubRun::run().

103 {
104  std::cout << "--- HardwareStatusCheck beginSubRun" << std::endl;
106  novadaq::cnv::DetId detectorid = geom->DetId();
107  int fRun = sr.run();
108  std::cout << " detector ID: " << detectorid
109  << ", run: " << fRun
110  << std::endl;
111  nova::dbi::RunHistory rh(sr.run(), detectorid);
112  rh.LoadDAQRunHistory();
113  std::cout << " loaded run history" << std::endl;
114  unsigned int nDB = rh.NDiBlocks();
115  std::cout << " N Di-blocks: " << nDB << std::endl;
116  int nDCMs = rh.NLiveDCMs();
117  std::cout << " N DCMs: " << nDCMs << std::endl;
118  int my_nDCMs = 0;
119  int my_active_nDCMs = 0;
120  for (unsigned int i=0; i<nDB; ++i) {
121  const nova::dbi::RunHistory::DiBlock db = rh.GetDiBlock(i);
122  std::vector<nova::dbi::RunHistory::DCM> DCMs = db.dcm;
123  std::cout << " Diblock[" << i
124  << "] has: " << DCMs.size()
125  << " DCMs" << std::endl;
126  my_nDCMs+=DCMs.size();
127  for (unsigned int j=0; j<DCMs.size(); ++j) {
128  if(DCMs[j].isActive){
129  my_active_nDCMs++;
130  std::vector<nova::dbi::RunHistory::FEB> FEBs = DCMs[j].feb;
131  std::cout << " DCM[" << j
132  << "] has: " << FEBs.size()
133  << " FEBs" << std::endl;
134  //for (unsigned int k=0; k<FEBs.size(); ++k) {
135  //std::cout << " FEB[ " << k
136  //<< "], hwid: " << FEBs[k].hwid
137  //<< ", hasAPD: " << FEBs[k].hasAPD
138  //<< ", isEnabled: " << FEBs[k].isEnabled
139  //<< ", isCooled: " << FEBs[k].isCooled
140  //<< ", tempEnabled: " << FEBs[k].tempEnabled
141  //<< ", temperature: " << FEBs[k].temperature
142  //<< ", gain: " << FEBs[k].gain
143  //<< std::endl;
144  //} // end of loop on FEBs
145  } // end of loop on active DCMs
146  } // end of loop on DCMs
147  } // end of loop on diblocks
148  std::cout << " My N DCMs: " << my_nDCMs << std::endl;
149  std::cout << " My N active DCMs: " << my_active_nDCMs << std::endl;
150 
151  //assert(false);
152  return true;
153 }
TH2 * rh
Definition: drawXsec.C:5
novadaq::cnv::DetId DetId() const
Prefer ds::DetectorService::DetId() instead.
Definition: GeometryBase.h:243
const double j
Definition: BetheBloch.cxx:29
OStream cout
Definition: OStream.cxx:6
std::vector< DCM > dcm
Definition: RunHistory.h:311
void geom(int which=0)
Definition: geom.C:163
RunNumber_t run() const
Definition: SubRun.h:49
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::EDFilter::currentContext ( ) const
protectedinherited
void DataCheck::HardwareStatusCheck::endJob ( )
overridevirtual

Reimplemented from art::EDFilter.

Definition at line 230 of file HardwareStatusCheck_module.cc.

References om::cout, DEFINE_ART_MODULE(), and allTimeWatchdog::endl.

231 {
232  // Implementation of optional member function here.
233  std::cout << "--- HardwareStatusCheck endJob" << std::endl;
234 }
OStream cout
Definition: OStream.cxx:6
bool DataCheck::HardwareStatusCheck::filter ( art::Event evt)
overridevirtual

Implements art::EDFilter.

Definition at line 155 of file HardwareStatusCheck_module.cc.

References visualisationForPaperMasterPlot::cmap, febshutoff_auto::dcm, geo2elec::diblock, fDiblocksToUse, fExpectedDCMs, fFoundDCMs, fRawDigitModule, fTotalDCMsExpected, art::DataViewImpl::getByLabel(), daqchannelmap::DAQChannelMap::getDCM(), daqchannelmap::DAQChannelMap::getDiBlock(), globalDCMNumber(), hMissingDCMs, hNDCMs, hNRawDigits, hPresentDCMs, and cmap::dataprov::CMap::Map().

156 {
157  // Implementation of required member function here.
158  //std::cout << "--- HardwareStatusCheck filter. Event: "
159  // << evt.id().event()
160  // << std::endl;
161 
162  // Load services
164 
165  // Load hit list (RawDigits)
167  evt.getByLabel(fRawDigitModule, rawdigitcol);
168  //std::cout << " got " << rawdigitcol->size() << " RawDigits" << std::endl;
169 
170  fFoundDCMs.clear();
171  uint32_t daq_channel = 0;
172  uint32_t dcm = 0;
173  uint32_t diblock = 0;
174  uint32_t abs_dcm = 0; // there are 12 DCMs per diblock
175  // Loop over raw digits
176  for (size_t i_digit = 0; i_digit < rawdigitcol->size(); ++i_digit){
177  daq_channel = rawdigitcol->at(i_digit).DaqChannel();
178 
179  diblock = cmap->Map()->getDiBlock(daq_channel);
180  // are we using this diblock?
181  if(std::find(fDiblocksToUse.begin(), fDiblocksToUse.end(), diblock)==fDiblocksToUse.end()){
182  continue;
183  }
184 
185  dcm = cmap->Map()->getDCM(daq_channel);
186  abs_dcm = globalDCMNumber(diblock, dcm);
187  // has this dcm been found before?
188  if(std::find(fFoundDCMs.begin(), fFoundDCMs.end(), abs_dcm)==fFoundDCMs.end()){
189  fFoundDCMs.push_back(abs_dcm);
190  }
191  } // end of loop over raw digits
192  //std::cout << " found " << fFoundDCMs.size() << " DCMs" << std::endl;
193 
194  // fill monitoring histograms
195  hNRawDigits->Fill(rawdigitcol->size());
196  hNDCMs->Fill(fFoundDCMs.size());
197  // all present DCMs
198  for (auto const n_dcm: fFoundDCMs){
199  hPresentDCMs->Fill(n_dcm);
200  }
201  // only fill missing DCMs if there are any missing
202  if (fFoundDCMs.size()!=fTotalDCMsExpected){
203  for (auto const n_dcm: fExpectedDCMs){
204  if(std::find(fFoundDCMs.begin(), fFoundDCMs.end(), n_dcm)==fFoundDCMs.end()){
205  hMissingDCMs->Fill(n_dcm);
206  }
207  }
208  }
209 
210  return (fFoundDCMs.size()==fTotalDCMsExpected);
211 }
diblock
print "ROW IS " print row
Definition: geo2elec.py:31
std::string fRawDigitModule
Label of the raw digit module; set to default.
const daqchannelmap::DAQChannelMap * Map() const
Definition: CMap.h:57
std::vector< uint32_t > fDiblocksToUse
The diblocks we will check. Don&#39;t worry about those with bare FEBs.
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
Definition: DataViewImpl.h:344
dcm_id_t getDCM(dchan daqchan) const
Decode the dcm ID from a dchan.
diblock_t getDiBlock(dchan daqchan) const
Decode the diblock ID from a dchan.
uint32_t globalDCMNumber(uint32_t diblock, uint32_t dcm)
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
template<typename PROD , BranchType B>
ProductID art::EDFilter::getProductID ( std::string const &  instanceName = {}) const
inlineinherited

Definition at line 131 of file EDFilter.h.

References art::EDFilter::moduleDescription_.

Referenced by novaddt::HoughTrackMaker::create_associations().

132  {
133  return ProducerBase::getProductID<PROD, B>(moduleDescription_,
134  instanceName);
135  }
ModuleDescription moduleDescription_
Definition: EDFilter.h:124
template<typename PROD , BranchType B>
ProductID art::ProducerBase::getProductID ( ModuleDescription const &  moduleDescription,
std::string const &  instanceName 
) const
inherited

Definition at line 56 of file ProducerBase.h.

References art::ModuleDescription::moduleLabel().

Referenced by art::ProducerBase::modifiesEvent().

58  {
59  auto const& pd =
60  get_ProductDescription<PROD>(B, md.moduleLabel(), instanceName);
61  return pd.productID();
62  }
uint32_t DataCheck::HardwareStatusCheck::globalDCMNumber ( uint32_t  diblock,
uint32_t  dcm 
)

Definition at line 213 of file HardwareStatusCheck_module.cc.

References geo2elec::diblock, and fExpectedNDCMsPerDiblock.

Referenced by filter(), and reconfigure().

214 {
216 }
diblock
print "ROW IS " print row
Definition: geo2elec.py:31
const unsigned int fExpectedNDCMsPerDiblock
The number of DCMs we expect per diblock in each event.
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::ProducerBase::modifiesEvent ( ) const
inlineinherited

Definition at line 40 of file ProducerBase.h.

References art::ProducerBase::getProductID(), and string.

41  {
42  return true;
43  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
void DataCheck::HardwareStatusCheck::reconfigure ( const fhicl::ParameterSet pset)

Definition at line 73 of file HardwareStatusCheck_module.cc.

References om::cout, febshutoff_auto::db, allTimeWatchdog::endl, fDiblocksToUse, fExpectedDCMs, fExpectedNDCMsPerDiblock, fRawDigitModule, fTotalDCMsExpected, fhicl::ParameterSet::get(), globalDCMNumber(), and string.

Referenced by HardwareStatusCheck().

74 {
75  std::cout << "--- HardwareStatusCheck reconfigure" << std::endl;
76  fRawDigitModule = pset.get<std::string>("RawDigitModule", "daq");
77  fDiblocksToUse = pset.get<std::vector<unsigned int> >("DiblocksToUse");
78 
79  fTotalDCMsExpected = fExpectedNDCMsPerDiblock*fDiblocksToUse.size();
80  for (const auto db: fDiblocksToUse){
81  for(uint32_t i_dcm =0;i_dcm<fExpectedNDCMsPerDiblock;++i_dcm){
82  fExpectedDCMs.push_back(globalDCMNumber(db, i_dcm));
83  }
84  }
85 
86  std::cout << " RawDigitModule: " << fRawDigitModule << std::endl;
87  std::cout << " Total DCMs expected: " << fTotalDCMsExpected << std::endl;
88  std::cout << " Diblocks to use: ";
89  for (const auto db: fDiblocksToUse) std::cout << " " << db;
91  //std::cout << " abs DCM numbers expected: " << std::endl;
92  //for (const auto i: fExpectedDCMs) std::cout << " " << i << std::endl;
93 }
std::string fRawDigitModule
Label of the raw digit module; set to default.
T get(std::string const &key) const
Definition: ParameterSet.h:231
std::vector< uint32_t > fDiblocksToUse
The diblocks we will check. Don&#39;t worry about those with bare FEBs.
OStream cout
Definition: OStream.cxx:6
const unsigned int fExpectedNDCMsPerDiblock
The number of DCMs we expect per diblock in each event.
uint32_t globalDCMNumber(uint32_t diblock, uint32_t dcm)
enum BeamMode string
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

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

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited

Member Data Documentation

constexpr bool art::EDFilter::Fail {false}
staticinherited

Definition at line 33 of file EDFilter.h.

Referenced by evgen::GENIEFilter::filter().

std::vector<uint32_t> DataCheck::HardwareStatusCheck::fDiblocksToUse
private

The diblocks we will check. Don't worry about those with bare FEBs.

Definition at line 50 of file HardwareStatusCheck_module.cc.

Referenced by filter(), reconfigure(), and ~HardwareStatusCheck().

std::vector<uint32_t> DataCheck::HardwareStatusCheck::fExpectedDCMs
private

Definition at line 54 of file HardwareStatusCheck_module.cc.

Referenced by filter(), and reconfigure().

const unsigned int DataCheck::HardwareStatusCheck::fExpectedNDCMsPerDiblock = 12
private

The number of DCMs we expect per diblock in each event.

Definition at line 52 of file HardwareStatusCheck_module.cc.

Referenced by globalDCMNumber(), and reconfigure().

std::vector<uint32_t> DataCheck::HardwareStatusCheck::fFoundDCMs
private

Definition at line 53 of file HardwareStatusCheck_module.cc.

Referenced by filter(), and ~HardwareStatusCheck().

std::string DataCheck::HardwareStatusCheck::fRawDigitModule
private

Label of the raw digit module; set to default.

Definition at line 49 of file HardwareStatusCheck_module.cc.

Referenced by filter(), and reconfigure().

unsigned int DataCheck::HardwareStatusCheck::fTotalDCMsExpected = 0
private

Definition at line 51 of file HardwareStatusCheck_module.cc.

Referenced by filter(), and reconfigure().

TH1F* DataCheck::HardwareStatusCheck::hMissingDCMs
private

Definition at line 59 of file HardwareStatusCheck_module.cc.

Referenced by beginJob(), and filter().

TH1F* DataCheck::HardwareStatusCheck::hNDCMs
private

Definition at line 57 of file HardwareStatusCheck_module.cc.

Referenced by beginJob(), and filter().

TH1F* DataCheck::HardwareStatusCheck::hNRawDigits
private

Definition at line 56 of file HardwareStatusCheck_module.cc.

Referenced by beginJob(), and filter().

TH1F* DataCheck::HardwareStatusCheck::hPresentDCMs
private

Definition at line 58 of file HardwareStatusCheck_module.cc.

Referenced by beginJob(), and filter().

constexpr bool art::EDFilter::Pass {true}
staticinherited

Definition at line 32 of file EDFilter.h.

Referenced by evgen::GENIEFilter::filter().


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