module to produce single or multiple specified particles in the detector More...
Public Member Functions | |
| FileMuons (fhicl::ParameterSet const &pset) | |
| void | produce (art::Event &evt) |
| void | beginJob () |
| void | beginRun (art::Run &run) |
| void | endJob () |
Public Member Functions inherited from art::EDProducer | |
| EDProducer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| EDProducer (Table< Config > const &config) | |
| std::string | workerType () const |
Public Member Functions inherited from art::detail::Producer | |
| virtual | ~Producer () noexcept |
| Producer (fhicl::ParameterSet const &) | |
| Producer (Producer const &)=delete | |
| Producer (Producer &&)=delete | |
| Producer & | operator= (Producer const &)=delete |
| Producer & | operator= (Producer &&)=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) |
Public Member Functions inherited from art::Modifier | |
| ~Modifier () noexcept | |
| Modifier () | |
| Modifier (Modifier const &)=delete | |
| Modifier (Modifier &&)=delete | |
| Modifier & | operator= (Modifier const &)=delete |
| Modifier & | operator= (Modifier &&)=delete |
Public Member Functions inherited from art::ModuleBase | |
| virtual | ~ModuleBase () noexcept |
| ModuleBase () | |
| 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) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | consumesView (InputTag const &tag) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | mayConsumeView (InputTag const &tag) |
Private Member Functions | |
| void | ReadEvents (simb::MCTruth &mct) |
Private Attributes | |
| int | fEventNumberOffset |
| std::vector< int > | fPDG |
| std::vector< double > | fXYZ_Off |
| std::string | fFileName |
| std::string | fMuonsFileType |
| std::string | fTreeName |
| std::vector< std::string > | fBranchNames |
| std::ifstream * | fMuonFile |
| TFile * | fMuonFileR |
| TTree * | TNtuple |
| unsigned int | countFile |
| Float_t | xtmp |
| Float_t | ytmp |
| Float_t | ztmp |
| Float_t | pxtmp |
| Float_t | pytmp |
| Float_t | pztmp |
| Float_t | charge |
| Float_t | E |
| Float_t | costheta |
| Float_t | phi |
| Float_t | xdet |
| Float_t | ydet |
| Float_t | zdet |
| TBranch * | b_x |
| TBranch * | b_y |
| TBranch * | b_z |
| TBranch * | b_E |
| TBranch * | b_costheta |
| TBranch * | b_phi |
| TBranch * | b_xdet |
| TBranch * | b_ydet |
| TBranch * | b_zdet |
| TBranch * | b_px |
| TBranch * | b_py |
| TBranch * | b_pz |
| TBranch * | b_charge |
Additional Inherited Members | |
Public Types inherited from art::EDProducer | |
| using | ModuleType = EDProducer |
| using | WorkerType = WorkerT< EDProducer > |
Public Types inherited from art::detail::Producer | |
| template<typename UserConfig , typename KeysToIgnore = void> | |
| using | Table = Modifier::Table< UserConfig, KeysToIgnore > |
Public Types inherited from art::Modifier | |
| template<typename UserConfig , typename UserKeysToIgnore = void> | |
| using | Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore > |
Static Public Member Functions inherited from art::EDProducer | |
| static void | commitEvent (EventPrincipal &ep, Event &e) |
Protected Member Functions inherited from art::ModuleBase | |
| 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 () |
module to produce single or multiple specified particles in the detector
Definition at line 44 of file FileMuons_module.cc.
|
explicit |
Definition at line 105 of file FileMuons_module.cc.
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 122 of file FileMuons_module.cc.
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 197 of file FileMuons_module.cc.
|
virtual |
|
virtual |
unique_ptr allows ownership to be transferred to the art::Event after the put statement
Implements art::EDProducer.
Definition at line 204 of file FileMuons_module.cc.
|
private |
every event will have one of each particle species in the fPDG array
Definition at line 224 of file FileMuons_module.cc.
|
private |
Definition at line 94 of file FileMuons_module.cc.
|
private |
Definition at line 86 of file FileMuons_module.cc.
|
private |
Definition at line 85 of file FileMuons_module.cc.
|
private |
Definition at line 87 of file FileMuons_module.cc.
|
private |
Definition at line 91 of file FileMuons_module.cc.
|
private |
Definition at line 92 of file FileMuons_module.cc.
|
private |
Definition at line 93 of file FileMuons_module.cc.
|
private |
Definition at line 82 of file FileMuons_module.cc.
|
private |
Definition at line 88 of file FileMuons_module.cc.
|
private |
Definition at line 83 of file FileMuons_module.cc.
|
private |
Definition at line 89 of file FileMuons_module.cc.
|
private |
Definition at line 84 of file FileMuons_module.cc.
|
private |
Definition at line 90 of file FileMuons_module.cc.
|
private |
Definition at line 74 of file FileMuons_module.cc.
|
private |
Definition at line 76 of file FileMuons_module.cc.
|
private |
Definition at line 70 of file FileMuons_module.cc.
|
private |
Definition at line 75 of file FileMuons_module.cc.
|
private |
Definition at line 65 of file FileMuons_module.cc.
|
private |
Definition at line 59 of file FileMuons_module.cc.
|
private |
Definition at line 62 of file FileMuons_module.cc.
|
private |
Definition at line 67 of file FileMuons_module.cc.
|
private |
Definition at line 68 of file FileMuons_module.cc.
|
private |
Definition at line 63 of file FileMuons_module.cc.
|
private |
Definition at line 60 of file FileMuons_module.cc.
|
private |
Definition at line 64 of file FileMuons_module.cc.
|
private |
Definition at line 61 of file FileMuons_module.cc.
|
private |
Definition at line 77 of file FileMuons_module.cc.
|
private |
Definition at line 73 of file FileMuons_module.cc.
|
private |
Definition at line 73 of file FileMuons_module.cc.
|
private |
Definition at line 73 of file FileMuons_module.cc.
|
private |
Definition at line 69 of file FileMuons_module.cc.
|
private |
Definition at line 78 of file FileMuons_module.cc.
|
private |
Definition at line 72 of file FileMuons_module.cc.
|
private |
Definition at line 79 of file FileMuons_module.cc.
|
private |
Definition at line 72 of file FileMuons_module.cc.
|
private |
Definition at line 80 of file FileMuons_module.cc.
|
private |
Definition at line 72 of file FileMuons_module.cc.
1.8.11