LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Types | |
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 | doBeginJob (SharedResources const &resources) |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
std::unique_ptr< Worker > | makeWorker (WorkerParams const &wp) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Protected Member Functions | |
std::string const & | processName () const |
bool | wantAllEvents () const noexcept |
bool | wantEvent (ScheduleID id, Event const &e) const |
Handle< TriggerResults > | getTriggerResults (Event const &e) const |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Private Member Functions | |
void | beginJob () override |
void | endJob () override |
void | analyze (art::Event const &e) override |
bool | convCluster (art::Event const &evt) |
double | getMinDist (detinfo::DetectorPropertiesData const &detProp, 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 227 of file MultiEMShowers_module.cc.
|
inherited |
Definition at line 22 of file EDAnalyzer.h.
|
explicit |
Definition at line 308 of file MultiEMShowers_module.cc.
References fCluModuleLabel, fConvBothGood, fConvGood, fConvWrong, fEv2Good, fEv2Groups, fEvComp, fEvFidVol, fEvGMomCut, fEvInput, fEvReco, fHitsModuleLabel, fShsModuleLabel, fTrk3DModuleLabel, fVtxModuleLabel, and fhicl::ParameterSet::get().
|
delete |
|
delete |
|
overrideprivatevirtual |
Implements art::EDAnalyzer.
Definition at line 385 of file MultiEMShowers_module.cc.
References convCluster(), recob::Shower::dEdx(), recob::Shower::Direction(), larg4::dist(), 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::ProductRetriever::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(), recob::Shower::ShowerStart(), and pma::SolveLeastSquares3D().
|
overrideprivatevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 327 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, and fStartZ.
|
protectedinherited |
Definition at line 61 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumes().
|
protectedinherited |
|
protectedinherited |
Definition at line 75 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesMany().
|
protectedinherited |
|
inherited |
Definition at line 68 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesView().
|
private |
Definition at line 591 of file MultiEMShowers_module.cc.
References geo::CryostatID::Cryostat, geo::GeometryCore::Cryostat(), larg4::dist(), fCluModuleLabel, fHitsModuleLabel, geo::GeometryCore::FindTPCAtPosition(), art::ProductRetriever::getByLabel(), getMinDist(), ems::MCinfo::GetPosgamma1(), ems::MCinfo::GetPosgamma2(), geo::GeometryCore::HasTPC(), hits(), geo::CryostatGeo::MaxPlanes(), geo::GeometryCore::PositionToCryostatID(), and geo::TPCID::TPC.
Referenced by analyze().
|
inherited |
Definition at line 25 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 68 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 84 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 33 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 76 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 92 of file Analyzer.cc.
References art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 100 of file Analyzer.cc.
References e, and art::ModuleContext::scheduleID().
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 47 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 61 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 40 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
inherited |
Definition at line 54 of file Analyzer.cc.
Referenced by art::detail::Analyzer::Analyzer().
|
overrideprivatevirtual |
Reimplemented from art::EDAnalyzer.
Definition at line 371 of file MultiEMShowers_module.cc.
References fEv2Good, fEv2Groups, fEvComp, fEvFidVol, fEvGMomCut, fEvInput, and fEvReco.
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
private |
Definition at line 661 of file MultiEMShowers_module.cc.
References DEFINE_ART_MODULE, larg4::dist(), pma::Dist2(), pma::GetProjectionToPlane(), proj, and pma::WireDriftToCm().
Referenced by convCluster().
|
protectedinherited |
Definition at line 75 of file Observer.cc.
References art::ProductRetriever::get(), and art::Observer::selectors_.
Referenced by art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
inherited |
Definition at line 37 of file ModuleBase.cc.
References art::ModuleBase::doMakeWorker(), and art::NumBranchTypes.
|
protectedinherited |
Definition at line 82 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsume().
|
protectedinherited |
Definition at line 96 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeMany().
|
protectedinherited |
|
inherited |
Definition at line 89 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeView().
|
inherited |
Definition at line 13 of file ModuleBase.cc.
References art::errors::LogicError.
Referenced by art::OutputModule::doRespondToOpenInputFile(), art::OutputModule::doWriteEvent(), art::Modifier::fillProductDescriptions(), art::OutputModule::makePlugins_(), art::OutputWorker::OutputWorker(), reco::shower::LArPandoraModularShowerCreation::produce(), art::Modifier::registerProducts(), and art::OutputModule::registerProducts().
|
delete |
|
delete |
|
protectedinherited |
Definition at line 57 of file Observer.cc.
References art::Observer::process_name_.
Referenced by art::FileDumperOutput::printPrincipal().
|
inherited |
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
inlineprotectednoexceptinherited |
Definition at line 31 of file Observer.h.
References e, art::Observer::getTriggerResults(), art::Observer::wantAllEvents_, and art::Observer::wantEvent().
|
protectedinherited |
Definition at line 63 of file Observer.cc.
References art::Observer::rejectors_, art::Observer::selectors_, and art::Observer::wantAllEvents_.
Referenced by art::OutputModule::doEvent(), art::OutputModule::doWriteEvent(), and art::Observer::wantAllEvents().
|
private |
Definition at line 302 of file MultiEMShowers_module.cc.
Referenced by analyze(), convCluster(), and MultiEMShowers().
|
private |
Definition at line 251 of file MultiEMShowers_module.cc.
Referenced by analyze(), beginJob(), and MultiEMShowers().
|
private |
Definition at line 249 of file MultiEMShowers_module.cc.
Referenced by analyze(), beginJob(), and MultiEMShowers().
|
private |
Definition at line 250 of file MultiEMShowers_module.cc.
Referenced by analyze(), beginJob(), and MultiEMShowers().
|
private |
Definition at line 277 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 278 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 287 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 286 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 285 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 294 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 295 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
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 266 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 265 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 267 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 268 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 256 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 274 of file MultiEMShowers_module.cc.
Referenced by analyze(), endJob(), and MultiEMShowers().
|
private |
Definition at line 255 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 252 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 269 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 270 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 296 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 297 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 261 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 301 of file MultiEMShowers_module.cc.
Referenced by analyze(), convCluster(), and MultiEMShowers().
|
private |
Definition at line 289 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 291 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 290 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 263 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 264 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 257 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 260 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 271 of file MultiEMShowers_module.cc.
Referenced by analyze().
|
private |
Definition at line 281 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 293 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 305 of file MultiEMShowers_module.cc.
Referenced by analyze(), and MultiEMShowers().
|
private |
Definition at line 280 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 282 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 283 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 284 of file MultiEMShowers_module.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 303 of file MultiEMShowers_module.cc.
Referenced by analyze(), and MultiEMShowers().
|
private |
Definition at line 304 of file MultiEMShowers_module.cc.
Referenced by analyze(), and MultiEMShowers().