Git Product home page Git Product logo

striptkmaps's Introduction

StripTkMaps

A first repository to collect the restructuring of (strips) TkMaps related scripts for Tracker Offline shifters

These scripts were created to download and generate tracker maps from the /eos/ area at CERN. I work with CMSSW_10_4_0, ensure you have the DQM folder in your src area .
To run in a CMSSW area (10_X_Y or higher):

cmsrel CMSSW_10_4_0
cd CMSSW_10_4_0/src
cmsenv
git cms-init
git cms-addpkg DQM/SiStripMonitorClient
cd DQM/SiStripMonitorClient/scripts

Copy the 2 scripts: TkMaps_from_eos and Ext_functions_from_eos to your to your scripts/ directory.
Change the default output locations by modifying the tkrunspath and evedispath
Change the location of where the DQM file is temporarily copied by editing filepath

python TkMaps_from_eos 
--Run_type <Cosmics | ZeroBias | StreamExpress | StreamExpressCosmics> 
--Run_number <List of valid integers> 
--File_name  <This option allows for directly using an xrootd file >
--Output_loc <Location of eos output>
--ML <Boolean (default : False)>

Filename is not required and can be reconstructed in the downloadfromeos function in the Ext_functions_from_eos script.
The --ML flag requires the config file :

StripDQM_OfflineTkMap_Template_cfg_ML.py

Alongside the tracker maps this should create a list of attributes of all modules. The updated SiStripTrackerMapCreator.cc allows for numTopModules to be unsigned integer, hence passing a -1 will create a dump of all strip variables in topmodules.log.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.