The document describes the structure of Geant4 simulation programs. It discusses:
1. The file structure which includes include directories and source files for detector construction, physics lists, and primary generator actions.
2. The main() function which initializes the run manager, defines outputs, and executes the simulation process.
3. The classes that must be included and initialized in the run manager such as detector construction, physics list, and user actions.
4. An example detector construction class which defines the geometry of an experimental hall and tracker tube. Materials and volumes are created to make the physical detector.
This is the correct article about the results of checking the Geant4 project, which I have written after the previous incorrect one. Let me remind you the whole story. I have recently checked an old version of the Geant4 library and reported the results in the article "Copy-Paste and Muons". Why old version? Nobody is perfect, and we finally made a mistake ourselves. To find out which exactly, see the previous article. This time I offer you a brief report about checking Geant4 of the version 10.0-beta.
Introducing Playwright's New Test RunnerApplitools
Playwright Test is a new test runner built from scratch by the Playwright team specifically to accommodate end-to-end testing needs. Join Principal Engineer, Andrey Lushinkov as he demonstrates how to use Playwright Test to author new tests, how to migrate existing tests, how to deploy them on CI, and debug them if something goes wrong.
JavaFX 8 est disponible depuis mars 2014 et apporte son lot de nouveautés. Gradle est en version 2 depuis juillet 2014. Deux technologies plus que prometteuses: JavaFX donne un coup de jeune au développement d’applications desktop en Java en apportant un navigateur web intégré, le support des WebSockets, de la 3D, et bien d’autres. Gradle est l’outil de d’automatisation de build à la mode, apportant de superbes possibilités par rapport rapport à maven, outil vieillissant, grâce à l’engouement de la communauté vis à vis de cet outil mais aussi par le fait de la technologie utilisée en son sein: groovy. Venez découvrir comment il est possible de réaliser rapidement une application à la mode en JavaFX avec un outil à la mode également. Bref venez à une session trendy.
OSMC 2021 | inspectIT Ocelot: Dynamic OpenTelemetry Instrumentation at RuntimeNETWAYS
If you want to trace or extract specific data from a Java application with OpenTelemetry, you usually have to modify the application’s code. However, this is often not possible, especially with bought-in software. We would like to show, how the open source inspectIT Ocelot Java agent can be used to dynamically inject OpenTelemetry code at runtime for extracting specific application and business data – and all this without having to adapt the application itself.
Production Time Profiling and Diagnostics on the JVMMarcus Hirt
These are the slides for my Code One 2018 talk on profiling and diagnostics on the JVM. The talk goes through various serviceability technologies built into the JVM, but with a focus on the production time use cases.
Taking Jenkins Pipeline to the Extremeyinonavraham
Slide deck from Jenkins User Conference Tel Aviv 2018.
Talking about suggested (best?) practices, tips and tricks, using Jenkins pipeline scripts with shared libraries, managing shared libraries, using docker compose, and more.
Sua aplicação deu crash ? Consumindo muita memória ? Lentidão ? Vamos falar sobre como a JVM funciona, como coletar métricas e realizar o tuning na performance de aplicações utilizando as ferramentas nativas da JVM. Além de detecção e correção de problemas como memory leaks ou freezing causado pelo Garbage Collector
Presentation showing that writing tests is not really hard with examples on testing a simple class, testing with dataproviders, fixtures, mocks, stubs, databases and how to use zend framework bootstrap for MVC testing.
Given at php|tek 09 unconf sessions.
Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...solit
Виктор Короневич, Минск. Senior Software Test Automation Engineer with 3+ years of experience specializing in automation on Java, http://www.linkedin.com/in/agileseph
«Автоматизация тестирования сложных систем: mixed mode automated test case.» Использование Selenium + jUnit + Frank + custom java tools для тестирования Web + DB + Web Services + iOS. Development секция.
This is the correct article about the results of checking the Geant4 project, which I have written after the previous incorrect one. Let me remind you the whole story. I have recently checked an old version of the Geant4 library and reported the results in the article "Copy-Paste and Muons". Why old version? Nobody is perfect, and we finally made a mistake ourselves. To find out which exactly, see the previous article. This time I offer you a brief report about checking Geant4 of the version 10.0-beta.
Introducing Playwright's New Test RunnerApplitools
Playwright Test is a new test runner built from scratch by the Playwright team specifically to accommodate end-to-end testing needs. Join Principal Engineer, Andrey Lushinkov as he demonstrates how to use Playwright Test to author new tests, how to migrate existing tests, how to deploy them on CI, and debug them if something goes wrong.
JavaFX 8 est disponible depuis mars 2014 et apporte son lot de nouveautés. Gradle est en version 2 depuis juillet 2014. Deux technologies plus que prometteuses: JavaFX donne un coup de jeune au développement d’applications desktop en Java en apportant un navigateur web intégré, le support des WebSockets, de la 3D, et bien d’autres. Gradle est l’outil de d’automatisation de build à la mode, apportant de superbes possibilités par rapport rapport à maven, outil vieillissant, grâce à l’engouement de la communauté vis à vis de cet outil mais aussi par le fait de la technologie utilisée en son sein: groovy. Venez découvrir comment il est possible de réaliser rapidement une application à la mode en JavaFX avec un outil à la mode également. Bref venez à une session trendy.
OSMC 2021 | inspectIT Ocelot: Dynamic OpenTelemetry Instrumentation at RuntimeNETWAYS
If you want to trace or extract specific data from a Java application with OpenTelemetry, you usually have to modify the application’s code. However, this is often not possible, especially with bought-in software. We would like to show, how the open source inspectIT Ocelot Java agent can be used to dynamically inject OpenTelemetry code at runtime for extracting specific application and business data – and all this without having to adapt the application itself.
Production Time Profiling and Diagnostics on the JVMMarcus Hirt
These are the slides for my Code One 2018 talk on profiling and diagnostics on the JVM. The talk goes through various serviceability technologies built into the JVM, but with a focus on the production time use cases.
Taking Jenkins Pipeline to the Extremeyinonavraham
Slide deck from Jenkins User Conference Tel Aviv 2018.
Talking about suggested (best?) practices, tips and tricks, using Jenkins pipeline scripts with shared libraries, managing shared libraries, using docker compose, and more.
Sua aplicação deu crash ? Consumindo muita memória ? Lentidão ? Vamos falar sobre como a JVM funciona, como coletar métricas e realizar o tuning na performance de aplicações utilizando as ferramentas nativas da JVM. Além de detecção e correção de problemas como memory leaks ou freezing causado pelo Garbage Collector
Presentation showing that writing tests is not really hard with examples on testing a simple class, testing with dataproviders, fixtures, mocks, stubs, databases and how to use zend framework bootstrap for MVC testing.
Given at php|tek 09 unconf sessions.
Solit 2013, Автоматизация тестирования сложных систем: mixed mode automated t...solit
Виктор Короневич, Минск. Senior Software Test Automation Engineer with 3+ years of experience specializing in automation on Java, http://www.linkedin.com/in/agileseph
«Автоматизация тестирования сложных систем: mixed mode automated test case.» Использование Selenium + jUnit + Frank + custom java tools для тестирования Web + DB + Web Services + iOS. Development секция.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
1. 5. Técnicas de Simulación
3. Geant4
Dr. Willy H. Gerber
Instituto de Fisica
Universidad Austral
Valdivia, Chile
Objetivos: Comprender como se estructuran programas
que simulan procesos basados en Geant4.
1
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
2. Estructura de archivos
Demo
Include
ExDetectorConstruction.hh
ExPhysicsList.hh
ExPrimaryGeneratorAction.hh
src
ExDetectorConstruction.cc
ExPhysicsList.cc
ExPrimaryGeneratorAction.cc
MainDemo.cc
2
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
3. Programas Geant4
Includes
necesarios
int main(int argc,char** argv)
{
Setear
runManager
Definir
Output
Ejecutar
Proceso
delete visManager;
delete runManager;
return 0;
}
3
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
10. ExDetectorConstruction
Lógica de la rutina con solo 2 elementos
Crear caja (volumen World)
Crear cilindro
Crear volumen lógico para caja
Crear volumen lógico para cilindro
Posicionar cilindro
Posicionar caja
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
12. ExDetectorConstruction - demo
Crear volumen lógico para caja – clase G4LogicalVolume
G4LogicalVolume* experimentalHall_log =
new G4LogicalVolume(experimentalHall_box,Ar,quot;expHall_logquot;);
Crear volumen lógico para cilindro – clase G4LogicalVolume
G4LogicalVolume* tracker_log =
new G4LogicalVolume(tracker_tube,Al,quot;tracker_logquot;);
Posicionar cilindroc
G4double trackerPos_x = -1.0*meter;
G4double trackerPos_y = 0.0*meter;
G4double trackerPos_z = 0.0*meter;
G4VPhysicalVolume* tracker_phys = new G4PVPlacement(0, // no rotation
G4ThreeVector(trackerPos_x,trackerPos_y,trackerPos_z), // translation position
tracker_log, // its logical volume
quot;trackerquot;, // its name experimentalHall_log, // its mother (logical)
volume false, // no boolean
operations 0); // its copy number
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
13. ExDetectorConstruction - demo
Posicionar caja – clase G4LogicalVolume
G4VPhysicalVolume* experimentalHall_phys = new G4PVPlacement(0, // no rotation
G4ThreeVector(0.,0.,0.), // translation position
experimentalHall_log, // its logical volume
quot;expHallquot;, // its name
0, // its mother volume
false, // no boolean
operations 0); // its copy number
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
14. ExDetectorConstruction - demo
Material (directo)
G4double density = 1.390*g/cm3;
G4double a = 39.95*g/mole;
G4Material* lAr = new G4Material(name=quot;liquidArgonquot;, z=18., a, density);
G4LogicalVolume* myLbox = new G4LogicalVolume(aBox,lAr,quot;Lboxquot;,0,0,0);
Elementos
a = 1.01*g/mole;
G4Element* elH = new G4Element(name=quot;Hydrogenquot;,symbol=quot;Hquot; , z= 1., a);
a = 16.00*g/mole;
G4Element* elO = new G4Element(name=quot;Oxygenquot; ,symbol=quot;Oquot; , z= 8., a);
density = 1.000*g/cm3;
Material (compuesto desde elementos, por numero de elementos)
G4Material* H2O = new G4Material(name=quot;Waterquot;,density,ncomponents=2);
H2O->AddElement(elH, natoms=2);
H2O->AddElement(elO, natoms=1);
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
15. ExDetectorConstruction - demo
Elementos
a = 14.01*g/mole;
G4Element* elN = new G4Element(name=quot;Nitrogenquot;,symbol=quot;Nquot; , z= 7., a);
a = 16.00*g/mole;
G4Element* elO = new G4Element(name=quot;Oxygenquot; ,symbol=quot;Oquot; , z= 8., a);
Material (compuesto desde elementos, por fracción de átomos)
density = 1.290*mg/cm3;
G4Material* Air = new G4Material(name=quot;Air quot;,density,ncomponents=2);
Air->AddElement(elN, fractionmass=70*perCent);
Air->AddElement(elO, fractionmass=30*perCent);
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
16. ExDetectorConstruction.hh – primer parte
class G4LogicalVolume;
class G4VPhysicalVolume;
#include quot;G4VUserDetectorConstruction.hhquot;
class ExDetectorConstruction : public
G4VUserDetectorConstruction
{
public:
ExDetectorConstruction();
~ExDetectorConstruction();
G4VPhysicalVolume* Construct();
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
25. Definición de partículas
G4String GetParticleName() particle name
G4double GetPDGMass() mass
G4double GetPDGWidth() decay width
G4double GetPDGCharge() electric charge
G4double GetPDGSpin() spin
G4double GetPDGMagneticMoment() magnetic moment (a)
G4int GetPDGiParity() parity (b)
G4int GetPDGiConjugation() charge conjugation (b)
G4double GetPDGIsospin() iso-spin
G4double GetPDGIsospin3() 3rd-component of iso-spin
G4int GetPDGiGParity() G-parity (0:not defined)
G4String GetParticleType() particle type
G4String GetParticleSubType() particle sub-type
G4int GetLeptonNumber() lepton number
G4int GetBaryonNumber() baryon number
G4int GetPDGEncoding() particle encoding number by PDG
G4int GetAntiPDGEncoding() encoding for anti-particle of this particle
a: 0: not defined or no mag. Moment
b: 0:not defined
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
26. Definición de partículas
G4bool GetPDGStable() stable flag
G4double GetPDGLifeTime() life time
G4DecayTable *GetDecayTable() decay table
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
27. Variables dinámicas
G4double theDynamicalMass dynamical mass
G4ThreeVector theMomentumDirection normalized momentum vector
G4ParticleDefinition *theParticleDefinition definition of particle
G4double theDynamicalSpin dynamical spin (1)
G4ThreeVector thePolarization polarization vector
G4double theMagneticMoment dynamical magnetic moment (2)
G4double theKineticEnergy kinetic energy
G4double theProperTime proper time
G4double theDynamicalCharge dynamical electric charge (3)
G4ElectronOccupancy *theElectronOccupancy electron orbits for ions
1. i.e. total angular momentum as a ion/atom
2. i.e. total magnetic moment as a ion/atom
3. i.e. total electric charge as a ion/atom
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
28. ExPhysicsList - demo
ExPhysicsList.hh
protected:
// Construct particle and physics
void ConstructParticle();
void ConstructProcess();
void SetCuts();
// these methods Construct particles
void ConstructBosons();
void ConstructLeptons();
void ConstructMesons();
void ConstructBaryons();
protected:
// these methods Construct physics processes and register them
void ConstructGeneral();
void ConstructEM();
void AddStepMax();
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
39. ExPhysicsList.cc – primera parte
#include quot;ExPhysicsList.hhquot;
#include quot;G4ParticleTypes.hhquot;
ExPhysicsList::ExPhysicsList()
{;}
ExPhysicsList::~ExPhysicsList()
{;}
void ExPhysicsList::ConstructParticle()
{
// In this method, static member functions should be called
// for all particles which you want to use.
// This ensures that objects of these particle types will be
// created in the program.
G4Geantino::GeantinoDefinition();
}
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09
40. ExPhysicsList.cc – segunda parte
void ExPhysicsList::ConstructProcess()
{
// Define transportation process
AddTransportation();
}
void ExPhysicsList::SetCuts()
{
// uppress error messages even in case e/gamma/proton do not exist
G4int temp = GetVerboseLevel();
SetVerboseLevel(0);
// quot; G4VUserPhysicsList::SetCutsWithDefaultquot; method sets
// the default cut value for all particle types
SetCutsWithDefault();
// Retrieve verbose level
SetVerboseLevel(temp);
}
www.gphysics.net – UFRO-2008-Master-Fisica-Medica-5-3-Geant4-05.09