Difference: SingleParticleStudyNew (1 vs. 4)

Revision 42014-11-22 - ArtemMaevskiy

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

Single Particle Study (new)

Event Generation

Line: 146 to 146
 from TRT_Digitization.TRT_DigitizationConf import TRTDigitizationTool UseArgonStraws = True UseConditionsHTStatus = True'
Changed:
<
<
geometryVersion=ATLAS-GEO-20-00-01'
>
>
geometryVersion=ATLAS-GEO-20-00-01
  cd ../../

Revision 32014-11-17 - ArtemMaevskiy

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

Single Particle Study (new)

Event Generation

Line: 43 to 43
  This will run within the "baseline" Argon scenario. In order to change it to the "worstcase" scenario set OFLCOND-RUN12-SDR-13 instead of OFLCOND-RUN12-SDR-12.
Added:
>
>
Alternative way (yet to check):
<!-- SyntaxHighlightingPlugin -->
ln -s /afs/cern.ch/atlas/project/database/DBREL/packaging/DBRelease/current/geomDB geomDB
ln -s /afs/cern.ch/atlas/project/database/DBREL/packaging/DBRelease/current/triggerDB triggerDB
ln -s /afs/cern.ch/user/a/atlcond/coolrep/sqlite200 sqlite200

AtlasG4_trf.py \
inputEvgenFile=/afs/cern.ch/user/m/maevskiy/public/singleParticleStudyNew/EvtGen/mu.pPb.EVNT.pool.root \
outputHitsFile=outputFile.HITS.pool.root \
maxEvents=5 skipEvents=0 randomSeed=1237 \
geometryVersion=ATLAS-GEO-20-00-01 \
conditionsTag=OFLCOND-MC12-SDR-06 \
postExec='
from IOVDbSvc.CondDB import conddb
conddb.blockFolder("/TRT/Cond/StatusHT")
conddb.addFolderWithTag("TRT_OFL","/TRT/Cond/StatusHT","TrtStrawStatusHT-MC-run2-scenario1_00-00",force=True,forceMC=True)
' \
preExec='
from GeoModelSvc.GeoModelSvcConf import GeoModelSvc
GeoModelSvc.TRT_VersionOverride="TRT-GEO-02"'

# to switch from baseline argon scenario to worst case scenario change
# "TrtStrawStatusHT-MC-run2-scenario1_00-00" to "TrtStrawStatusHT-MC-run2-scenario2_00-00"
<!-- end SyntaxHighlightingPlugin -->

 

Digitization

In a clean environment in an empty directory do the following: %CODE{"bash"}%
Line: 93 to 121
  Again, change OFLCOND-RUN12-SDR-12 to OFLCOND-RUN12-SDR-13 for the worst case scenario.
Added:
>
>
Alternative way (not checked yet):
<!-- SyntaxHighlightingPlugin -->
cd WorkArea/run/
ln -s /afs/cern.ch/atlas/project/database/DBREL/packaging/DBRelease/current/geomDB geomDB
ln -s /afs/cern.ch/atlas/project/database/DBREL/packaging/DBRelease/current/triggerDB triggerDB
ln -s /afs/cern.ch/user/a/atlcond/coolrep/sqlite200 sqlite200

Digi_trf.py \
maxEvents=5 \
outputRDOFile=OUT.RDO.pool.root \
digiRndmSvc='AtDSFMTGenSvc' \
inputHitsFile=INPUT.HITS.FILENAME.root \
preExec='
from GeoModelSvc.GeoModelSvcConf import GeoModelSvc
GeoModelSvc.TRT_VersionOverride="TRT-GEO-02"
' \
conditionsTag=OFLCOND-MC12-SDR-06 \
autoConfiguration='everything' \
postExec='
from IOVDbSvc.CondDB import conddb
conddb.blockFolder("/TRT/Cond/StatusHT")
conddb.addFolderWithTag("TRT_OFL","/TRT/Cond/StatusHT","TrtStrawStatusHT-MC-run2-scenario1_00-00",force=True,forceMC=True)
from TRT_Digitization.TRT_DigitizationConf import TRTDigitizationTool
TRTDigitizationTool.UseArgonStraws = True
TRTDigitizationTool.UseConditionsHTStatus = True' \
geometryVersion=ATLAS-GEO-20-00-01'

cd ../../

# to switch from baseline argon scenario to worst case scenario change
# "TrtStrawStatusHT-MC-run2-scenario1_00-00" to "TrtStrawStatusHT-MC-run2-scenario2_00-00"
<!-- end SyntaxHighlightingPlugin -->
 -- ArtemMaevskiy - 2014-11-07

Revision 22014-11-07 - ArtemMaevskiy

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

Single Particle Study (new)

Event Generation

Line: 14 to 14
 

Simulation

In a clean environment in an empty directory do the following: %CODE{"bash"}%
Changed:
<
<
asetup 17.2.5.2,AtlasProduction,here,slc5 cmt co -r TRT_GeoModel-00-02-52 InnerDetector/InDetDetDescr/TRT_GeoModel
>
>
asetup 17.3.12.3,AtlasProduction,here,slc5 cmt co -r TRT_GeoModel-00-02-57 InnerDetector/InDetDetDescr/TRT_GeoModel
 cmt co -r G4AtlasApps-00-07-43-27 Simulation/G4Atlas/G4AtlasApps setupWorkArea.py cd WorkArea/cmt
