Difference: KDecayPions (1 vs. 10)

Revision 102015-11-20 - DanProtopopescu

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 42 to 42
 
  • specify the charged pion decay type in the StandardRun.mac file, at the line with the tag /decay/pichDecay.
    Available charged pion decay types:
    • 0: pi is passed to Geant4;
Changed:
<
<
    • 1: pi-->mu nu;
    • 2: pi-->e nu;
    • 3: pi-->mu nu g;
    • 4: pi-->e nu g;
>
>
    • 1: pi --> e nu;
    • 2: pi --> mu nu;
    • 3: pi --> e nu g;
    • 4: pi --> mu nu g;
  Run the software giving the modified macro file as input parameter, e.g. on an SL6 machine:
Line: 72 to 72
 /tracking/verbose 1
Changed:
<
<

Temporary patch

>
>

Temporary patch (removed in r > 736)

 
Changed:
<
<
  • The generation of the K+ -> pi+pi0, pi+ -> mu+ nu, pi+0 -> gg process is handled in fortran files independent from the NA62MC software. These produce a kdecayggl.txt file containing informations on three final state particles: mu+, gamma, gamma.
>
>
  • The generation of the K+ -> pi+pi0, pi+ -> mu+ nu, pi+0 -> gg process is handled by Fortran code independent from the NA62MC software. This produces a kdecayggl.txt file containing informations on three final state particles: mu+, gamma, gamma.
 
  • In src/PrimaryGeneratorAction.cc a new case has been added, in which the kdecayggl.txt file is read and the three input particles are inserted into the NA62 apparatus.
    In the macros/StandardRun.mac file this option can be selected with /beam/SetBeam PionDecayTest.
    The handling of the new parameter has been implemented in src/PrimaryGeneratorMessenger.cc.

Revision 92015-11-18 - DanProtopopescu

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 34 to 34
 
  • src/DatacardMessenger.cc, include/DatacardMessenger.hh
  • src/PrimaryGeneratorAction.cc, include/PrimaryGeneratorAction.hh
  • src/G4CMCDecayer.cc, include/G4CMCDecayer.hh
Changed:
<
<
  • src/PrimaryGeneratorMessenger.cc, include/PrimaryGeneratorMessenger.hh
>
>
  • src/PrimaryGeneratorMessenger.cc
 

How to run

Revision 82015-11-16 - DanProtopopescu

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 14 to 14
 

Software implementation

Added:
>
>
Scripts:
  • scripts/env.sh
  • GNUmakefile
 New generator files:
  • Generator/pichdecays.F
  • Generator/pich2lnu.F
  • Generator/pich2lnug.F
Generator to be modified:
Changed:
<
<
  • Generator/kch2pipi0.F
>
>
  • Generator/kch2pipi0.cc (not working yet)
  Macro file to be modified:
  • macros/StandardRun.mac
Line: 28 to 32
 
  • src/CMC.cc, include/CMC.hh
  • src/DatacardManager.cc, include/DatacardManager.hh
  • src/DatacardMessenger.cc, include/DatacardMessenger.hh
Added:
>
>
  • src/PrimaryGeneratorAction.cc, include/PrimaryGeneratorAction.hh
  • src/G4CMCDecayer.cc, include/G4CMCDecayer.hh
  • src/PrimaryGeneratorMessenger.cc, include/PrimaryGeneratorMessenger.hh
 

How to run

Revision 72015-06-29 - BrunoAngelucci

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 65 to 65
 /tracking/verbose 1
Added:
>
>

Temporary patch

  • The generation of the K+ -> pi+pi0, pi+ -> mu+ nu, pi+0 -> gg process is handled in fortran files independent from the NA62MC software. These produce a kdecayggl.txt file containing informations on three final state particles: mu+, gamma, gamma.

  • In src/PrimaryGeneratorAction.cc a new case has been added, in which the kdecayggl.txt file is read and the three input particles are inserted into the NA62 apparatus.
    In the macros/StandardRun.mac file this option can be selected with /beam/SetBeam PionDecayTest.
    The handling of the new parameter has been implemented in src/PrimaryGeneratorMessenger.cc.
 

How to check the output

An event analyzer is provided inside the NA62Analysis framework.

Revision 62015-04-20 - DanProtopopescu

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 39 to 39
 
    • 2: pi-->e nu;
    • 3: pi-->mu nu g;
    • 4: pi-->e nu g;
Deleted:
<
<
  • run the software giving the modified macro file as input parameter
    NA62MC macros/StandardRun.mac
 
Changed:
<
<

How and what to check

>
>
Run the software giving the modified macro file as input parameter, e.g. on an SL6 machine:
cd /afs/phas.gla.ac.uk/data/na62/software01/NA62MC
source scripts/env.sh
NA62MC macros/StandardRun.mac

In the StandardRun.mac file, one has to pay attention to the following instructions:

/decay/pichDecay 2 
as explained above. Then use

/output/fileName pluto.root
to set where the output goes.

Verbosity can be set with

