All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
evgen::MUSUN Class Reference

module to produce single or multiple specified particles in the detector More...

Inheritance diagram for evgen::MUSUN:

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)
 

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
 

Detailed Description

module to produce single or multiple specified particles in the detector

Definition at line 191 of file MUSUN_module.cc.

Constructor & Destructor Documentation

evgen::MUSUN::MUSUN ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 323 of file MUSUN_module.cc.

324  : art::EDProducer{pset}
325  // create a default random engine; obtain the random seed from NuRandomService,
326  // unless overridden in configuration with key "Seed"
327  , fEngine(art::ServiceHandle<rndm::NuRandomService> {}->createEngine(*this, pset, "Seed"))
CLHEP::HepRandomEngine & fEngine
art-managed random-number engine

Member Function Documentation

void evgen::MUSUN::beginJob ( )
void evgen::MUSUN::beginRun ( art::Run &  run)
void evgen::MUSUN::endRun ( art::Run &  run)
void evgen::MUSUN::initialization ( double  theta1,
double  theta2,
double  phi1,
double  phi2,
int  figflag,
double  s_hor,
double  s_ver1,
double  s_ver2,
double &  FI 
)
private
void evgen::MUSUN::produce ( art::Event &  evt)
void evgen::MUSUN::SampleOne ( unsigned int  i,
simb::MCTruth &  mct,
CLHEP::HepRandomEngine &  engine 
)
private
void evgen::MUSUN::sampling ( double &  E,
double &  theta,
double &  phi,
double &  dep,
CLHEP::HepRandomEngine &  engine 
)
private

Member Data Documentation

double evgen::MUSUN::cx
private

Definition at line 280 of file MUSUN_module.cc.

double evgen::MUSUN::cy
private

Definition at line 280 of file MUSUN_module.cc.

double evgen::MUSUN::cz
private

Definition at line 280 of file MUSUN_module.cc.

double evgen::MUSUN::dep
private

Definition at line 278 of file MUSUN_module.cc.

double evgen::MUSUN::depth[360][91]
private

Definition at line 290 of file MUSUN_module.cc.

double evgen::MUSUN::Energy
private

Definition at line 278 of file MUSUN_module.cc.

double evgen::MUSUN::fCavernAngle
private

Angle of the detector from the North to the East.

Definition at line 233 of file MUSUN_module.cc.

double evgen::MUSUN::fChargeRatio
private

Charge ratio of particle / anti-particle.

Definition at line 226 of file MUSUN_module.cc.

double evgen::MUSUN::fEmax
private

Maximum Kinetic Energy (GeV)

Definition at line 240 of file MUSUN_module.cc.

double evgen::MUSUN::fEmin
private

Minimum Kinetic Energy (GeV)

Definition at line 239 of file MUSUN_module.cc.

CLHEP::HepRandomEngine& evgen::MUSUN::fEngine
private

art-managed random-number engine

Definition at line 223 of file MUSUN_module.cc.

double evgen::MUSUN::FI = 0.
private

Definition at line 283 of file MUSUN_module.cc.

int evgen::MUSUN::figflag
private

If want sampled from sphere or parallelepiped.

Definition at line 247 of file MUSUN_module.cc.

std::string evgen::MUSUN::fInputDir
private

Input Directory.

Definition at line 228 of file MUSUN_module.cc.

std::string evgen::MUSUN::fInputFile1
private

Input File 1.

Definition at line 229 of file MUSUN_module.cc.

std::string evgen::MUSUN::fInputFile2
private

Input File 2.

Definition at line 230 of file MUSUN_module.cc.

std::string evgen::MUSUN::fInputFile3
private

Input File 3.

Definition at line 231 of file MUSUN_module.cc.

double evgen::MUSUN::fmu[360][91]
private

Definition at line 291 of file MUSUN_module.cc.

double evgen::MUSUN::fnmu[32401]
private

Definition at line 289 of file MUSUN_module.cc.

int evgen::MUSUN::fPDG
private

PDG code of particles to generate.

Definition at line 225 of file MUSUN_module.cc.

double evgen::MUSUN::fPhimax
private

Maximum phi.

Definition at line 245 of file MUSUN_module.cc.

double evgen::MUSUN::fPhimin
private

Minimum phi.

Definition at line 244 of file MUSUN_module.cc.

