Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 19 to 19 | ||||||||
<-- /editTable --> | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
TRT Expert Monitoring | ||||||||
Line: 43 to 43 | ||||||||
Log Files | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > | The log files of all applications are stored in /logs/tdaq-04-00-01/ on the host where each process is running. The host is shown in the “Advanced” tab of the IGUI. Log files can also be accessed through the partlogs web interface. | |||||||
Running the IGUI | ||||||||
Line: 60 to 59 | ||||||||
Creating a Stand-Alone Partition | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Running a Stand-Alone Partition | ||||||||
Line: 111 to 110 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|
Line: 1 to 1 | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | |||||||||||||||||||||||||
> > | |||||||||||||||||||||||||
TRT Shift Trainer Help | |||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||
> > | |||||||||||||||||||||||||
This area is intended to explain the shift Trainer's duties and to answer frequently asked questions. | |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | TRT Shift Trainer's DutiesThe TRT TTP are the TRT shift Training Personnel. There is a week long shift equivalent to 1 shift credit (if you think this needs to be increased, feel free to ask me to increase the credit). Most of the work currently is for supervising the practical sessions. To sign up, use OTP task 529095.
| ||||||||||||||||||||||||
> > |
TRT Shift Trainer DutiesThe TRT TTP are the TRT shift Training Personnel. There is a week-long shift equivalent to one shift credit (if you think this needs to be increased, feel free to ask). Most of the work currently is for supervising the practical sessions. To sign up, use OTP task 529095.
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||||
< < | TRT Shift Trainer's FAQ's | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
<-- /editTable --> | ||||||||||||||||||||||||
> > | TRT Shift Trainer FAQs<-- /editTable --> | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
TRT Expert Monitoring | |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Connecting to the Point 1 networkTo connect to Point 1 from outside the network. Login to lxplus and then ssh through the gateway:ssh atlasgw.cern.ch .
Here you are prompted for a hostname, the TRT Athena monitoring machine is pc-tdq-mon-74 . | ||||||||||||||||||||||||
> > | Connecting to the Point-1 Network | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | General structure of the on-line monitoringWhen the jobOptions files that run the monitoring processes that appear in the DAQ Gui are changed, the oks system does not need to be run agian, the process just needs to be restarted by the run controller. (The OKS only needs to be rerun when there are changes in the xml files) | ||||||||||||||||||||||||
> > | See the Sysadmins FAQ, section “Gateways”. In short, connect to atlasgw.cern.ch and then hop to your destination host. | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | ATLAS software at Point 1The ATLAS software is located in the directory/sw/atlas . There you can find the latestest releases that are installed at Point 1 | ||||||||||||||||||||||||
> > | ATLAS Software at Point 1 | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Database access at Point 1 | ||||||||||||||||||||||||
> > | The ATLAS software is located in the directory /sw/atlas . There you can find the latestest releases that are installed at Point 1 | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | The TRT Monitoring segment for the combined runThe segment for the combined run is located in the OKS subdirectory/atlas/oks/tdaq-04-00-01/trt/segments/monitoring . | ||||||||||||||||||||||||
> > | Database Access at Point 1 | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Log files
| ||||||||||||||||||||||||
> > | The TRT Monitoring Segment for the Combined Run | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | SFIs and SFOsThe L2 decision is made after we get the events from the emon sampler. The online monitoring gets events from the SFI (Sub Farm Input) which basically assembles the full events and then passes them on. the L2 decision is made in SFO's (sub farm output) which are different machines than SFI's. | ||||||||||||||||||||||||
> > | The segment for the combined run is located in the OKS subdirectory /atlas/oks/tdaq-04-00-01/trt/segments/monitoring . | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Running the spy GUIFor the Spy GUI, you can doigui_start . Usually you will get it in spy mode, but it can happen that you'll get expert rights. If that happens, go to the "Access Control" menu and choose "Status Display" instead of "Expert Control". | ||||||||||||||||||||||||
> > | Log Files | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Alternatively: | ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | source the DAQ: source /det/tdaq/scripts/setup_TDAQ.sh | ||||||||||||||||||||||||
> > | Running the IGUI | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | then start the GUI: setup_daq -p ATLAS -d /atlas/oks/tdaq-04-00-01/combined/partitions/ATLAS.data.xml | ||||||||||||||||||||||||
> > | First source the DAQ environment with source /det/tdaq/scripts/setup_TDAQ.sh . Then you can start the IGUI with igui_start -p or alternatively setup_daq -p ATLAS -d /atlas/oks/tdaq-04-00-01/combined/partitions/ATLAS.data.xml . | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Running the DAQ panelThe DAQ panel lives in/etc/CRD/bin/panel . It's not on every machine, so make sure you're on one of the pc-trt-scr-* or pc-atlas-cr-* machines. When you open it, you'll need to enter the proper setup script and partition file: | ||||||||||||||||||||||||
> > | Running the DAQ Panel | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Setup Script: /det/tdaq/scripts/setup_TDAQ.sh
Part Name: ATLAS
Database File: /atlas/oks/tdaq-04-00-01/combined/partitions/ATLAS.data.xml | ||||||||||||||||||||||||
> > | The DAQ panel lives in /etc/CRD/bin/panel . It's not on every machine, so make sure you're on one of the pc-trt-scr-* or pc-atlas-cr-* machines. When you open it, you'll need to enter some settings that are provided on the TRT Whiteboard. | ||||||||||||||||||||||||
Stand-Alone Partition | |||||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||||
< < | Running a stand alone partition is a good way to debug the monitoring framework with the online system. The following describes how to create your own stand along partion and how to run it. | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Creating A Stand Alone Partition | ||||||||||||||||||||||||
> > | Running a stand-alone partition is a good way to debug the monitoring framework with the online system. The following describes how to create your own stand along partion and how to run it. | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Running A Stand Alone Partition | ||||||||||||||||||||||||
> > | Creating a Stand-Alone Partition | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | The current working stand alone partition for TRT Monitoring is located at /det/trt/TRTMonitoring/test_partition/tdaq-04-00-01/TRTMonitoringTest.data.xml . Go to that directory and start the partition by running ./start_test_partition . | ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | L1-bits and L1-keysThe L1 accepts are given by bits and keys, in addition there are 2 kinds of bits. Decimal numbers used in the trigger details page of the runlist, and the L1 according to emon (eg:[ 0x0 , 0x100000000 , 0x0 , 0x0 ] ). To get the mapping from the L1 key to the L1-bit used in emon first, get the mapping from L1-key to L1-decimal bit from the run list / trigger details tab of a recent run. Next (after you set up athena) do ./l1bits4emon # , where # is the L1 decimal bit. l1bits4emon is a script that can be found, (eg: /shared/data/johnda/ ) | ||||||||||||||||||||||||
> > | Running a Stand-Alone Partition | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Tips, hints and fun facts
| ||||||||||||||||||||||||
> > | The current working stand alone partition for TRT Monitoring is located at /det/trt/monitoring/test_partition/tdaq-04-00-01/TRTMonitoringTest.data.xml . Go to that directory and start the partition by running ./start_test_partition . | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | TRT (and ATLAS general) webscripts at Point 1 | ||||||||||||||||||||||||
> > | Webscripts at Point 1 | ||||||||||||||||||||||||
Purpose | |||||||||||||||||||||||||
Deleted: | |||||||||||||||||||||||||
< < | A number of scripts have been written to create tables or widgets with information relevant to shifters. They can be included on the Point 1 TWiki pages e.g. in an iframe as part of the WhiteBoard or shifter instructions. The scripts are mostly written in Python, some might be coded in PHP. A few scripts are TRT-specific (e.g. calibcal ), others can be and are used by other ATLAS subsystems (e.g. lastruns or dayprog ). | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Location and access | ||||||||||||||||||||||||
> > | A number of scripts have been written to create tables or widgets with information relevant to shifters. They can be included on the Point 1 TWiki pages e.g. in an iframe as part of the Whiteboard or shifter instructions. The scripts are mostly written in Python, some might be coded in PHP. A few scripts are TRT-specific (e.g. calibcal ), others can be and are used by other ATLAS subsystems (e.g. lastruns or dayprog ). | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | Look at the SysAdmins/WebServers TWiki to learn more about the setup of webservers and web directories at Point 1. The responsible subsystem experts have to demand access rights. In particular you need to request the role ATLAS:www from atlas-tdaq.sysadmin@cern.ch in order to be able to modify or add scripts. | ||||||||||||||||||||||||
> > | Location and AccessLook at the SysAdmins/WebServers TWiki to learn more about the setup of webservers and web directories at Point 1. The responsible subsystem experts have to demand access rights. In particular you need to request the roleATLAS:www from atlas-tdaq-sysadmins@cern.ch to access the web server. | ||||||||||||||||||||||||
Scripts can be executed in a webbrowser from inside Point 1 via http://pc-atlas-www.cern.ch/webscripts/... or from outside Point 1 through https://atlasop.cern.ch/webscripts/... .
GuidelinesIt is important to adhere to P1 security requirements, a few guidelines are: | |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
| |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < |
| ||||||||||||||||||||||||
> > |
| ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | How to include scripts in a TWiki page | ||||||||||||||||||||||||
> > | How to Include Scripts in a TWiki Page | ||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | In order to include the scripts on a TWiki page one has to use so-called "inline frames". The <iframe> tag defines an inline frame that contains another document. It is supported in all major browsers. More documentation can be found at http://www.w3.org/TR/REC-html40/present/frames.html#edef-IFRAME![]() | ||||||||||||||||||||||||
> > | In order to include the scripts on a TWiki page you can use "inline frames". The <iframe> tag defines an inline frame that contains another document. It is supported in all major browsers. More documentation can be found at W3C![]() | ||||||||||||||||||||||||
Example:
<iframe width="600px" height="200px" scrolling="no" frameborder="0" src="/webscripts/global/lastruns.py">This text is displayed if a browser does not recognize the iframe tag.</iframe>Note you should not include a hostname in the link, so the script is requested from the same host as the TWiki page itself (i. e. pc-atlas-www internally, atlasop externally). | |||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||
< < | List of scripts | ||||||||||||||||||||||||
> > | List of Scripts | ||||||||||||||||||||||||
|
Line: 1 to 1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Line: 120 to 120 | ||||||||||
| ||||||||||
Changed: | ||||||||||
< < |
| |||||||||
> > |
|
Line: 1 to 1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Line: 120 to 120 | ||||||||||
| ||||||||||
Added: | ||||||||||
> > |
|
Line: 1 to 1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Line: 13 to 13 | ||||||||||
TRT Shift Trainer's FAQ's | ||||||||||
Changed: | ||||||||||
< < | ||||||||||
> > | ||||||||||
<-- /editTable --> | ||||||||||
Line: 24 to 24 | ||||||||||
| ||||||||||
Deleted: | ||||||||||
< < | ||||||||||
TRT Expert Monitoring | ||||||||||
Changed: | ||||||||||
< < | Connecting to the Point 1 networkTo connect to point 1 from outside the network. Login to lxplus and then ssh through the gateway:ssh atlasgw.cern.ch .
Here you are prompted for a hostname, the two TRT Athena monitoring machines are pc-tdq-mon-24 and pc-tdq-mon-25 | |||||||||
> > | Connecting to the Point 1 networkTo connect to Point 1 from outside the network. Login to lxplus and then ssh through the gateway:ssh atlasgw.cern.ch .
Here you are prompted for a hostname, the TRT Athena monitoring machine is pc-tdq-mon-74 . | |||||||||
General structure of the on-line monitoringWhen the jobOptions files that run the monitoring processes that appear in the DAQ Gui are changed, the oks system does not need to be run agian, the process just needs to be restarted by the run controller. (The OKS only needs to be rerun when there are changes in the xml files) | ||||||||||
Changed: | ||||||||||
< < | Atlas software at Point 1The atlas software is located in the directory/sw/atlas/ . There you can find the latestest releases that are installed at point 1 | |||||||||
> > | ATLAS software at Point 1The ATLAS software is located in the directory/sw/atlas . There you can find the latestest releases that are installed at Point 1 | |||||||||
Changed: | ||||||||||
< < | Database access at Point 1 | |||||||||
> > | Database access at Point 1 | |||||||||
The TRT Monitoring segment for the combined run | ||||||||||
Changed: | ||||||||||
< < | The segment for the combined run is located in /db/tdaq-01-09-01/trt/segments/Monitoring/ (where 01-09-01 is the latest version of the tdaq) | |||||||||
> > | The segment for the combined run is located in the OKS subdirectory /atlas/oks/tdaq-04-00-01/trt/segments/monitoring . | |||||||||
Log files
| ||||||||||
Changed: | ||||||||||
< < |
| |||||||||
> > |
| |||||||||
Changed: | ||||||||||
< < | SFI's and all that jazz | |||||||||
> > | SFIs and SFOs | |||||||||
The L2 decision is made after we get the events from the emon sampler. The online monitoring gets events from the SFI (Sub Farm Input) which basically assembles the full events and then passes them on. the L2 decision is made in SFO's (sub farm output) which are different machines than SFI's.
Running the spy GUI | ||||||||||
Line: 57 to 56 | ||||||||||
source the DAQ: source /det/tdaq/scripts/setup_TDAQ.sh | ||||||||||
Changed: | ||||||||||
< < | then start the GUI: setup_daq -p ATLAS -d /db/tdaq-01-09-01/combined/partitions/ATLAS.data.xml | |||||||||
> > | then start the GUI: setup_daq -p ATLAS -d /atlas/oks/tdaq-04-00-01/combined/partitions/ATLAS.data.xml | |||||||||
Running the DAQ panel | ||||||||||
Changed: | ||||||||||
< < | The DAQ panel lives in /etc/CRD/bin/panel . It's not on every machine, so make sure you're on one of the pc-trt-scr-* or pc-atlas-cr-* machines. (And I think it might even be different between the SCR machines and the atlas-cr machines.) When you open it, you'll need to enter the proper setup script and partition file: | |||||||||
> > | The DAQ panel lives in /etc/CRD/bin/panel . It's not on every machine, so make sure you're on one of the pc-trt-scr-* or pc-atlas-cr-* machines. When you open it, you'll need to enter the proper setup script and partition file: | |||||||||
Changed: | ||||||||||
< < | Setup Script: /det/tdaq/scripts/setup_TDAQ_14.2.XY.sh Part Name: ATLAS Database File: /db/tdaq-01-09-01/combined/partitions/ATLAS.data.xml | |||||||||
> > | Setup Script: /det/tdaq/scripts/setup_TDAQ.sh
Part Name: ATLAS
Database File: /atlas/oks/tdaq-04-00-01/combined/partitions/ATLAS.data.xml | |||||||||
Stand-Alone PartitionRunning a stand alone partition is a good way to debug the monitoring framework with the online system. The following describes how to create your own stand along partion and how to run it. | ||||||||||
Line: 73 to 72 | ||||||||||
Running A Stand Alone Partition | ||||||||||
Changed: | ||||||||||
< < | The current working stand alone partition for TRT Monitoring is located at /det/trt/TRTMonitoring/R14.5.0_tdaq-2.0_debug/WorkDir/run/part_jdegenha.data.xmlcd to that directory and then source the SetupDAQCOmmissioning.sh script. $cd /det/trt/TRTMonitoring/R14.5.0_tdaq-2.0_debug/WorkDir/run/ $source SetupDAQCommissioning.shThen start up the partition. $setup_daq -p part_jdegenha -d part_jdegenha.data.xml Running Athena Stateless MonitoringCurrently the Athena Stateless Monitoring cannot run inside the DAQ partition due to database issues. The next best thing is to run Athena Stateless monitoring separately and have it connect to a running partition. To do this, first get a running partition as stated above. Next, in a new terminal session, cd to/det/trt/TRTMonitoring/Official_JOsThen source the config.sh script, and then run athena: $source config.sh $athena AthenaMonitoringStateless_JobOptions.pyThen check in the running partition if there are TRT histograms in the OH. Installing a new version of the TRT monitoringRunning TRT Monitoring online is simply a matter of using the right job options file. The job options file should be found in /sw/atlas/AtlasOffline/mkdir /det/trt/TRTMonitoring/<TESTAREA>/cmthome mkdir /det/trt/TRTMonitoring/<TESTAREA>/WorkDir3. in this cmthome area create requirements file: set CMTSITE STANDALONE set SITEROOT /sw/atlas macro ATLAS_DIST_AREA ${SITEROOT} macro HLT_PROJECT_AREA ${SITEROOT} macro ATLAS_TEST_AREA /det/trt/TRTMonitoring/<TESTAREA>/WorkDir macro ATLAS_GROUP_AREA /sw/atlas/<PROJECT>/<RELEASE> apply_tag groupArea apply_tag oneGroup apply_tag oneTest apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT} use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA) set CMTCONFIG i686-slc4-gcc34-optthen source /sw/atlas/CMT/v1r20p20080222/mgr/setup.sh cmt configLog out of that session and then log back in. cd /det/trt/TRTMonitoring/<TESTAREA>/ mkdir source cmthome/setup.sh -tag=<RELEASE>,setup,32,runtime,<PROJECT> export CORAL_AUTH_PATH=/sw/DbSuppForMx export CORAL_DBLOOKUP_PATH=/sw/DbSuppForMx cd WorkDir mkdir run cd run cp /sw/atlas/AtlasTier0/<RELEASE>/InnerDetector/InDetExample/InDetRecExample/share/jobOptions_cosmic.py .Edit jobOptions_cosmic.pyappropriately to get the monitoring to run. athena jobOptions_cosmic.py |tee monitoring.logYou should get a root file called monitoring.root. Check to make sure that the file has correctly filled histograms. This is the first step in getting Athena monitoring to run at point1. | |||||||||
> > | The current working stand alone partition for TRT Monitoring is located at /det/trt/TRTMonitoring/test_partition/tdaq-04-00-01/TRTMonitoringTest.data.xml . Go to that directory and start the partition by running ./start_test_partition . | |||||||||
L1-bits and L1-keysThe L1 accepts are given by bits and keys, in addition there are 2 kinds of bits. Decimal numbers used in the trigger details page of the runlist, and the L1 according to emon (eg:[ 0x0 , 0x100000000 , 0x0 , 0x0 ] ). To get the mapping from the L1 key to the L1-bit used in emon first, get the mapping from L1-key to L1-decimal bit from the run list / trigger details tab of a recent run. Next (after you set up athena) do ./l1bits4emon # , where # is the L1 decimal bit. l1bits4emon is a script that can be found, (eg: /shared/data/johnda/ ) | ||||||||||
Deleted: | ||||||||||
< < | Integrating in a new run CASE STUDY (cosmic run 2/10/8)The monitoring runs ok, out of the box, however some of SFIs are not seeing events from the gather. Problem is that the L1 triggers were configured incorrectly. Need to locate a script (from rhauser) which gives you the L1 bit given the L1 type to configure the monitoring correctly. The script is/atlas-home/1/rhauser/bin/l1bits4emon . The L1 bits are set in the top jobOptions for each monitoring processes, which configure the monitoring process by providing the L1 bit and the
Trigger PresenterDisplays the trigger chains for the triggers in the partitions, which L1s feed into which L1 ect. The Trigger Presenter is avialible through the TDAQ panel. | |||||||||
Tips, hints and fun facts
| ||||||||||
Changed: | ||||||||||
< < |
| |||||||||
> > |
| |||||||||
Changed: | ||||||||||
< < | TRT (and ATLAS general) webscripts at Point1 | |||||||||
> > | TRT (and ATLAS general) webscripts at Point 1 | |||||||||
Purpose | ||||||||||
Changed: | ||||||||||
< < | A number of scripts have been written to create tables or widgets with information relevant to shifters. They can be included on the Point1 TWiki pages e.g. in an iframe as part of the WhiteBoard or shifter instructions. The scripts are mostly written in Python, some might be coded in PHP. A few scripts are TRT-specific (e.g. calibcal ), others can be and are used by other ATLAS subsystems (e.g. lastruns or dayprog ). | |||||||||
> > | A number of scripts have been written to create tables or widgets with information relevant to shifters. They can be included on the Point 1 TWiki pages e.g. in an iframe as part of the WhiteBoard or shifter instructions. The scripts are mostly written in Python, some might be coded in PHP. A few scripts are TRT-specific (e.g. calibcal ), others can be and are used by other ATLAS subsystems (e.g. lastruns or dayprog ). | |||||||||
Location and access | ||||||||||
Changed: | ||||||||||
< < | Physically the webscripts are located on pc-atlas-www-1. A specific folder has been assigned to accommodate general as well subsystem-specific scripts. Directories are cgi-executable and set up to give visibility to users connecting from outside Point1 via atlasop.cern.ch . The responsible subsystem experts have to demand access rights. In particular you need to request the role ATLAS:www from atlas-tdaq.sysadmin@cern.ch in order to be able to modify or add scripts.
https://pc-atlas-www.cern.ch/webscripts/... or from outside Point1 through https://atlasop.cern.ch/webscripts/... . | |||||||||
> > | Look at the SysAdmins/WebServers TWiki to learn more about the setup of webservers and web directories at Point 1. The responsible subsystem experts have to demand access rights. In particular you need to request the role ATLAS:www from atlas-tdaq.sysadmin@cern.ch in order to be able to modify or add scripts. | |||||||||
Added: | ||||||||||
> > | Scripts can be executed in a webbrowser from inside Point 1 via http://pc-atlas-www.cern.ch/webscripts/... or from outside Point 1 through https://atlasop.cern.ch/webscripts/... . | |||||||||
Changed: | ||||||||||
< < | Guidelines (IMPORTANT)It is IMPORTANT to adhere to P1 security requirements, a few guidelines are: | |||||||||
> > | Guidelines | |||||||||
Added: | ||||||||||
> > | It is important to adhere to P1 security requirements, a few guidelines are: | |||||||||
| ||||||||||
Line: 201 to 109 | ||||||||||
In order to include the scripts on a TWiki page one has to use so-called "inline frames". The <iframe> tag defines an inline frame that contains another document. It is supported in all major browsers. More documentation can be found at http://www.w3.org/TR/REC-html40/present/frames.html#edef-IFRAME![]() | ||||||||||
Changed: | ||||||||||
< < | ... <iframe width="600px" height="200px" scrolling="no" frameborder="0" src="http://pc-atlas-www.cern.ch/webscripts/lastruns.py">This text is displayed if a browser does not recognize the iframe tag. ... | |||||||||
> > | ||||||||||
Changed: | ||||||||||
< < |
It is necessary to use TWiki variables so that the script is executed on the same server than the TWiki page (i.e. atlasop.cern.ch resp. pc-atlas-www-1.cern.ch ).
TWiki variable are set in the TWiki page settings:
| |||||||||
> > | Note you should not include a hostname in the link, so the script is requested from the same host as the TWiki page itself (i. e. pc-atlas-www internally, atlasop externally). | |||||||||
List of scripts
| ||||||||||
Changed: | ||||||||||
< < |
| |||||||||
> > |
| |||||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 164 to 164 | ||||||||
| ||||||||
Changed: | ||||||||
< < | TRT (and ATLAS general) scripts at Point1 | |||||||
> > | TRT (and ATLAS general) webscripts at Point1 | |||||||
PurposeA number of scripts have been written to create tables or widgets with information relevant to shifters. They can be included on the Point1 TWiki pages e.g. in aniframe as part of the WhiteBoard or shifter instructions. The scripts are mostly written in Python, some might be coded in PHP. A few scripts are TRT-specific (e.g. calibcal ), others can be and are used by other ATLAS subsystems (e.g. lastruns or dayprog ). | ||||||||
Line: 175 to 175 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Scripts can be executed in a webbrowser from inside Point1 viahttps://pc-atlas-www.cern.ch/webscripts/... |
Line: 1 to 1 | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
Line: 163 to 163 | ||||||||||||||||||||||
| ||||||||||||||||||||||
Added: | ||||||||||||||||||||||
> > |
TRT (and ATLAS general) scripts at Point1PurposeA number of scripts have been written to create tables or widgets with information relevant to shifters. They can be included on the Point1 TWiki pages e.g. in aniframe as part of the WhiteBoard or shifter instructions. The scripts are mostly written in Python, some might be coded in PHP. A few scripts are TRT-specific (e.g. calibcal ), others can be and are used by other ATLAS subsystems (e.g. lastruns or dayprog ).
Location and accessPhysically the webscripts are located on pc-atlas-www-1. A specific folder has been assigned to accommodate general as well subsystem-specific scripts. Directories are cgi-executable and set up to give visibility to users connecting from outside Point1 viaatlasop.cern.ch . The responsible subsystem experts have to demand access rights. In particular you need to request the role ATLAS:www from atlas-tdaq.sysadmin@cern.ch in order to be able to modify or add scripts.
https://pc-atlas-www.cern.ch/webscripts/... or from outside Point1 through https://atlasop.cern.ch/webscripts/... .
Guidelines (IMPORTANT)It is IMPORTANT to adhere to P1 security requirements, a few guidelines are:
How to include scripts in a TWiki pageIn order to include the scripts on a TWiki page one has to use so-called "inline frames". The<iframe> tag defines an inline frame that contains another document. It is supported in all major browsers. More documentation can be found at http://www.w3.org/TR/REC-html40/present/frames.html#edef-IFRAME![]() ... <iframe width="600px" height="200px" scrolling="no" frameborder="0" src="http://pc-atlas-www.cern.ch/webscripts/lastruns.py">This text is displayed if a browser does not recognize the iframe tag.</iframe> ...It is necessary to use TWiki variables so that the script is executed on the same server than the TWiki page (i.e. atlasop.cern.ch resp. pc-atlas-www-1.cern.ch ).
TWiki variable are set in the TWiki page settings:
List of scripts
|
Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Line: 6 to 6 | ||||||||||||||||
This area is intended to explain the shift Trainer's duties and to answer frequently asked questions.
TRT Shift Trainer's DutiesThe TRT TTP are the TRT shift Training Personnel. There is a week long shift equivalent to 1 shift credit (if you think this needs to be increased, feel free to ask me to increase the credit). Most of the work currently is for supervising the practical sessions. To sign up, use OTP task 529095. | ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
TRT Shift Trainer's FAQ's<-- /editTable --> | ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Deleted: | ||||||||||||||||
< < |
| |||||||||||||||
TRT Expert Monitoring |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | -- JohnAlison - 02 Oct 2008 | |||||||
> > |
TRT Shift Trainer HelpThis area is intended to explain the shift Trainer's duties and to answer frequently asked questions.TRT Shift Trainer's DutiesThe TRT TTP are the TRT shift Training Personnel. There is a week long shift equivalent to 1 shift credit (if you think this needs to be increased, feel free to ask me to increase the credit). Most of the work currently is for supervising the practical sessions. To sign up, use OTP task 529095.
TRT Shift Trainer's FAQ's<-- /editTable --> | |||||||
TRT Expert MonitoringConnecting to the Point 1 network |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 48 to 48 | ||||||||
Running A Stand Alone Partition | ||||||||
Added: | ||||||||
> > | The current working stand alone partition for TRT Monitoring is located at /det/trt/TRTMonitoring/R14.5.0_tdaq-2.0_debug/WorkDir/run/part_jdegenha.data.xmlcd to that directory and then source the SetupDAQCOmmissioning.sh script. $cd /det/trt/TRTMonitoring/R14.5.0_tdaq-2.0_debug/WorkDir/run/ $source SetupDAQCommissioning.shThen start up the partition. $setup_daq -p part_jdegenha -d part_jdegenha.data.xml Running Athena Stateless MonitoringCurrently the Athena Stateless Monitoring cannot run inside the DAQ partition due to database issues. The next best thing is to run Athena Stateless monitoring separately and have it connect to a running partition. To do this, first get a running partition as stated above. Next, in a new terminal session, cd to/det/trt/TRTMonitoring/Official_JOsThen source the config.sh script, and then run athena: $source config.sh $athena AthenaMonitoringStateless_JobOptions.pyThen check in the running partition if there are TRT histograms in the OH. | |||||||
Installing a new version of the TRT monitoring | ||||||||
Changed: | ||||||||
< < | Running TRT Monitoring online is simply a matter of using the right job options file. The job options file should be found in /sw/atlas/AtlasOffline/ | |||||||
> > | Running TRT Monitoring online is simply a matter of using the right job options file. The job options file should be found in /sw/atlas/AtlasOffline/ | |||||||
1. create a TESTAREA under /det/trt/TRTMonitoring/. 2. in the TESTAREA create a cmthome directory, and WorkDir: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 80 to 80 | ||||||||
then | ||||||||
Changed: | ||||||||
< < | source /sw/CMT/current/mgr/setup.sh | |||||||
> > | source /sw/atlas/CMT/v1r20p20080222/mgr/setup.sh | |||||||
cmt config | ||||||||
Line: 90 to 90 | ||||||||
cd /det/trt/TRTMonitoring/ | ||||||||
Added: | ||||||||
> > | export CORAL_AUTH_PATH=/sw/DbSuppForMx export CORAL_DBLOOKUP_PATH=/sw/DbSuppForMx | |||||||
cd WorkDir
mkdir run
cd run
cp /sw/atlas/AtlasTier0/ | ||||||||
Added: | ||||||||
> > | Edit jobOptions_cosmic.pyappropriately to get the monitoring to run. athena jobOptions_cosmic.py |tee monitoring.logYou should get a root file called monitoring.root. Check to make sure that the file has correctly filled histograms. This is the first step in getting Athena monitoring to run at point1. | |||||||
L1-bits and L1-keysThe L1 accepts are given by bits and keys, in addition there are 2 kinds of bits. Decimal numbers used in the trigger details page of the runlist, and the L1 according to emon (eg:[ 0x0 , 0x100000000 , 0x0 , 0x0 ] ). To get the mapping from the L1 key to the L1-bit used in emon first, get the mapping from L1-key to L1-decimal bit from the run list / trigger details tab of a recent run. Next (after you set up athena) do ./l1bits4emon # , where # is the L1 decimal bit. l1bits4emon is a script that can be found, (eg: /shared/data/johnda/ ) |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 41 to 41 | ||||||||
Part Name: ATLAS Database File: /db/tdaq-01-09-01/combined/partitions/ATLAS.data.xml | ||||||||
Added: | ||||||||
> > | Stand-Alone PartitionRunning a stand alone partition is a good way to debug the monitoring framework with the online system. The following describes how to create your own stand along partion and how to run it. | |||||||
Changed: | ||||||||
< < | Running the Stand-alone partition | |||||||
> > | Creating A Stand Alone PartitionRunning A Stand Alone Partition | |||||||
Installing a new version of the TRT monitoring | ||||||||
Added: | ||||||||
> > | Running TRT Monitoring online is simply a matter of using the right job options file. The job options file should be found in /sw/atlas/AtlasOffline/mkdir /det/trt/TRTMonitoring/<TESTAREA>/cmthome mkdir /det/trt/TRTMonitoring/<TESTAREA>/WorkDir3. in this cmthome area create requirements file: set CMTSITE STANDALONE set SITEROOT /sw/atlas macro ATLAS_DIST_AREA ${SITEROOT} macro HLT_PROJECT_AREA ${SITEROOT} macro ATLAS_TEST_AREA /det/trt/TRTMonitoring/<TESTAREA>/WorkDir macro ATLAS_GROUP_AREA /sw/atlas/<PROJECT>/<RELEASE> apply_tag groupArea apply_tag oneGroup apply_tag oneTest apply_tag projectArea macro SITE_PROJECT_AREA ${SITEROOT} macro EXTERNAL_PROJECT_AREA ${SITEROOT} use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA) set CMTCONFIG i686-slc4-gcc34-optthen source /sw/CMT/current/mgr/setup.sh cmt configLog out of that session and then log back in. cd /det/trt/TRTMonitoring/<TESTAREA>/ mkdir source cmthome/setup.sh -tag=<RELEASE>,setup,32,runtime,<PROJECT> cd WorkDir mkdir run cd run cp /sw/atlas/AtlasTier0/<RELEASE>/InnerDetector/InDetExample/InDetRecExample/share/jobOptions_cosmic.py . | |||||||
L1-bits and L1-keysThe L1 accepts are given by bits and keys, in addition there are 2 kinds of bits. Decimal numbers used in the trigger details page of the runlist, and the L1 according to emon (eg:[ 0x0 , 0x100000000 , 0x0 , 0x0 ] ). To get the mapping from the L1 key to the L1-bit used in emon first, get the mapping from L1-key to L1-decimal bit from the run list / trigger details tab of a recent run. Next (after you set up athena) do ./l1bits4emon # , where # is the L1 decimal bit. l1bits4emon is a script that can be found, (eg: /shared/data/johnda/ ) |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 46 to 46 | ||||||||
Installing a new version of the TRT monitoring | ||||||||
Added: | ||||||||
> > | L1-bits and L1-keysThe L1 accepts are given by bits and keys, in addition there are 2 kinds of bits. Decimal numbers used in the trigger details page of the runlist, and the L1 according to emon (eg:[ 0x0 , 0x100000000 , 0x0 , 0x0 ] ). To get the mapping from the L1 key to the L1-bit used in emon first, get the mapping from L1-key to L1-decimal bit from the run list / trigger details tab of a recent run. Next (after you set up athena) do ./l1bits4emon # , where # is the L1 decimal bit. l1bits4emon is a script that can be found, (eg: /shared/data/johnda/ ) | |||||||
Integrating in a new run CASE STUDY (cosmic run 2/10/8)The monitoring runs ok, out of the box, however some of SFIs are not seeing events from the gather. Problem is that the L1 triggers were configured incorrectly. Need to locate a script (from rhauser) which gives you the L1 bit given the L1 type to configure the monitoring correctly. The script is/atlas-home/1/rhauser/bin/l1bits4emon . The L1 bits are set in the top jobOptions for each monitoring processes, which configure the monitoring process by providing the L1 bit and the |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 8 to 8 | ||||||||
Here you are prompted for a hostname, the two TRT Athena monitoring machines are pc-tdq-mon-24 and pc-tdq-mon-25
General structure of the on-line monitoring | ||||||||
Added: | ||||||||
> > | When the jobOptions files that run the monitoring processes that appear in the DAQ Gui are changed, the oks system does not need to be run agian, the process just needs to be restarted by the run controller. (The OKS only needs to be rerun when there are changes in the xml files) | |||||||
Atlas software at Point 1The atlas software is located in the directory/sw/atlas/ . There you can find the latestest releases that are installed at point 1 | ||||||||
Line: 22 to 23 | ||||||||
SFI's and all that jazz | ||||||||
Changed: | ||||||||
< < | The TRT online monitoring runs after the L2 decision in the SFI | |||||||
> > | The L2 decision is made after we get the events from the emon sampler. The online monitoring gets events from the SFI (Sub Farm Input) which basically assembles the full events and then passes them on. the L2 decision is made in SFO's (sub farm output) which are different machines than SFI's. | |||||||
Running the spy GUIFor the Spy GUI, you can doigui_start . Usually you will get it in spy mode, but it can happen that you'll get expert rights. If that happens, go to the "Access Control" menu and choose "Status Display" instead of "Expert Control". | ||||||||
Line: 52 to 53 | ||||||||
Displays the trigger chains for the triggers in the partitions, which L1s feed into which L1 ect. The Trigger Presenter is avialible through the TDAQ panel.
Tips, hints and fun facts | ||||||||
Added: | ||||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 24 to 24 | ||||||||
SFI's and all that jazzThe TRT online monitoring runs after the L2 decision in the SFI | ||||||||
Changed: | ||||||||
< < | Running the spy GUI during a combined run | |||||||
> > | Running the spy GUIFor the Spy GUI, you can doigui_start . Usually you will get it in spy mode, but it can happen that you'll get expert rights. If that happens, go to the "Access Control" menu and choose "Status Display" instead of "Expert Control".
Alternatively: | |||||||
source the DAQ: source /det/tdaq/scripts/setup_TDAQ.sh
then start the GUI: setup_daq -p ATLAS -d /db/tdaq-01-09-01/combined/partitions/ATLAS.data.xml | ||||||||
Added: | ||||||||
> > | Running the DAQ panelThe DAQ panel lives in/etc/CRD/bin/panel . It's not on every machine, so make sure you're on one of the pc-trt-scr-* or pc-atlas-cr-* machines. (And I think it might even be different between the SCR machines and the atlas-cr machines.) When you open it, you'll need to enter the proper setup script and partition file:
Setup Script: /det/tdaq/scripts/setup_TDAQ_14.2.XY.sh
Part Name: ATLAS
Database File: /db/tdaq-01-09-01/combined/partitions/ATLAS.data.xml | |||||||
Running the Stand-alone partitionInstalling a new version of the TRT monitoring |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 34 to 34 | ||||||||
Installing a new version of the TRT monitoringIntegrating in a new run CASE STUDY (cosmic run 2/10/8) | ||||||||
Added: | ||||||||
> > | The monitoring runs ok, out of the box, however some of SFIs are not seeing events from the gather. Problem is that the L1 triggers were configured incorrectly. Need to locate a script (from rhauser) which gives you the L1 bit given the L1 type to configure the monitoring correctly. The script is /atlas-home/1/rhauser/bin/l1bits4emon . The L1 bits are set in the top jobOptions for each monitoring processes, which configure the monitoring process by providing the L1 bit and the
Trigger PresenterDisplays the trigger chains for the triggers in the partitions, which L1s feed into which L1 ect. The Trigger Presenter is avialible through the TDAQ panel. | |||||||
Tips, hints and fun facts
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 24 to 24 | ||||||||
SFI's and all that jazzThe TRT online monitoring runs after the L2 decision in the SFI | ||||||||
Added: | ||||||||
> > | Running the spy GUI during a combined runsource the DAQ:source /det/tdaq/scripts/setup_TDAQ.sh
then start the GUI: setup_daq -p ATLAS -d /db/tdaq-01-09-01/combined/partitions/ATLAS.data.xml | |||||||
Running the Stand-alone partitionInstalling a new version of the TRT monitoring |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 19 to 19 | ||||||||
Log files
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
SFI's and all that jazzThe TRT online monitoring runs after the L2 decision in the SFI |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
TRT Expert Monitoring | ||||||||
Line: 9 to 9 | ||||||||
General structure of the on-line monitoring | ||||||||
Deleted: | ||||||||
< < | log file
SFI's and all that jazz | |||||||
Atlas software at Point 1The atlas software is located in the directory/sw/atlas/ . There you can find the latestest releases that are installed at point 1 | ||||||||
Line: 23 to 17 | ||||||||
The TRT Monitoring segment for the combined runThe segment for the combined run is located in/db/tdaq-01-09-01/trt/segments/Monitoring/ (where 01-09-01 is the latest version of the tdaq) | ||||||||
Added: | ||||||||
> > | Log files
SFI's and all that jazzThe TRT online monitoring runs after the L2 decision in the SFI | |||||||
Running the Stand-alone partition |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | -- Main.johnda - 02 Oct 2008 | |||||||
> > | -- JohnAlison - 02 Oct 2008 | |||||||
TRT Expert Monitoring | ||||||||
Added: | ||||||||
> > |
Connecting to the Point 1 network | |||||||
To connect to point 1 from outside the network. Login to lxplus and then ssh through the gateway: ssh atlasgw.cern.ch . | ||||||||
Added: | ||||||||
> > | Here you are prompted for a hostname, the two TRT Athena monitoring machines are pc-tdq-mon-24 and pc-tdq-mon-25
General structure of the on-line monitoringlog file
SFI's and all that jazzAtlas software at Point 1The atlas software is located in the directory/sw/atlas/ . There you can find the latestest releases that are installed at point 1
Database access at Point 1The TRT Monitoring segment for the combined runThe segment for the combined run is located in/db/tdaq-01-09-01/trt/segments/Monitoring/ (where 01-09-01 is the latest version of the tdaq)
Running the Stand-alone partitionInstalling a new version of the TRT monitoringIntegrating in a new run CASE STUDY (cosmic run 2/10/8) | |||||||
Changed: | ||||||||
< < | Here you are prompted for a hostname viable options include: pc-tdq-mon-24 and pc-tdq-mon-25 | |||||||
> > | Tips, hints and fun facts
|