/run/verbose 1
/event/verbose 1
/tracking/verbose 1
 
Changed:
<
<
An event analyzer is provided inside the Analysis framework.
In /afs/phas.gla.ac.uk/data/na62/software01/UserAnalysis the "MCTruthAnalyzer" can be used to debug the MC events produced with NA62MC.
>
>

How to check the output

An event analyzer is provided inside the NA62Analysis framework.

In /afs/phas.gla.ac.uk/data/na62/software01/UserAnalysis the "MCTruthAnalyzer" can be used to debug the MC events produced with NA62MC.

 
  • The code is in Analyzers/src/MCTruthAnalyzer.cc
Changed:
<
<
After sourcing scripts/env.sh
>
>
After sourcing scripts/env.sh from within UserAnalysis/
 
  • Compile with NA62AnalysisBuilder.py configFiles/MCTruthAnalyzer.conf
  • Run with ./MCTruthAnalyzer -i ../NA62MC/pluto.root -o test.root -v kUser --config configFiles/MCTruthAnalyzer.run
    The kUser verbose flag has to be used to get on screen information on generated particles.
Deleted:
<
<

Troubleshooting

 

Documentation

This will be documented in technical note CERN-

Revision 52015-04-20 - BrunoAngelucci

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 44 to 44
 

How and what to check

Added:
>
>
An event analyzer is provided inside the Analysis framework.
In /afs/phas.gla.ac.uk/data/na62/software01/UserAnalysis the "MCTruthAnalyzer" can be used to debug the MC events produced with NA62MC.
  • The code is in Analyzers/src/MCTruthAnalyzer.cc
After sourcing scripts/env.sh
  • Compile with NA62AnalysisBuilder.py configFiles/MCTruthAnalyzer.conf
  • Run with ./MCTruthAnalyzer -i ../NA62MC/pluto.root -o test.root -v kUser --config configFiles/MCTruthAnalyzer.run
    The kUser verbose flag has to be used to get on screen information on generated particles.
 

Troubleshooting

Documentation

Revision 42015-04-20 - DanProtopopescu

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 42 to 42
 
  • run the software giving the modified macro file as input parameter
    NA62MC macros/StandardRun.mac
Added:
>
>

How and what to check

Troubleshooting

 

Documentation

This will be documented in technical note CERN-

Revision 32015-04-17 - BrunoAngelucci

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 8 to 8
 

Generator

Changed:
<
<
This case is handled via pichdecays.F. This file is a container for charged pion decays. The routine "pichdecay_manager" is called in kaon decay generators where one ore more charged pions are present in the final state. Two pion decay types are implemented in pich2lnu.F and pich2lnug.F
>
>
This case is handled via pichdecays.F. This file is a container for charged pion decays.
The routine pichdecay_manager is called in kaon decay generators where one ore more charged pions are present in the final state (e.g. kch2pipi0.F).
Two pion decay types are implemented in pich2lnu.F and pich2lnug.F, with the possibility to choose the lepton type (electron or muon).
 

Software implementation

Changed:
<
<
Files to be modified:
  • CMC.cc *
>
>
New generator files:
  • Generator/pichdecays.F
  • Generator/pich2lnu.F
  • Generator/pich2lnug.F
Generator to be modified:
  • Generator/kch2pipi0.F

Macro file to be modified:

  • macros/StandardRun.mac

C++ files to be modified:

  • src/CMC.cc, include/CMC.hh
  • src/DatacardManager.cc, include/DatacardManager.hh
  • src/DatacardMessenger.cc, include/DatacardMessenger.hh
 

How to run

Changed:
<
<
To run this channel ...
>
>
To run this channel:
  • specify the charged pion decay type in the StandardRun.mac file, at the line with the tag /decay/pichDecay.
    Available charged pion decay types:
    • 0: pi is passed to Geant4;
    • 1: pi-->mu nu;
    • 2: pi-->e nu;
    • 3: pi-->mu nu g;
    • 4: pi-->e nu g;
  • run the software giving the modified macro file as input parameter
    NA62MC macros/StandardRun.mac
 

Documentation

Deleted:
<
<
This is documented in technical note CERN-
 \ No newline at end of file
Added:
>
>
This will be documented in technical note CERN-

Revision 22015-04-17 - BrunoAngelucci

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Line: 8 to 8
 

Generator

Changed:
<
<
This case is handled via pichdecays.F.
>
>
This case is handled via pichdecays.F. This file is a container for charged pion decays. The routine "pichdecay_manager" is called in kaon decay generators where one ore more charged pions are present in the final state. Two pion decay types are implemented in pich2lnu.F and pich2lnug.F
 

Software implementation

Revision 12015-04-16 - DanProtopopescu

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Pions from in-beam Kaon Decay

Pions from in-beam Kaon Decay

Generator

This case is handled via pichdecays.F.

Software implementation

Files to be modified:

  • CMC.cc *

How to run

To run this channel ...

Documentation

This is documented in technical note CERN-

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback