module to produce single or multiple specified particles in the detector More...
Public Member Functions | |
| MUSUN (fhicl::ParameterSet const &pset) | |
| void | produce (art::Event &evt) |
| void | beginJob () |
| void | beginRun (art::Run &run) |
| void | endRun (art::Run &run) |
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 | SampleOne (unsigned int i, simb::MCTruth &mct, CLHEP::HepRandomEngine &engine) |
| void | initialization (double theta1, double theta2, double phi1, double phi2, int figflag, double s_hor, double s_ver1, double s_ver2, double &FI) |
| void | sampling (double &E, double &theta, double &phi, double &dep, CLHEP::HepRandomEngine &engine) |
Private Attributes | |
| CLHEP::HepRandomEngine & | fEngine |
| art-managed random-number engine More... | |
| int | fPDG |
| PDG code of particles to generate. More... | |
| double | fChargeRatio |
| Charge ratio of particle / anti-particle. More... | |
| std::string | fInputDir |
| Input Directory. More... | |
| std::string | fInputFile1 |
| Input File 1. More... | |
| std::string | fInputFile2 |
| Input File 2. More... | |
| std::string | fInputFile3 |
| Input File 3. More... | |
| double | fCavernAngle |
| Angle of the detector from the North to the East. More... | |
| double | fRockDensity |
| double | fEmin |
| Minimum Kinetic Energy (GeV) More... | |
| double | fEmax |
| Maximum Kinetic Energy (GeV) More... | |
| double | fThetamin |
| Minimum theta. More... | |
| double | fThetamax |
| Maximum theta. More... | |
| double | fPhimin |
| Minimum phi. More... | |
| double | fPhimax |
| Maximum phi. More... | |
| int | figflag |
| If want sampled from sphere or parallelepiped. More... | |
| double | fXmin |
| Minimum X position. More... | |
| double | fYmin |
| Minimum Y position. More... | |
| double | fZmin |
| Minimum Z position. More... | |
| double | fXmax |
| Maximum X position. More... | |
| double | fYmax |
| Maximum Y position. More... | |
| double | fZmax |
| Maximum Z position. More... | |
| double | fT0 |
| Central t position (ns) in world coordinates. More... | |
| double | fSigmaT |
| Variation in t position (ns) More... | |
| int | fTDist |
| How to distribute t (gaus, or uniform) More... | |
| int | PdgCode |
| double | Energy |
| double | phi |
| double | theta |
| double | dep |
| double | Time |
| double | Momentum |
| double | px0 |
| double | py0 |
| double | pz0 |
| double | x0 |
| double | y0 |
| double | z0 |
| double | cx |
| double | cy |
| double | cz |
| double | FI = 0. |
| double | s_hor = 0. |
| double | s_ver1 = 0. |
| double | s_ver2 = 0. |
| double | spmu [121][62][51] |
| double | fnmu [32401] |
| double | depth [360][91] |
| double | fmu [360][91] |
| double | the1 |
| double | the2 |
| double | ph1 |
| double | ph2 |
| double | se = 0. |
| double | st = 0. |
| double | sp = 0. |
| double | sd = 0. |
| unsigned int | NEvents = 0 |
| TTree * | fTree |
Static Private Attributes | |
| static const int | kGAUS = 1 |
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 190 of file MUSUN_module.cc.
|
explicit |
Definition at line 322 of file MUSUN_module.cc.
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 360 of file MUSUN_module.cc.
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 414 of file MUSUN_module.cc.
|
virtual |
|
private |
Definition at line 681 of file MUSUN_module.cc.
|
virtual |
unique_ptr allows ownership to be transferred to the art::Event after the put statement
Implements art::EDProducer.
Definition at line 512 of file MUSUN_module.cc.
|
private |
Definition at line 536 of file MUSUN_module.cc.
|
private |
Definition at line 900 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 277 of file MUSUN_module.cc.
|
private |
Definition at line 289 of file MUSUN_module.cc.
|
private |
Definition at line 277 of file MUSUN_module.cc.
|
private |
Angle of the detector from the North to the East.
Definition at line 232 of file MUSUN_module.cc.
|
private |
Charge ratio of particle / anti-particle.
Definition at line 225 of file MUSUN_module.cc.
|
private |
Maximum Kinetic Energy (GeV)
Definition at line 239 of file MUSUN_module.cc.
|
private |
Minimum Kinetic Energy (GeV)
Definition at line 238 of file MUSUN_module.cc.
|
private |
art-managed random-number engine
Definition at line 222 of file MUSUN_module.cc.
|
private |
Definition at line 282 of file MUSUN_module.cc.
|
private |
If want sampled from sphere or parallelepiped.
Definition at line 246 of file MUSUN_module.cc.
|
private |
Definition at line 227 of file MUSUN_module.cc.
|
private |
Input File 1.
Definition at line 228 of file MUSUN_module.cc.
|
private |
Input File 2.
Definition at line 229 of file MUSUN_module.cc.
|
private |
Input File 3.
Definition at line 230 of file MUSUN_module.cc.
|
private |
Definition at line 290 of file MUSUN_module.cc.
|
private |
Definition at line 288 of file MUSUN_module.cc.
|
private |
PDG code of particles to generate.
Definition at line 224 of file MUSUN_module.cc.
|
private |
Maximum phi.
Definition at line 244 of file MUSUN_module.cc.
|
private |
Minimum phi.
Definition at line 243 of file MUSUN_module.cc.
|
private |
Default rock density is 2.70 g cm-3. If this is changed then the three input files need to be remade. If there is a desire for this contact Vitaly Kudryavtsev at V.Kudryavtsev@shef.ac.uk
Definition at line 233 of file MUSUN_module.cc.
|
private |
Variation in t position (ns)
Definition at line 255 of file MUSUN_module.cc.
|
private |
Central t position (ns) in world coordinates.
Definition at line 254 of file MUSUN_module.cc.
|
private |
How to distribute t (gaus, or uniform)
Definition at line 256 of file MUSUN_module.cc.
|
private |
Maximum theta.
Definition at line 242 of file MUSUN_module.cc.
|
private |
Minimum theta.
Definition at line 241 of file MUSUN_module.cc.
|
private |
Definition at line 302 of file MUSUN_module.cc.
|
private |
Maximum X position.
Definition at line 250 of file MUSUN_module.cc.
|
private |
Minimum X position.
Definition at line 247 of file MUSUN_module.cc.
|
private |
Maximum Y position.
Definition at line 251 of file MUSUN_module.cc.
|
private |
Minimum Y position.
Definition at line 248 of file MUSUN_module.cc.
|
private |
Maximum Z position.
Definition at line 252 of file MUSUN_module.cc.
|
private |
Minimum Z position.
Definition at line 249 of file MUSUN_module.cc.
|
staticprivate |
Definition at line 220 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 299 of file MUSUN_module.cc.
|
private |
Definition at line 276 of file MUSUN_module.cc.
|
private |
Definition at line 293 of file MUSUN_module.cc.
|
private |
Definition at line 293 of file MUSUN_module.cc.
|
private |
Definition at line 277 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 278 of file MUSUN_module.cc.
|
private |
Definition at line 283 of file MUSUN_module.cc.
|
private |
Definition at line 284 of file MUSUN_module.cc.
|
private |
Definition at line 285 of file MUSUN_module.cc.
|
private |
Definition at line 297 of file MUSUN_module.cc.
|
private |
Definition at line 294 of file MUSUN_module.cc.
|
private |
Definition at line 296 of file MUSUN_module.cc.
|
private |
Definition at line 287 of file MUSUN_module.cc.
|
private |
Definition at line 295 of file MUSUN_module.cc.
|
private |
Definition at line 293 of file MUSUN_module.cc.
|
private |
Definition at line 293 of file MUSUN_module.cc.
|
private |
Definition at line 277 of file MUSUN_module.cc.
|
private |
Definition at line 277 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
|
private |
Definition at line 279 of file MUSUN_module.cc.
1.8.11