Difference between revisions of "Solid eventgenerator"

From Hall A Wiki
Jump to: navigation, search
Line 9: Line 9:
 
I have also put the option to use a "lund format" file as input for  
 
I have also put the option to use a "lund format" file as input for  
 
filtering based on the angle (you have these files right now).
 
filtering based on the angle (you have these files right now).
 +
There is also an option to have in the output a geantino or a charged geantino, rather than the electron.
 +
 +
 +
'''DEFINITION GEANTINO'''
 +
      Arguments for constructor are as follows
 +
                  name            mass          width        charge
 +
                2*spin          parity  C-conjugation
 +
              2*Isospin      2*Isospin3      G-parity
 +
                  type    lepton number  baryon number  PDG encoding
 +
                stable        lifetime    decay table
 +
                shortlived      subType    anti_encoding
 +
 +
                  name,          0.0*MeV,      0.0*MeV,        0.0,
 +
                  0,                    0,            0,         
 +
                  0,                    0,            0,           
 +
                  "geantino",          0,            0,          0,
 +
                  true,              0.0,          NULL,
 +
                  false,        "geantino",            0
 +
               
 +
 +
'''DEFINITION CHARGED GEANTINO'''
 +
 +
                name,        0.0*MeV,      0.0*MeV,  +1.*eplus,
 +
                    0,              0,            0,         
 +
                    0,              0,            0,           
 +
          "geantino",              0,            0,          0,
 +
                true,            0.0,          NULL,
 +
                false,    "geantino",            0
 +
         
  
 
If you running without flags you get this message (how to use it):
 
If you running without flags you get this message (how to use it):
  
  root2lund : This Program translate the output from eicRate in LUND  
+
root2lund : This Program translate the output from eicRate in LUND format and Filter the scattered electron angles
format and Filter the scattered electron angles
+
Usage: root2lund -o outputfile -i inputfile [-th_min theta_min] [-th_max theta_max] [-ph_min phi_min] [-ph_max phi_max] [-l 1-0] [-g 2-1-0]
  Usage: root2lund -o outputfile -i inputfile [-th_min theta_min]  
+
    -o outputfile    : output file name (example pluto.lund)
[-th_max theta_max] [-ph_min phi_min] [-ph_max phi_max] [-l 1-0]
+
    -i inputfile      : input file name (example pluto.root)
      -o outputfile    : output file name (example pluto.lund)
+
    -h help, print this message  
      -i inputfile      : input file name (example pluto.root)
+
  [optional]  
      -h help, print this message
+
    -th_min theta_min : specify theta minimum for scattered electron  
    [optional]
+
    -th_max theta_max : specify theta maximum for scattered electron  
      -th_min theta_min : specify theta minimum for scattered electron
+
    -ph_min phi_min  : specify phi minimum for scattered electron  
      -th_max theta_max : specify theta maximum for scattered electron
+
    -ph_max phi_max  : specify phi maximum for scattered electron  
      -ph_min phi_min  : specify phi minimum for scattered electron
+
    -l 1-0            : specify format input file ( lund-> 1 (just angle filtering); root->0 (default) )
      -ph_max phi_max  : specify phi maximum for scattered electron
+
    -g 2-1-0          : specify if particle in output is a geantino ( geantino-> 1 ; charged geantino-> 2 ; normal->0 (default) )
      -l 1-0            : specify format input file ( lund-> 1 (just  
+
angle filtering); root->0 (default) )
+

Revision as of 18:49, 18 February 2011

https://jlabsvn.jlab.org/svnroot/solid/evgen/

2.5M events for 4.4GeV, 5.5GeV, 6.6GeV, 11.0GeV at http://hallaweb.jlab.org/12GeV/SoLID/download/test_generator.tgz


I modified my root to lund conversion so that one can filter the data 
based on the angle of scattering of the electron.
I have also put the option to use a "lund format" file as input for 
filtering based on the angle (you have these files right now).
There is also an option to have in the output a geantino or a charged geantino, rather than the electron.


'''DEFINITION GEANTINO'''
      Arguments for constructor are as follows 
                   name             mass          width         charge
                 2*spin           parity  C-conjugation
              2*Isospin       2*Isospin3       G-parity
                   type    lepton number  baryon number   PDG encoding
                 stable         lifetime    decay table 
                 shortlived      subType    anti_encoding

                  name,           0.0*MeV,       0.0*MeV,         0.0, 
                  0,                    0,             0,          
                  0,                    0,             0,             
                  "geantino",           0,             0,           0,
                  true,               0.0,          NULL,
                  false,        "geantino",            0
                

'''DEFINITION CHARGED GEANTINO'''
 
                 name,         0.0*MeV,       0.0*MeV,   +1.*eplus, 
                    0,               0,             0,          
                    0,               0,             0,             
           "geantino",               0,             0,           0,
                 true,             0.0,          NULL,
                 false,     "geantino",             0
          

If you running without flags you get this message (how to use it):

 root2lund : This Program translate the output from eicRate in LUND format and Filter the scattered electron angles
 Usage: root2lund -o outputfile -i inputfile [-th_min theta_min] [-th_max theta_max] [-ph_min phi_min] [-ph_max phi_max] [-l 1-0] [-g 2-1-0]
     -o outputfile     : output file name (example pluto.lund)  
     -i inputfile      : input file name (example pluto.root)  
     -h help, print this message 
   [optional] 
     -th_min theta_min : specify theta minimum for scattered electron 
     -th_max theta_max : specify theta maximum for scattered electron 
     -ph_min phi_min   : specify phi minimum for scattered electron 
     -ph_max phi_max   : specify phi maximum for scattered electron 
     -l 1-0            : specify format input file ( lund-> 1 (just angle filtering); root->0 (default) )
     -g 2-1-0          : specify if particle in output is a geantino ( geantino-> 1 ; charged geantino-> 2 ; normal->0 (default) )