diff --git a/README.md b/README.md index e81ee5986ba4c34d6ee41a72b62d1c0815205749..5dbec2a6c6fad31bb1582ffce8eef5ac9cfd5ce1 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ block by block. unset ATHENA_PREFIX # Install "athena" detector description (at least the materials are needed); -git clone https://eicweb.phy.anl.gov/EIC/detectors/athena.git +git clone https://eicweb.phy.anl.gov/EIC/detectors/athena.git --branch irt-init-v01 cd athena && mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA .. make -j2 install @@ -95,9 +95,9 @@ cd ip6 && mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA .. make -j2 install -# Install a particular branch of the EIC data model (will become master soon); +# Install a particular branch of the EIC data model; cd /tmp/ATHENA -git clone https://eicweb.phy.anl.gov/EIC/eicd.git --branch ayk-01 +git clone https://eicweb.phy.anl.gov/EIC/eicd.git --branch irt-init-v01 cd eicd && mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA .. make -j2 install @@ -113,7 +113,7 @@ Installation ``` cd /tmp/ATHENA -git clone https://eicweb.phy.anl.gov/EIC/irt.git --branch ayk-01 +git clone https://eicweb.phy.anl.gov/EIC/irt.git --branch irt-init-v01 cd irt && mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA -DEVALUATION=YES .. make -j2 install @@ -128,25 +128,6 @@ IRT library in application to a basic ATHENA e-endcap proximity focusing aerogel <br/> -eRICH example configuration ---------------------------- - - See [ERich_geo.cpp](detectors/src/ERich_geo.cpp) for a simple API example, in particular the calls -which define gas volume and aerogel radiators, as well as the photosensor geometry. - - The following will compile libathena.so plugin with e(d)RICH detectors only. Be aware that it will -overwrite /tmp/ATHENA/lib/libathena.so installed earlier. - -``` -export LD_LIBRARY_PATH=/tmp/ATHENA/lib:${LD_LIBRARY_PATH} -cd /tmp/ATHENA/irt/detectors && mkdir -p build && cd build -cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA -DIRT=/tmp/ATHENA .. -make -j2 install - -``` - -<br/> - Simulation pass --------------- @@ -193,7 +174,7 @@ Juggler reconstruction pass ``` cd /tmp/ATHENA -git clone https://eicweb.phy.anl.gov/EIC/juggler.git --branch ayk-01 +git clone https://eicweb.phy.anl.gov/EIC/juggler.git --branch irt-init-v01 cd juggler && mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA .. diff --git a/testIRT.py b/testIRT.py index 28a5a3d45bf383931e4307832d6ef9a0a09ce502..34dc1b61246bf382707fe4e91c9483327ef69ddb 100644 --- a/testIRT.py +++ b/testIRT.py @@ -30,9 +30,13 @@ qe_data = [ (850, 0.06), (900, 0.04) ] +qe_30 = [ + (350, 0.30), + (900, 0.30) +] radiators = [ - "Aerogel zbins=5 smearing=uniform 3mrad" + "Aerogel zbins=1 smearing=uniform 3mrad" ] podioinput = PodioInput( @@ -45,16 +49,17 @@ podioinput = PodioInput( irtrec = IRTAlgorithm( # Input collections: MC truth tracks and eRICH raw hits (photons); inputMCParticles="mcparticles", - #inputHitCollection="ERICHHits", - # Output collection: eRICH PID decisions; - #outputCherenkovPID="ERICHPID", + #Detector="ERICH", # SiPM QE and geometric efficiency; FIXME: units.eV coefficient gives extra x1000 (?); QEcurve=[ ((1239.84/a), b) for a, b in qe_data ], - GeometricEfficiency="0.85", + #GeometricEfficiency="0.85", + #QEcurve=[ ((1239.84/a), b) for a, b in qe_30 ], + GeometricEfficiency="1.00", # Rebin the QE in that many equidistant bins; - QEbins="100", + #QEbins="100", + QEbins="2", # eRICH optics configuration produced by ERich_geo.cpp code along with the dd4hep XML file; ConfigFile="erich-config.root", @@ -69,7 +74,7 @@ ApplicationMgr( TopAlg = [podioinput, irtrec, out], EvtSel = 'NONE', # Process that many events; - EvtMax = 100, + EvtMax = 500, ExtSvc = [podioevent], OutputLevel = DEBUG, PluginDebugLevel = 2