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

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 CheckBackTracking (fhicl::ParameterSet const &pset)
 
virtual ~CheckBackTracking ()
 
void analyze (art::Event const &evt)
 
void reconfigure (fhicl::ParameterSet const &pset)
 
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 Member Functions

void CheckFLSHitConsistency (art::Ptr< rb::CellHit > const &hit)
 
void CheckParticleConsistency (art::Ptr< rb::CellHit > const &hit)
 
void CheckTrackIdToParticle ()
 
void CheckPurityAndEfficiency (std::vector< art::Ptr< rb::CellHit > > const &hits)
 

Private Attributes

art::ServiceHandle< cheat::BackTrackerfBT
 BackTracker handle. More...
 
std::string fHitModuleLabel
 label for module creating rb::CellHit objects More...
 

Detailed Description

Definition at line 32 of file CheckBackTracking_module.cc.

Member Typedef Documentation

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

cheat::CheckBackTracking::CheckBackTracking ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 57 of file CheckBackTracking_module.cc.

References reconfigure().

58  : EDAnalyzer(pset)
59  {
60  this->reconfigure(pset);
61  }
void reconfigure(fhicl::ParameterSet const &pset)
EDAnalyzer(Table< Config > const &config)
Definition: EDAnalyzer.h:100
cheat::CheckBackTracking::~CheckBackTracking ( )
virtual

Definition at line 64 of file CheckBackTracking_module.cc.

65  {
66  }

Member Function Documentation

void cheat::CheckBackTracking::analyze ( art::Event const &  evt)
virtual

Implements art::EDAnalyzer.

Definition at line 75 of file CheckBackTracking_module.cc.

References CheckFLSHitConsistency(), CheckPurityAndEfficiency(), CheckTrackIdToParticle(), fBT, fHitModuleLabel, art::fill_ptr_vector(), art::DataViewImpl::getByLabel(), hits(), cheat::BackTracker::HitToParticle(), cheat::BackTracker::HitToTrackIDE(), cheat::BackTracker::HitToXYZ(), cheat::BackTracker::IsNoise(), part, and confusionMatrixTree::t.

76  {
77 
78  // grab the hits that have been reconstructed
80  evt.getByLabel(fHitModuleLabel, hitcol);
81 
82  // make a vector of them - we aren't writing anything out to a file
83  // so no need for a art::PtrVector here
84  std::vector< art::Ptr<rb::CellHit> > hits;
85  art::fill_ptr_vector(hits, hitcol);
86 
87  // loop over the hits and figure out which particle contributed to each one
88  std::vector< art::Ptr<rb::CellHit> >::iterator itr = hits.begin();
89 
90  while( itr != hits.end() ){
91 
92  // print the information for this hit
93  mf::LogVerbatim("CheckBackTracking") << *(*itr).get();
94 
95  // check is this is a noise hit
96  if (fBT->IsNoise((*itr))){
97  mf::LogVerbatim("CheckBackTracking") << "This hit is a noise hit."
98  << " No truth info will be printed.";
99  itr++;
100  continue;
101  }
102 
103  this->CheckFLSHitConsistency(*itr);
104 
105  TVector3 xyz = fBT->HitToXYZ((*itr));
106  mf::LogVerbatim("CheckBackTracking") << "hit weighted mean position is ("
107  << xyz[0] << "," << xyz[1] << "," << xyz[2] << ")";
108 
109  std::vector<cheat::TrackIDE> trackides = fBT->HitToTrackIDE((*itr));
110  for(size_t t = 0; t < trackides.size(); ++t){
111  mf::LogVerbatim("CheckBackTracking") << "track id: " << trackides[t].trackID
112  << " contributed " << trackides[t].energy << "/"
113  << trackides[t].energyFrac
114  << " to the current hit";
115  }
116 
117  const sim::Particle* part = fBT->HitToParticle(*itr);
118  if(part){
119  mf::LogVerbatim("CheckBackTracking") << "largest contributing particle is: " << *part;
120  }
121  else{
122  mf::LogVerbatim("CheckBackTracking") << "no particle corresponding to CellHit: " << *itr;
123  }
124 
125  itr++;
126  }// end loop over hits
127 
128  this->CheckTrackIdToParticle();
129  this->CheckPurityAndEfficiency(hits);
130 
131  return;
132 
133  } // end analyze
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
std::string fHitModuleLabel
label for module creating rb::CellHit objects
std::vector< TrackIDE > HitToTrackIDE(const rb::CellHit &hit, bool useBirksE=false) const
Convenience function. HitsToTrackIDE but for a single hit.
const sim::Particle * HitToParticle(art::Ptr< rb::CellHit > const &hit, bool quiet=false) const
Returns the sim::Particle object contributing the most light to the specified rb::CellHit.
bool IsNoise(const art::Ptr< rb::CellHit > &hit) const
Is this hit not associated with any particles?
TString part[npart]
Definition: Style.C:32
void hits()
Definition: readHits.C:15
int evt
void CheckPurityAndEfficiency(std::vector< art::Ptr< rb::CellHit > > const &hits)
art::ServiceHandle< cheat::BackTracker > fBT
BackTracker handle.
void CheckFLSHitConsistency(art::Ptr< rb::CellHit > const &hit)
void fill_ptr_vector(std::vector< Ptr< T >> &ptrs, H const &h)
Definition: Ptr.h:464
TVector3 HitToXYZ(art::Ptr< rb::CellHit > const &hit, bool useBirksE=false) const
Returns the XYZ position of the energy deposition for a given hit.
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_
void cheat::CheckBackTracking::CheckFLSHitConsistency ( art::Ptr< rb::CellHit > const &  hit)
private

