ATLAS Offline Software
Loading...
Searching...
No Matches
CosmicGun.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef COSMICGENERATOR_COSMICGUN_H
6#define COSMICGENERATOR_COSMICGUN_H
7
8#include "CLHEP/Vector/LorentzVector.h"
9
11public:
12 static CosmicGun* GetCosmicGun(void);
13 CLHEP::HepLorentzVector GenerateEvent(void);
14 CLHEP::HepLorentzVector GenerateVertex(void);
15 void SetEnergyRange(float emin, float emax);
16 void SetCosCut(float ctcut);
17 void PrintLevel(int printevt,int printmod);
18 int GetMuonCharge(void);
19 float InitializeGenerator(); // returns flux after all cuts in cm2/s
20private:
21 CosmicGun(void);
23
26 float m_emin, m_emax;
27 float m_coscut;
28};
29
30
31#endif
void PrintLevel(int printevt, int printmod)
Definition CosmicGun.cxx:94
static CosmicGun * s_mpointer
Definition CosmicGun.h:22
void SetEnergyRange(float emin, float emax)
int GetMuonCharge(void)
float m_emin
Definition CosmicGun.h:26
CLHEP::HepLorentzVector GenerateVertex(void)
float InitializeGenerator()
Definition CosmicGun.cxx:85
CLHEP::HepLorentzVector GenerateEvent(void)
void SetCosCut(float ctcut)
float m_emax
Definition CosmicGun.h:26
static CosmicGun * GetCosmicGun(void)
Definition CosmicGun.cxx:53
int m_event
Definition CosmicGun.h:24
CosmicGun(void)
Definition CosmicGun.cxx:64
int m_printmod
Definition CosmicGun.h:25
float m_coscut
Definition CosmicGun.h:27
int m_printevt
Definition CosmicGun.h:25