double evgen::MUSUN::fRockDensity
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.Kud.nosp@m.ryav.nosp@m.tsev@.nosp@m.shef.nosp@m..ac.u.nosp@m.k

Definition at line 234 of file MUSUN_module.cc.

double evgen::MUSUN::fSigmaT
private

Variation in t position (ns)

Definition at line 256 of file MUSUN_module.cc.

double evgen::MUSUN::fT0
private

Central t position (ns) in world coordinates.

Definition at line 255 of file MUSUN_module.cc.

int evgen::MUSUN::fTDist
private

How to distribute t (gaus, or uniform)

Definition at line 257 of file MUSUN_module.cc.

double evgen::MUSUN::fThetamax
private

Maximum theta.

Definition at line 243 of file MUSUN_module.cc.

double evgen::MUSUN::fThetamin
private

Minimum theta.

Definition at line 242 of file MUSUN_module.cc.

TTree* evgen::MUSUN::fTree
private

Definition at line 303 of file MUSUN_module.cc.

double evgen::MUSUN::fXmax
private

Maximum X position.

Definition at line 251 of file MUSUN_module.cc.

double evgen::MUSUN::fXmin
private

Minimum X position.

Definition at line 248 of file MUSUN_module.cc.

double evgen::MUSUN::fYmax
private

Maximum Y position.

Definition at line 252 of file MUSUN_module.cc.

double evgen::MUSUN::fYmin
private

Minimum Y position.

Definition at line 249 of file MUSUN_module.cc.

double evgen::MUSUN::fZmax
private

Maximum Z position.

Definition at line 253 of file MUSUN_module.cc.

double evgen::MUSUN::fZmin
private

Minimum Z position.

Definition at line 250 of file MUSUN_module.cc.

const int evgen::MUSUN::kGAUS = 1
staticprivate

Definition at line 221 of file MUSUN_module.cc.

double evgen::MUSUN::Momentum
private

Definition at line 279 of file MUSUN_module.cc.

unsigned int evgen::MUSUN::NEvents = 0
private

Definition at line 300 of file MUSUN_module.cc.

int evgen::MUSUN::PdgCode
private

Definition at line 277 of file MUSUN_module.cc.

double evgen::MUSUN::ph1
private

Definition at line 294 of file MUSUN_module.cc.

double evgen::MUSUN::ph2
private

Definition at line 294 of file MUSUN_module.cc.

double evgen::MUSUN::phi
private

Definition at line 278 of file MUSUN_module.cc.

double evgen::MUSUN::px0
private

Definition at line 279 of file MUSUN_module.cc.

double evgen::MUSUN::py0
private

Definition at line 279 of file MUSUN_module.cc.

double evgen::MUSUN::pz0
private

Definition at line 279 of file MUSUN_module.cc.

double evgen::MUSUN::s_hor = 0.
private

Definition at line 284 of file MUSUN_module.cc.

double evgen::MUSUN::s_ver1 = 0.
private

Definition at line 285 of file MUSUN_module.cc.

double evgen::MUSUN::s_ver2 = 0.
private

Definition at line 286 of file MUSUN_module.cc.

double evgen::MUSUN::sd = 0.
private

Definition at line 298 of file MUSUN_module.cc.

double evgen::MUSUN::se = 0.
private

Definition at line 295 of file MUSUN_module.cc.

double evgen::MUSUN::sp = 0.
private

Definition at line 297 of file MUSUN_module.cc.

double evgen::MUSUN::spmu[121][62][51]
private

Definition at line 288 of file MUSUN_module.cc.

double evgen::MUSUN::st = 0.
private

Definition at line 296 of file MUSUN_module.cc.

double evgen::MUSUN::the1
private

Definition at line 294 of file MUSUN_module.cc.

double evgen::MUSUN::the2
private

Definition at line 294 of file MUSUN_module.cc.

double evgen::MUSUN::theta
private

Definition at line 278 of file MUSUN_module.cc.

double evgen::MUSUN::Time
private

Definition at line 278 of file MUSUN_module.cc.

double evgen::MUSUN::x0
private

Definition at line 280 of file MUSUN_module.cc.

double evgen::MUSUN::y0
private

Definition at line 280 of file MUSUN_module.cc.

double evgen::MUSUN::z0
private

Definition at line 280 of file MUSUN_module.cc.


The documentation for this class was generated from the following file: