Public Member Functions | |
| CRTGen (fhicl::ParameterSet const &p) | |
| void | produce (art::Event &e) override |
| void | beginJob () override |
| void | beginRun (art::Run &run) override |
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 Attributes | |
| short int | driftcoordinate =0 |
| std::vector< double > | CRT_TOP_center_driftY ={-581,305.7,135} |
| std::vector< double > | CRT_BOT_center_driftY ={+581,-202.7,135} |
| double | CRTHeight =8*14.0 |
| double | CRTLength =144 |
| std::vector< double > | CRT_TOP_center |
| std::vector< double > | CRT_BOT_center |
| double | CRTSizeX |
| double | CRTSizeY |
| double | CRTSizeZ |
| TH2D | CRTTop |
| TH2D | CRTBot |
| TH1D | EnergyDistribution |
| int | fmode |
| int | fEnergyDistributionMode |
| std::pair< float, float > | fEnergyRange |
| std::string | fInputFileNameCRT |
| Name of text file containing events to simulate. More... | |
| std::string | fInputFileNameEnergy |
| Name of text file containing events to simulate. More... | |
| TH2F * | fTH2CRTTop |
| TH2F * | fTH2CRTBot |
| TH1F * | fTH1Energy |
| double | BufferLengthOnCRTBottom |
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 () |
This module assumes muons cross uniformly both CRT pannels. One muon will be generated per event.
Definition at line 37 of file CRTGen_module.cc.
|
explicit |
Definition at line 77 of file CRTGen_module.cc.
|
overridevirtual |
Reimplemented from art::EDProducer.
Definition at line 91 of file CRTGen_module.cc.
|
overridevirtual |
Reimplemented from art::EDProducer.
Definition at line 159 of file CRTGen_module.cc.
|
overridevirtual |
Implements art::EDProducer.
Definition at line 206 of file CRTGen_module.cc.
|
private |
Definition at line 73 of file CRTGen_module.cc.
|
private |
Definition at line 53 of file CRTGen_module.cc.
|
private |
Definition at line 48 of file CRTGen_module.cc.
|
private |
Definition at line 52 of file CRTGen_module.cc.
|
private |
Definition at line 47 of file CRTGen_module.cc.
|
private |
Definition at line 58 of file CRTGen_module.cc.
|
private |
Definition at line 49 of file CRTGen_module.cc.
|
private |
Definition at line 50 of file CRTGen_module.cc.
|
private |
Definition at line 54 of file CRTGen_module.cc.
|
private |
Definition at line 55 of file CRTGen_module.cc.
|
private |
Definition at line 56 of file CRTGen_module.cc.
|
private |
Definition at line 58 of file CRTGen_module.cc.
|
private |
Definition at line 46 of file CRTGen_module.cc.
|
private |
Definition at line 59 of file CRTGen_module.cc.
|
private |
Definition at line 62 of file CRTGen_module.cc.
|
private |
Definition at line 63 of file CRTGen_module.cc.
|
private |
Name of text file containing events to simulate.
Definition at line 64 of file CRTGen_module.cc.
|
private |
Name of text file containing events to simulate.
Definition at line 65 of file CRTGen_module.cc.
|
private |
Definition at line 61 of file CRTGen_module.cc.
|
private |
Definition at line 70 of file CRTGen_module.cc.
|
private |
Definition at line 69 of file CRTGen_module.cc.
|
private |
Definition at line 68 of file CRTGen_module.cc.
1.8.11