Skip to content

pinchunchou/omstools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trigger rates and counts from OMS

Install

git clone [email protected]:pinchunchou/omstools.git
cd omstools/
  • Add requirements

    • On private computer
    pip3 install -r requirements.txt # private pc
    
    • On lxplus8
    git clone ssh://[email protected]:7999/cmsoms/oms-api-client.git
    cd oms-api-client
    python3 setup.py install --user
    python3.8 setup.py bdist_rpm --python /usr/bin/python3.8 --build-requires python38,python38-setuptools --release 0.el8
    
  • Add secret info (ask me) in env.py

CLIENT_ID = 'example_id'
CLIENT_SECRET = 'example_secret'

Usage

autoratecheck.py

  • Automatically check the L1 and HLT trigger rates and save to a csv file.

numevtcheck.py

  • Automatically check the number of events passing the HLT trigger and save to a csv file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%