Athena Noise Monitoring


2008/05/03
13.2.0.16 noise monitoring on commissioning data

Basic setup
cd ~/scratch0/work-13.2.0.16
mkdir cmthome
cd cmthome

In the cmthome directory, there is the file
requirements
which contains
set CMTSITE CERN
set SITEROOT /afs/cern.ch
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist
macro ATLAS_TEST_AREA ${HOME}/scratch0/work-13.2.0.16
apply_tag oneTest
apply_tag 32
apply_tag opt
apply_tag setup
apply_tag runtime
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
set CMTCONFIG i686-slc4-gcc34-opt

Then proceed with
cd ..
source ./13.2.0.16_setup.sh
This file contains
cd /afs/cern.ch/user/l/lefebvre/scratch0/work-13.2.0.16/cmthome
source /afs/cern.ch/sw/contrib/CMT/v1r20p20080222/mgr/setup.sh
cmt config
echo "finished cmt config"
source /afs/cern.ch/user/l/lefebvre/scratch0/work-13.2.0.16/cmthome/setup.sh -tag=13.2.0.16,AtlasPoint1
echo "point 1 release setup"
echo $CMTPATH
echo "setting castor t0atlas"
export STAGE_SVCCLASS=t0atlas
echo $STAGE_SVCCLASS
cd /afs/cern.ch/user/l/lefebvre/scratch0/work-13.2.0.16

Now check out the LArMonTools package to allow code development, and compile
The head today is LArMonTools-00-03-75, and it contains corrected jobO
cmt co LArCalorimeter/LArMonTools
cd LArCalorimeter/LArMonTools/cmt
source setup.sh
cmt bro gmake

Then work on jobOptions
cd ~/sratch0/work-13.2.0.16
Create the file topJobOptions.py which contains
EvtNo=10 # Number of events to process
SubDet = 'EndCap'
InputDir = "/castor/cern.ch/grid/atlas/t0/perm/LAr/" + SubDet + "P3C-22" # Data Input Directory
FullFileName ="daq.Pedestal.0059230.No.Streaming.LB0000.EB-ECC._0001.data"# File Name
RunNumber = 59230
Type = str(FullFileName.strip().split('.',9)[1])
FilePrefix = 'daq.' + Type + '.'
Partition = str(FullFileName.strip().split('.',9)[6])
online = False
OutputDir="rootFiles/"
OutputNtupleDir = "rootFiles/"
runAccumulator = False # :average mode, = True:transparent mode
RefRunNumber = 2095 # runnumber of reference file
LArDigitKey = 'HIGH' # for LArRawChannelBuilder
LArRawChannelKey="LArRawChannels"
FullFileNameTab = [ InputDir+"/"+FullFileName ]
include("LArMonTools/LArMonJobOptionsOffline.py")

Prepare the rootFiles directory
mkdir rootFiles

Run
athena.py -s topJobOptions.py | tee out.dat