We had a brief introduction to python, about creating a dictionary, in this page it is mentioned how to do this. We have to parse the CablingInfo text file. Extract from the file all the information we need. Organize all the information, as a first exercise into a dictionary . the structure is just as a first implementation (later we will try a class) .

The text below shows how to stract cabling information for Fed id 164 like DcuId and DetId. It is just needed to write the code in text editor (i like emacs) and run it with python.

- MarthaCeciliaDuranOsuna - 13 May 2014

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2014-05-14 - MarthaCeciliaDuranOsuna
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback