LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Public Types | |
using | WorkerType = WorkerT< EDAnalyzer > |
using | ModuleType = EDAnalyzer |
Public Member Functions | |
MultiEMShowers (fhicl::ParameterSet const &p) | |
MultiEMShowers (MultiEMShowers const &)=delete | |
MultiEMShowers (MultiEMShowers &&)=delete | |
MultiEMShowers & | operator= (MultiEMShowers const &)=delete |
MultiEMShowers & | operator= (MultiEMShowers &&)=delete |
void | beginJob () override |
void | endJob () override |
void | analyze (art::Event const &e) override |
void | reconfigure (fhicl::ParameterSet const &p) |
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::TriggerResults > | getTriggerResults (Event const &e) const |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | consumes (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< T > | consumesView (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | mayConsume (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< T > | mayConsumeView (InputTag const &it) |
base_engine_t & | createEngine (seed_t seed) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make) |
base_engine_t & | createEngine (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< Consumer > | non_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 | |
bool | convCluster (art::Event const &evt) |
double | getMinDist (std::vector< art::Ptr< recob::Hit > > const &v, TVector3 const &convmc, size_t view, size_t tpc, size_t cryo) |
Private Attributes | |
int | fConvGood |
int | fConvWrong |
int | fConvBothGood |
int | fGammasInside |
TTree * | fEvTree |
int | fEvNumber |
int | fNGroups |
double | fPi0mom |
double | fGmom1 |
double | fGmom2 |
double | fMcth |
int | fNgammas |
int | fEvFidVol |
int | fEvComp |
int | fEvGMomCut |
int | fEvInput |
TVector3 | fGdir1 |
TVector3 | fGdir2 |
TVector3 | fPrimary |
int | fEvReco |
int | fEv2Groups |
int | fEv2Good |
int | fCountph |
int | fCountreco |
TTree * | fShTree |
TTree * | fRecoTree |
double | fStartX |
double | fStartY |
double | fStartZ |
double | fDedxZ |
double | fDedxV |
double | fDedxU |
double | fMCrecovtx |
double | fMCrecoTh |
double | fMCrecovtxgood |
double | fMCrecoThgood |
double | fRecth |
double | fRecthgood |
double | fDistConvrecomc1 |
double | fDistConvrecomc2 |
double | fGdirmcreco1 |
double | fGdirmcreco2 |
double | fGdirmcreco1good |
double | fGdirmcreco2good |
art::InputTag | fHitsModuleLabel |
art::InputTag | fCluModuleLabel |
art::InputTag | fTrk3DModuleLabel |
art::InputTag | fVtxModuleLabel |
art::InputTag | fShsModuleLabel |
Definition at line 238 of file MultiEMShowers_module.cc.
|
inherited |
Definition at line 39 of file EDAnalyzer.h.
|
inherited |
Definition at line 38 of file EDAnalyzer.h.
|
explicit |
Definition at line 309 of file MultiEMShowers_module.cc.
References fConvBothGood, fConvGood, fConvWrong, fEv2Good, fEv2Groups, fEvComp, fEvFidVol, fEvGMomCut, fEvInput, fEvReco, and reconfigure().
|
delete |
|
delete |
|
overridevirtual |
Implements art::EDAnalyzer.
Definition at line 395 of file MultiEMShowers_module.cc.
References convCluster(), recob::Shower::dEdx(), recob::Shower::Direction(), pma::Dist2(), art::EventID::event(), fCluModuleLabel, fConvBothGood, fConvGood, fConvWrong, fCountph, fCountreco, fDedxU, fDedxV, fDedxZ, fDistConvrecomc1, fDistConvrecomc2, fEv2Good, fEv2Groups, fEvComp, fEvFidVol, fEvGMomCut, fEvInput, fEvNumber, fEvReco, fEvTree, fGammasInside, fGdir1, fGdir2, fGdirmcreco1, fGdirmcreco1good, fGdirmcreco2, fGdirmcreco2good, fGmom1, fGmom2, fHitsModuleLabel, fMCrecoTh, fMCrecoThgood, fMCrecovtx, fMCrecovtxgood, fMcth, fNgammas, fNGroups, fPi0mom, fPrimary, fRecoTree, fRecth, fRecthgood, fShsModuleLabel, fShTree, fStartX, fStartY, fStartZ, fTrk3DModuleLabel, fVtxModuleLabel, art::DataViewImpl::getByLabel(), ems::MCinfo::GetCosine(), ems::MCinfo::GetDirgamma1(), ems::MCinfo::GetDirgamma2(), ems::MCinfo::GetMomGamma1(), ems::MCinfo::GetMomGamma2(), ems::MCinfo::GetMompi0(), ems::MCinfo::GetNgammas(), ems::MCinfo::GetPosgamma1(), ems::MCinfo::GetPosgamma2(), ems::MCinfo::GetPospi0(), ems::MCinfo::GetPrimary(), art::Event::id(), ems::MCinfo::IsCompton(), ems::MCinfo::IsInside1(), ems::MCinfo::IsInside2(), s, recob::Shower::ShowerStart(), and pma::SolveLeastSquares3D().
|
overridevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 337 of file MultiEMShowers_module.cc.
References fConvBothGood, fConvGood, fConvWrong, fCountph, fCountreco, fDedxU, fDedxV, fDedxZ, fEvNumber, fEvTree, fGammasInside, fGdirmcreco1, fGdirmcreco1good, fGdirmcreco2, fGdirmcreco2good, fGmom1, fGmom2, fMCrecoTh, fMCrecoThgood, fMCrecovtx, fMCrecovtxgood, fMcth, fNgammas, fNGroups, fPi0mom, fRecoTree, fRecth, fRecthgood, fShTree, fStartX, fStartY, fStartZ, and art::TFileDirectory::make().
|
inlineprotectedinherited |
Definition at line 79 of file EventObserverBase.h.
References art::EventObserverBase::selectors_.
Referenced by art::EDAnalyzer::doEvent(), and art::OutputModule::doWriteEvent().
|
inherited |
|
inherited |
Definition at line 147 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 162 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 172 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
private |
Definition at line 587 of file MultiEMShowers_module.cc.
References geo::GeometryCore::Cryostat(), fCluModuleLabel, fHitsModuleLabel, geo::GeometryCore::FindCryostatAtPosition(), geo::GeometryCore::FindTPCAtPosition(), art::DataViewImpl::getByLabel(), getMinDist(), ems::MCinfo::GetPosgamma1(), ems::MCinfo::GetPosgamma2(), geo::GeometryCore::HasTPC(), hits(), geo::CryostatGeo::MaxPlanes(), and geo::TPCID::TPC.
Referenced by analyze().
|
inherited |
Definition at line 26 of file EngineCreator.cc.
References art::EngineCreator::rng().
Referenced by evgen::CosmicsGen::CosmicsGen(), rndm::NuRandomService::createEngine(), cluster::fuzzyCluster::fuzzyCluster(), cluster::HoughLineFinder::HoughLineFinder(), art::MixFilter< T >::initEngine_(), larg4::LArG4::LArG4(), evgen::LightSource::LightSource(), evgen::NeutronOsc::NeutronOsc(), evgen::NucleonDecay::NucleonDecay(), opdet::OpMCDigi::OpMCDigi(), opdet::OptDetDigitizer::OptDetDigitizer(), phot::PhotonLibraryPropagation::PhotonLibraryPropagation(), detsim::SimDriftElectrons::SimDriftElectrons(), evgen::SingleGen::SingleGen(), evgen::SNNueAr40CCGen::SNNueAr40CCGen(), ToyOneShowerGen::ToyOneShowerGen(), and trkf::Track3DKalman::Track3DKalman().
|
inherited |
Definition at line 32 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
inherited |
Definition at line 40 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
protectedinherited |
Definition at line 114 of file EDAnalyzer.cc.
References art::EDAnalyzer::current_context_.
Referenced by art::EDAnalyzer::workerType().
|
overridevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 381 of file MultiEMShowers_module.cc.
References fEv2Good, fEv2Groups, fEvComp, fEvFidVol, fEvGMomCut, fEvInput, and fEvReco.
|
inherited |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
private |
Definition at line 661 of file MultiEMShowers_module.cc.
References DEFINE_ART_MODULE, pma::Dist2(), pma::GetProjectionToPlane(), proj, and pma::WireDriftToCm().
Referenced by convCluster().
|
inlineinherited |
Definition at line 61 of file EventObserverBase.h.
References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.
Referenced by art::OutputModule::doWriteEvent().
|
inherited |
|
inherited |
Definition at line 190 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 205 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 215 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inlineinherited |
Definition at line 25 of file EventObserverBase.h.
|
staticinherited |
Definition at line 76 of file Consumer.cc.
Referenced by art::RootOutput::beginSubRun(), art::OutputModule::doBeginRun(), art::OutputModule::doBeginSubRun(), art::OutputModule::doEndRun(), art::OutputModule::doEndSubRun(), art::ProducingService::doPostReadEvent(), art::ProducingService::doPostReadRun(), art::ProducingService::doPostReadSubRun(), art::OutputModule::doWriteEvent(), art::ProcessPackage< L >::postScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::Run >::End::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), art::ProcessPackage< L >::preScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::preScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), art::EventProcessor::readEvent(), art::EventProcessor::readRun(), art::EmptyEvent::readRun_(), art::EventProcessor::readSubRun(), and art::EmptyEvent::readSubRun_().
|
delete |
|
delete |
|
protectedinherited |
Definition at line 89 of file Consumer.cc.
References fhicl::ParameterSet::get_if_present().
Referenced by art::EDProducer::doBeginJob(), art::EDFilter::doBeginJob(), and art::EDAnalyzer::doBeginJob().
|
inlineinherited |
Definition at line 41 of file EventObserverBase.h.
References art::EventObserverBase::process_name_.
Referenced by art::FileDumperOutput::printPrincipal(), and art::RootOutput::RootOutput().
void ems::MultiEMShowers::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 326 of file MultiEMShowers_module.cc.
References fCluModuleLabel, fHitsModuleLabel, fShsModuleLabel, fTrk3DModuleLabel, fVtxModuleLabel, and fhicl::ParameterSet::get().
Referenced by MultiEMShowers().
|
inlineinherited |
Definition at line 33 of file EventObserverBase.h.
|
inlineinherited |
Definition at line 56 of file EventObserverBase.h.
References art::EventObserverBase::selector_config_id_.
Referenced by art::RootOutputFile::writeOne().
|
protectedinherited |
Definition at line 125 of file Consumer.cc.
Referenced by art::EDProducer::doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and art::RootOutput::endJob().
|
protectedinherited |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
inlineinherited |
Definition at line 46 of file EventObserverBase.h.
References art::EventObserverBase::wantAllEvents_.
Referenced by art::EDAnalyzer::doEvent(), art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), art::RootOutput::RootOutput(), and art::OutputWorker::wantAllEvents().
|
inlineinherited |
Definition at line 51 of file EventObserverBase.h.
References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().
Referenced by art::EDAnalyzer::doEvent(), art::OutputModule::doEvent(), and art::OutputModule::doWriteEvent().
|
inlineinherited |
Definition at line 109 of file EDAnalyzer.h.
References art::EDAnalyzer::currentContext().
|
private |
Definition at line 302 of file MultiEMShowers_module.cc.
Referenced by analyze(), convCluster(), and reconfigure().
|
private |
Definition at line 261 of file MultiEMShowers_module.cc.
Referenced by analyze(), beginJob(), and MultiEMShowers().
|
private |
Definition at line 259 of file MultiEMShowers_module.cc.
Referenced by analyze(), beginJob(), and MultiEMShowers().
|
private |
Definition at line 260 of file MultiEMShowers_module.cc.
Referenced by analyze(), beginJob(), and MultiEMShowers().
|
private |
Definition at line 287 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 288 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 293 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 293 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 293 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 297 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 297 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 286 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 285 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 276 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 275 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 277 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 278 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 266 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 284 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 265 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 262 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 279 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 280 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 298 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 299 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 298 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 299 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 271 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 272 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 301 of file MultiEMShowers_module.cc.
Referenced by analyze(), convCluster(), and reconfigure().
|
private |
Definition at line 294 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 295 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 294 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 295 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 273 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 274 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 267 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 270 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 281 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 291 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 296 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 296 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 305 of file MultiEMShowers_module.cc.
Referenced by analyze(), and reconfigure().
|
private |
Definition at line 290 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 292 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 292 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 292 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 303 of file MultiEMShowers_module.cc.
Referenced by analyze(), and reconfigure().
|
private |
Definition at line 304 of file MultiEMShowers_module.cc.
Referenced by analyze(), and reconfigure().