Giter Site home page Giter Site logo

reco1_validation_tool's Introduction

reco1_validation_tool

Macro for making the comparison of variables obtained with the GenRecoValidator analyzer

These macros can be used to produce plots comparing the varibles of two different simulation productions (usually one like reference and one to validate). These varibles are obtained through the larsoft GenRecoValidator analyzer (https://github.com/TeoGalli/duneana/tree/develop/duneana/GenRecoValidator). The files needed for comparison are 3: run_GenRecoValidator.fcl is the fcl to be given as input to launch the analyzer. RecoPlots.C marco to produce histograms of the analyzed varibles. Reco1CompareDataDistribution.C macro to get the graphical comparison of the varibles between two different production bench.

First, we obtain the varibles of interest using an analyzer lar -c run_GenRecoValidator.fcl -s <production_reco_file.root>.

We get analysisOutput.root, a file that contains a tree with the varibles we want to observe.

We use RecoPlots.C to get root files with only the histograms inside to compare:

root 'RecoPlots.C("<file_name.root>","<path/tree>")'

You get reco1_validation_histos.root, file that contains the histograms of the varibles.

You can use Reco1CompareDataDistribution.C to compare the obtained histograms against a reference output.

root 'Reco1CompareDataDistribution.C("<comparison_histogram_file.root>","<sample_histogram_file.root>")'

reco1_validation_tool's People

Contributors

teogalli 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.