BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
CosmicGun.h
Go to the documentation of this file.
1#ifndef COSMICGENERATOR_COSMICGUN_H
2#define COSMICGENERATOR_COSMICGUN_H
3
4#include "CLHEP/Vector/LorentzVector.h"
5using namespace CLHEP;
7public:
8 static CosmicGun* GetCosmicGun(void);
9 HepLorentzVector GenerateEvent(void);
10 HepLorentzVector GenerateVertex(void);
11 void SetEnergyRange(float emin, float emax);
12 void SetCosCut(float ctcut);
13 void PrintLevel(int printevt,int printmod);
14 int GetMuonCharge(void);
15 float InitializeGenerator(); // returns flux after all cuts in cm2/s
16private:
17 CosmicGun(void);
18 static CosmicGun* mpointer;
19
20long int m_event;
21long int m_printevt, m_printmod;
22 float m_emin, m_emax;
23 float m_coscut;
24};
25
26
27#endif
void PrintLevel(int printevt, int printmod)
Definition: CosmicGun.cxx:90
void SetEnergyRange(float emin, float emax)
Definition: CosmicGun.cxx:138
int GetMuonCharge(void)
Definition: CosmicGun.cxx:134
HepLorentzVector GenerateEvent(void)
Definition: CosmicGun.cxx:109
HepLorentzVector GenerateVertex(void)
float InitializeGenerator()
Definition: CosmicGun.cxx:81
void SetCosCut(float ctcut)
Definition: CosmicGun.cxx:154
static CosmicGun * GetCosmicGun(void)
Definition: CosmicGun.cxx:49