Exemplo n.º 1
0
def run_from_termainl() -> GeneralAnalysisHistsManager:
    """ Driver function for running the mixed event systematics analysis. """
    # Basic setup
    # Quiet down pachyderm
    logging.getLogger("pachyderm").setLevel(logging.INFO)
    # Quiet down reaction_plane_fit
    logging.getLogger("reaction_plane_fit").setLevel(logging.INFO)
    # Turn off stats box
    ROOT.gStyle.SetOptStat(0)
    # Run in batch mode
    ROOT.gROOT.SetBatch(True)

    # Setup and run the analysis
    manager: GeneralAnalysisHistsManager = analysis_manager.run_helper(
        manager_class=GeneralAnalysisHistsManager,
        task_name="GeneralAnalysisHistsManager",
    )

    # Quiet down IPython.
    logging.getLogger("parso").setLevel(logging.INFO)
    # Embed IPython to allow for some additional exploration
    IPython.embed()

    # Return the manager for convenience.
    return manager
Exemplo n.º 2
0
def run_from_terminal() -> EventPlaneResolutionManager:
    """ Driver function for calculating the event plane resolution. """
    # Basic setup
    # Quiet down some pachyderm modules
    logging.getLogger("pachyderm.generic_config").setLevel(logging.INFO)
    logging.getLogger("pachyderm.yaml").setLevel(logging.INFO)
    logging.getLogger("pachyderm.histogram").setLevel(logging.INFO)

    # Setup and run the analysis
    manager: EventPlaneResolutionManager = analysis_manager.run_helper(
        manager_class=EventPlaneResolutionManager,
        task_name="Event plane resolution",
    )

    # Return it for convenience.
    return manager
Exemplo n.º 3
0
def run_STAR_jet_analysis_from_terminal() -> STARJetAnalysisManager:
    """ Driver function for running the STAR jet analysis. """
    # Basic setup
    # Quiet down some pachyderm modules
    logging.getLogger("pachyderm.generic_config").setLevel(logging.INFO)
    logging.getLogger("pachyderm.histogram").setLevel(logging.INFO)

    # Setup and run the analysis
    manager: STARJetAnalysisManager = analysis_manager.run_helper(
        manager_class=STARJetAnalysisManager,
        task_name="STARJetAnalysisManager",
        description="STAR Jet Analysis Manager",
    )

    # Return it for convenience.
    return manager
def run_from_terminal() -> STARResponseManager:
    """ Driver function for running the STAR response matrix analysis. """
    # Basic setup
    # Quiet down some pachyderm modules
    logging.getLogger("pachyderm.generic_config").setLevel(logging.INFO)
    logging.getLogger("pachyderm.histogram").setLevel(logging.INFO)
    # Run in batch mode
    ROOT.gROOT.SetBatch(True)
    # Turn off stats box
    ROOT.gStyle.SetOptStat(0)

    # Setup and run the analysis
    manager: STARResponseManager = analysis_manager.run_helper(
        manager_class = STARResponseManager, task_name = "Response matrix",
    )

    # Return it for convenience.
    return manager
def run_from_terminal() -> GlauberPathLengthManager:
    """ Driver function for running the Glauber path length toy model analysis. """
    # Basic setup
    # Quiet down some pachyderm modules
    logging.getLogger("pachyderm.generic_config").setLevel(logging.INFO)
    logging.getLogger("pachyderm.yaml").setLevel(logging.INFO)
    logging.getLogger("pachyderm.histogram").setLevel(logging.INFO)
    # Run in batch mode
    ROOT.gROOT.SetBatch(True)
    # Turn off stats box
    ROOT.gStyle.SetOptStat(0)

    # Setup and run the analysis
    manager: GlauberPathLengthManager = analysis_manager.run_helper(
        manager_class = GlauberPathLengthManager, task_name = "Glauber path length toy model analysis manager",
    )

    # Return it for convenience.
    return manager
Exemplo n.º 6
0
def run_mixed_event_systematics_from_terminal() -> CorrelationsZVertexManager:
    """ Driver function for running the mixed event systematics analysis. """
    # Basic setup
    # Quiet down pachyderm
    logging.getLogger("pachyderm").setLevel(logging.INFO)
    # Quiet down reaction_plane_fit
    logging.getLogger("reaction_plane_fit").setLevel(logging.INFO)
    # Turn off stats box
    ROOT.gStyle.SetOptStat(0)

    # Setup and run the analysis
    manager: CorrelationsZVertexManager = analysis_manager.run_helper(
        manager_class = CorrelationsZVertexManager, task_name = "CorrelationsZVertex",
    )

    # Quiet down IPython.
    logging.getLogger("parso").setLevel(logging.INFO)
    # Embed IPython to allow for some additional exploration
    IPython.embed()

    # Return the manager for convenience.
    return manager