Definition at line 136 of file CheckBackTracking_module.cc.

References getBrightness::cell, rb::CellHit::Cell(), cheat::BackTracker::CellToFLSHit(), MakeMiniprodValidationCuts::f, fBT, cheat::BackTracker::HitToFLSHit(), rb::CellHit::Plane(), and NDAPDHVSetting::plane.

Referenced by analyze().

137  {
138  unsigned int plane = hit->Plane();
139  unsigned int cell = hit->Cell();
140 
141  const std::vector<sim::FLSHit> flshits = fBT->CellToFLSHit(plane, cell);
142  const std::vector<sim::FLSHit> flshits2 = fBT->HitToFLSHit(hit);
143 
144  for (size_t f = 0; f < flshits2.size(); ++f) {
145  if ( std::find(flshits.begin(), flshits.end(), flshits2[f]) == flshits.end() ) {
146  throw cet::exception("CheckBackTracking")
147  << "FLSHits from Cell do not match FLSHits from Hit\n"
148  << __FILE__ << ":" << __LINE__ << "\n";
149  }
150  }
151 
152  return;
153  }
unsigned short Plane() const
Definition: CellHit.h:39
::xsd::cxx::tree::exception< char > exception
Definition: Database.h:225
unsigned short Cell() const
Definition: CellHit.h:40
std::vector< sim::FLSHit > HitToFLSHit(const rb::CellHit &hit) const
All the FLSHits that contributed to this hit, sorted from most to least light.
art::ServiceHandle< cheat::BackTracker > fBT
BackTracker handle.
const std::vector< sim::FLSHit > CellToFLSHit(unsigned int const &plane, unsigned int const &cell) const
Returns the FLSHits contributing the signal in the specified cell. WARNING: Use with extreme caution!...
void cheat::CheckBackTracking::CheckParticleConsistency ( art::Ptr< rb::CellHit > const &  hit)
private
void cheat::CheckBackTracking::CheckPurityAndEfficiency ( std::vector< art::Ptr< rb::CellHit > > const &  hits)
private

Definition at line 214 of file CheckBackTracking_module.cc.

References DEFINE_ART_MODULE(), fBT, cheat::BackTracker::GetTrackIDList(), make_syst_table_plots::h, cheat::BackTracker::HitCollectionEfficiency(), cheat::BackTracker::HitCollectionPurity(), hits(), geo::kXorY, and art::PtrVector< T >::push_back().

Referenced by analyze().

215  {
216  art::PtrVector<rb::CellHit> hitPtrVec;
217  for(size_t h = 0; h < hits.size(); ++h) hitPtrVec.push_back(hits[h]);
218 
219  // loop over the track ID values and calculate the purity and efficiency for each
220  std::set<int>::iterator setitr = fBT->GetTrackIDList().begin();
221  while( setitr != fBT->GetTrackIDList().end() ){
222 
223  std::set<int> id;
224  id.insert(*setitr);
225  mf::LogVerbatim ("CheckBackTracking") << "track ID: " << *setitr
226  << " purity: "
227  << fBT->HitCollectionPurity(id, hitPtrVec)
228  << " efficiency: "
229  << fBT->HitCollectionEfficiency(id, hitPtrVec, hitPtrVec, geo::kXorY);
230 
231 
232  setitr++;
233  }// end loop over track ids
234 
235  return;
236  }
::xsd::cxx::tree::id< char, ncname > id
Definition: Database.h:165
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
X or Y views.
Definition: PlaneGeo.h:30
double HitCollectionEfficiency(const std::set< int > &trackIDs, const std::vector< rb::WeightedHit > &whits, const std::vector< const rb::CellHit * > &allhits, const geo::View_t &view, std::map< int, double > *effMap=0, bool energyEff=false, double *desiredEnergy=0, double *totalEnergy=0, int *desiredHits=0, int *totalHits=0) const
Returns the fraction of all energy in an event from a specific set of Geant4 track IDs that are repre...
void hits()
Definition: readHits.C:15
void push_back(Ptr< U > const &p)
Definition: PtrVector.h:441
double HitCollectionPurity(const std::set< int > &trackIDs, const std::vector< rb::WeightedHit > &whits, std::map< int, double > *purMap=0, std::map< int, int > *parents=0, bool energyPur=false) const
Returns the fraction of hits in a collection that come from the specified Geant4 track ids...
art::ServiceHandle< cheat::BackTracker > fBT
BackTracker handle.
const std::set< int > GetTrackIDList() const
Get all G4 track ids present in the event.
Definition: BackTracker.h:750
void cheat::CheckBackTracking::CheckTrackIdToParticle ( )
private

