ATLAS Offline Software
Loading...
Searching...
No Matches
ZLumiScripts/grid/grl.py
Go to the documentation of this file.
1#!/us/bin/env python
2# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3# Postinclude snippet for Reco_tf to bring in a GRL
4
5
6from GoodRunsLists.GoodRunsListsConf import GoodRunsListSelectorTool
7from GoodRunsListsUser.GoodRunsListsUserConf import GRLTriggerSelectorAlg
8from AthenaCommon.AlgSequence import AthSequencer
9import os
10if 'GRL' in os.environ:
11 print('Executing GRL code')
12 ToolSvc += GoodRunsListSelectorTool()
13 ToolSvc.GoodRunsListSelectorTool.GoodRunsListVec = [ os.environ['GRL'] ]
14
15 seq = AthSequencer("AthMasterSeq")
16 seq += GRLTriggerSelectorAlg("GRLAlg")
17 seq.GRLAlg.GoodRunsListArray=[ os.environ['GRLNAME'] ]
void print(char *figname, TCanvas *c1)
ClassName: AthSequencer.
This file contains the class definition for the GoodRunsListSelectorTool class.