AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MUONReCalcGlobalTrigger.C File Reference

Re-calculate regional/global trigger response from local response. More...

#include "AliCDBManager.h"
#include "AliMpCDB.h"
#include "AliMUONCalibrationData.h"
#include "AliMUONTriggerCrateStore.h"
#include "AliMUONGlobalTriggerBoard.h"
#include "AliMUONDataInterface.h"
#include "AliMUONLocalTrigger.h"
#include "AliMUONVTriggerStore.h"
#include "AliMUONTriggerCrate.h"
#include "AliMUONTriggerCrateConfig.h"
#include "AliMUONGlobalCrateConfig.h"
#include "AliMUONRegionalTriggerBoard.h"
#include "AliMUONRegionalTriggerConfig.h"
#include "AliMUONLocalTriggerBoard.h"
#include "AliMUONVCalibParam.h"
#include "AliMUONTriggerBoard.h"
#include <TArrayS.h>
#include <TObjArray.h>
#include <TMath.h>
Include dependency graph for MUONReCalcGlobalTrigger.C:

Go to the source code of this file.

Functions

void PrintPattBin (Short_t s)
 
void PrintGloBin (UShort_t s)
 
Bool_t ReCalcGlobalTrigger (TIter *nextCrates)
 
void MUONReCalcGlobalTrigger (const char *input)
 

Variables

UShort_t locResp [235]
 
AliMUONCalibrationDatacalibData
 
AliMUONTriggerCrateStorefCrates
 
AliMUONGlobalTriggerBoardfGlobalTriggerBoard
 
AliMUONRegionalTriggerConfigregionalConfig
 
AliMUONGlobalCrateConfigglobalConfig
 
TIterator * cratesIterator
 
Int_t debug
 

Detailed Description

Re-calculate regional/global trigger response from local response.

Basic usage is :

MUONReCalcGlobalTrigger("path_to_reconstruction_galice");

Starting from local responses the macro will re-calculate regional and global response and print-out the global trigger decision. It is used for comissioning data with cosmics where the global trigger was not written in the raw stream. The purpose is (for the future) to compare the re-calculated answer with the global trigger decision returned by the CTP.

Author
Bogdan Vulpescu

Definition in file MUONReCalcGlobalTrigger.C.

Function Documentation

void MUONReCalcGlobalTrigger ( const char *  input)

create array of local triggers from the raw data, run the re-calculation and print-out the results

Definition at line 199 of file MUONReCalcGlobalTrigger.C.

void PrintGloBin ( UShort_t  s)

binary print-out of global trigger decision

Definition at line 70 of file MUONReCalcGlobalTrigger.C.

Referenced by ReCalcGlobalTrigger().

void PrintPattBin ( Short_t  s)

binary print-out of the strip patterns

Definition at line 56 of file MUONReCalcGlobalTrigger.C.

Referenced by MUONReCalcGlobalTrigger().

Bool_t ReCalcGlobalTrigger ( TIter *  nextCrates)

re-calculate regional/global decision from array of local triggers

Definition at line 83 of file MUONReCalcGlobalTrigger.C.

Referenced by MUONReCalcGlobalTrigger().

Variable Documentation

TIterator* cratesIterator

Definition at line 51 of file MUONReCalcGlobalTrigger.C.

Referenced by MUONReCalcGlobalTrigger().

Definition at line 46 of file MUONReCalcGlobalTrigger.C.

Referenced by MUONReCalcGlobalTrigger().

AliMUONGlobalTriggerBoard* fGlobalTriggerBoard

Definition at line 47 of file MUONReCalcGlobalTrigger.C.

Referenced by MUONReCalcGlobalTrigger().

UShort_t locResp[235]

Definition at line 43 of file MUONReCalcGlobalTrigger.C.

Referenced by MUONReCalcGlobalTrigger(), and ReCalcGlobalTrigger().