Line: 25 to 25
 cd ../../ %ENDCODE%
Added:
>
>
To run it simply do:
<!-- SyntaxHighlightingPlugin -->
AtlasG4_trf.py \
inputEvgenFile=/afs/cern.ch/user/m/maevskiy/public/singleParticleStudyNew/EvtGen/mu.pPb.EVNT.pool.root \
outputHitsFile=outputFile.HITS.pool.root \
maxEvents=5 skipEvents=0 randomSeed=1237 \
geometryVersion=ATLAS-R2-2015-01-05-00_VALIDATION \
conditionsTag=OFLCOND-RUN12-SDR-12 \
postInclude="RecJobTransforms/UseFrontier.py" \
postExec='
from IOVDbSvc.CondDB import conddb
conddb.addFolderSplitOnline("TRT","/TRT/Onl/Cond/StatusHT","/TRT/Cond/StatusHT")
' \
DataRunNumber=1000000
<!-- end SyntaxHighlightingPlugin -->
 
Added:
>
>
This will run within the "baseline" Argon scenario. In order to change it to the "worstcase" scenario set OFLCOND-RUN12-SDR-13 instead of OFLCOND-RUN12-SDR-12.
 

Digitization

In a clean environment in an empty directory do the following:
Line: 49 to 65
 %ENDCODE% And make sure that compilation was successful.
Added:
>
>
To run digi do:
 
Added:
>
>
<!-- SyntaxHighlightingPlugin -->
cd WorkArea/run/
ln -s /afs/cern.ch/atlas/project/database/DBREL/packaging/DBRelease/current/geomDB geomDB
ln -s /afs/cern.ch/atlas/project/database/DBREL/packaging/DBRelease/current/triggerDB triggerDB
ln -s /afs/cern.ch/user/a/atlcond/coolrep/sqlite200 sqlite200

Digi_trf.py \
maxEvents=5 \
outputRDOFile=OUT.RDO.pool.root \
digiRndmSvc='AtDSFMTGenSvc' \
inputHitsFile=INPUT.HITS.FILENAME.root \
conditionsTag='OFLCOND-RUN12-SDR-12' \
autoConfiguration='everything' \
postExec='
from IOVDbSvc.CondDB import conddb
conddb.addFolderSplitOnline("TRT","/TRT/Onl/Cond/StatusHT","/TRT/Cond/StatusHT")
from TRT_Digitization.TRT_DigitizationConf import TRTDigitizationTool
TRTDigitizationTool.UseArgonStraws = True
TRTDigitizationTool.UseConditionsHTStatus = True' \
geometryVersion='ATLAS-R2-2015-01-05-00_VALIDATION'

cd ../../
<!-- end SyntaxHighlightingPlugin -->
 
Added:
>
>
Again, change OFLCOND-RUN12-SDR-12 to OFLCOND-RUN12-SDR-13 for the worst case scenario.
  -- ArtemMaevskiy - 2014-11-07

Revision 12014-11-07 - ArtemMaevskiy

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

Single Particle Study (new)

Event Generation

This topic will probably be covered later once someone needs to produce new single particle EVNT files. For now there's a technique which makes use of the discontinued ParticleGenerator package described here. There are also EVNT files with 50k muon and electron tracks having same eta-pT spectra as it was for electrons and muons in 2013 pPb runs:

<!-- SyntaxHighlightingPlugin -->
/afs/cern.ch/user/m/maevskiy/public/singleParticleStudyNew/EvtGen/el.pPb.EVNT.pool.root
/afs/cern.ch/user/m/maevskiy/public/singleParticleStudyNew/EvtGen/mu.pPb.EVNT.pool.root
<!-- end SyntaxHighlightingPlugin -->

Simulation

In a clean environment in an empty directory do the following:
<!-- SyntaxHighlightingPlugin -->
asetup 17.2.5.2,AtlasProduction,here,slc5
cmt co -r TRT_GeoModel-00-02-52 InnerDetector/InDetDetDescr/TRT_GeoModel
cmt co -r G4AtlasApps-00-07-43-27 Simulation/G4Atlas/G4AtlasApps
setupWorkArea.py
cd WorkArea/cmt
cmt br cmt config
source setup.sh
cmt br cmt make
cd ../../
<!-- end SyntaxHighlightingPlugin -->

Digitization

In a clean environment in an empty directory do the following:
<!-- SyntaxHighlightingPlugin -->
asetup 17.3.12.3,AtlasProduction,here,slc5
cmt co -r TRT_Digitization-00-11-08-04 InnerDetector/InDetDigitization/TRT_Digitization
setupWorkArea.py
cp /afs/cern.ch/user/m/maevskiy/public/singleParticleStudyNew/Digi/TRTProcessingOfStraw.cxx InnerDetector/InDetDigitization/TRT_Digitization/src/
cd WorkArea/cmt/
cmt br cmt config
source setup.sh
cmt br cmt make
cd ../../
<!-- end SyntaxHighlightingPlugin -->

Whenever you perform any change with the source files you should repeat these steps:

<!-- SyntaxHighlightingPlugin -->
cd WorkArea/cmt/
cmt br cmt make
cd ../../
<!-- end SyntaxHighlightingPlugin -->
And make sure that compilation was successful.

-- ArtemMaevskiy - 2014-11-07

 
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