Coder Social home page Coder Social logo

hgcal-linkmapping's Introduction

HGCal link mapping studies

Installation

  • If you don't have python and the relevant packages installed please run: source install_packages.sh. Note the size of the installation is around 4GB. Then each time you start a new session run: source start_mapping_env.sh

  • If you have python and can install your own packages the relevant ones are:

    • numpy
    • matplotlib
    • pandas
    • pyyaml
    • scikit-learn
    • ROOT
    • root_numpy

main.py

Main file containing the option to run all functions:

  • plot_lpGBTLoads, plot_ModuleLoads, : Processes MC event data and determines the average number of TCs, or words, per lpGBT
  • study_mapping, : Find the optimised way of assigning lpGBTs to bundles

Run using the config file config/default.yaml

process.py

Contains the helper functions required for each function in main.py

extract_data.cxx

Prepares the input for process.py. Takes a CMSSW output root file as input and produces a .csv file.

rotate.py and rotate.cxx

Python and C++ implementations of the mapping between 120 degree HGCal sectors in (u,v) coordinates.

fluctuation.py

Takes as input a choice of lpgbt bundles, and bins the trigger cell data event by event There are several plotting scripts that investigate the impact of truncation on the number of trigger cells. Run using the config file config/fluctuation.yaml

hgcal-linkmapping's People

Contributors

mhassans avatar snwebb avatar

Watchers

 avatar

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.