Definition at line 156 of file CheckBackTracking_module.cc.

References fBT, sim::ParticleNavigator::find(), art::Ptr< T >::get(), cheat::BackTracker::GetTrackIDList(), art::Ptr< T >::id(), if(), cheat::BackTracker::MCTruthToParticles(), simb::MCParticle::Mother(), cheat::BackTracker::ParticleNavigator(), cheat::BackTracker::ParticleToMCTruth(), submit_concat_project::parts, moon_position_table_new3::second, cheat::BackTracker::TrackIDToMCTruth(), cheat::BackTracker::TrackIDToMotherParticle(), and cheat::BackTracker::TrackIDToParticle().

Referenced by analyze().

157  {
158  // loop over the eveID values and calculate the purity and efficiency for each
159  std::set<int>::iterator setitr = fBT->GetTrackIDList().begin();
160  while( setitr != fBT->GetTrackIDList().end() ){
161 
162  sim::ParticleHistory phist(&(fBT->ParticleNavigator()), *setitr);
163 
164  const sim::Particle* pfromID = fBT->TrackIDToParticle(*setitr);
165  const sim::Particle* pfromNav = fBT->ParticleNavigator().find(*setitr)->second;
166  if ( pfromID != pfromNav ) {
167  throw cet::exception("CheckBackTracking")
168  << "Same track ID returns different pointers: "
169  << *pfromID << "\n"
170  << *pfromNav << "\n"
171  << __FILE__ << ":" << __LINE__ << "\n";
172  }
173 
174  // attempt to recover the MCTruth object for this particle
176  mf::LogVerbatim("CheckBackTracking") << "MCTruth for " << *setitr << " is "
177  << *(mct.get());
178 
179  // check that you get the same art::Ptr<simb::MCTruth> from both accessors
180  if ( mct.id() != fBT->ParticleToMCTruth(pfromID).id() ) {
181  throw cet::exception("CheckBackTrack")
182  << "Track ID and Particle return different MCTruth:\n"
183  << *(mct.get()) << "\n"
184  << *(fBT->ParticleToMCTruth(pfromID).get()) << "\n"
185  << __FILE__ << ":" << __LINE__ << "\n";
186  }
187 
188  // get the list of particles for this MCTruth
189  std::vector<const sim::Particle*> parts = fBT->MCTruthToParticles(mct);
190  if ( std::find(parts.begin(), parts.end(), pfromID) == parts.end() ) {
191  throw cet::exception("CheckBackTracking")
192  << "Cannot map particle to MCTruth and back again\n"
193  << __FILE__ << ":" << __LINE__ << "\n";
194  }
195 
196  // check the mother particle
197  pfromNav = fBT->ParticleNavigator().find(pfromID->Mother())->second;
198  pfromID = fBT->TrackIDToMotherParticle(*setitr);
199  if ( pfromID != pfromNav ) {
200  throw cet::exception("CheckBackTracking")
201  << "Same track ID returns different mothers: "
202  << *pfromID << "\n"
203  << *pfromNav << "\n\t Parentage is:\n\t"
204  << phist << "\n"
205  << __FILE__ << ":" << __LINE__ << "\n";
206  }
207 
208  }
209 
210  return;
211  }
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
const sim::Particle * TrackIDToMotherParticle(int const &id) const
const sim::ParticleNavigator & ParticleNavigator() const
Get a reference to the ParticleNavigator.
Definition: BackTracker.h:744
int Mother() const
Definition: MCParticle.h:212
::xsd::cxx::tree::exception< char > exception
Definition: Database.h:225
if(dump)
const art::Ptr< simb::MCTruth > & ParticleToMCTruth(const sim::Particle *p) const
ProductID id() const
Definition: Ptr.h:349
const sim::Particle * TrackIDToParticle(int const &id) const
Returns a pointer to the sim::Particle object corresponding to the given TrackID. ...
art::ServiceHandle< cheat::BackTracker > fBT
BackTracker handle.
const art::Ptr< simb::MCTruth > & TrackIDToMCTruth(int const &id) const
T const * get() const
Definition: Ptr.h:321
const std::set< int > GetTrackIDList() const
Get all G4 track ids present in the event.
Definition: BackTracker.h:750
iterator find(const key_type &key)
std::vector< const sim::Particle * > MCTruthToParticles(art::Ptr< simb::MCTruth > const &mct) const
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
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 cheat::CheckBackTracking::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 69 of file CheckBackTracking_module.cc.

References fHitModuleLabel, fhicl::ParameterSet::get(), and string.

Referenced by CheckBackTracking().

70  {
71  fHitModuleLabel = pset.get<std::string>("HitModuleLabel", "calhit");
72  }
std::string fHitModuleLabel
label for module creating rb::CellHit objects
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

art::ServiceHandle<cheat::BackTracker> cheat::CheckBackTracking::fBT
private
std::string cheat::CheckBackTracking::fHitModuleLabel
private

label for module creating rb::CellHit objects

Definition at line 49 of file CheckBackTracking_module.cc.

Referenced by analyze(), and reconfigure().


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