![]() |
AliRoot Core
v5-06-30 (35d6c57)
|
Macro to view and save the trigger chamber efficiency map calculated during reconstruction. More...
#include "Riostream.h"
#include "TGrid.h"
#include "TString.h"
#include "TFile.h"
#include "TH1.h"
#include "AliMUONCDB.h"
#include "AliMUONCalibrationData.h"
#include "AliMUONTriggerEfficiencyCells.h"
#include "AliMUONTriggerChamberEfficiency.h"
#include "AliCDBManager.h"
#include "AliCDBRunRange.h"
Go to the source code of this file.
Functions | |
void | MUONTriggerChamberEfficiency (TString inputFile="./MUON.TriggerEfficiencyMap.root", TString outputCDB="", Int_t firstRun=0, Int_t lastRun=AliCDBRunRange::Infinity()) |
void | ShowOCDBmap (Int_t runNumber=0, TString specificCDB="", TString ocdbPath="local://$ALICE_ROOT/OCDB", TString runType="Full") |
void | FillHisto (TH1 *histo, Int_t nevents) |
void | BuildDefaultMap (TString outFilename="/tmp/defTrigChEff.root", Double_t globalValue=1., Int_t nevents=100000) |
void | CompleteEfficiency (TString effFileWithHoles, TString effFileCompatible, TString outFilename) |
Macro to view and save the trigger chamber efficiency map calculated during reconstruction.
Efficiency map can be made available for next simulation.
Definition in file MUONTriggerChamberEfficiency.C.
void BuildDefaultMap | ( | TString | outFilename = "/tmp/defTrigChEff.root" , |
Double_t | globalValue = 1. , |
||
Int_t | nevents = 100000 |
||
) |
Build default map (all boards with the same chosen value)
Definition at line 123 of file MUONTriggerChamberEfficiency.C.
void CompleteEfficiency | ( | TString | effFileWithHoles, |
TString | effFileCompatible, | ||
TString | outFilename | ||
) |
When a local board or RPC is missing, the efficiency of other boards cannot be calculated If an efficiency file of the same period is available, it could be used to fill the missing information
Definition at line 200 of file MUONTriggerChamberEfficiency.C.
void FillHisto | ( | TH1 * | histo, |
Int_t | nevents | ||
) |
Fill histogram with global value
Definition at line 111 of file MUONTriggerChamberEfficiency.C.
Referenced by BuildDefaultMap().
void MUONTriggerChamberEfficiency | ( | TString | inputFile = "./MUON.TriggerEfficiencyMap.root" , |
TString | outputCDB = "" , |
||
Int_t | firstRun = 0 , |
||
Int_t | lastRun = AliCDBRunRange::Infinity() |
||
) |
inputFile | (default "./MUON.TriggerEfficiencyMaps.root") File with the numerator and denominator histos for efficiency calculation (It is the output of the PWG3/muon/AliAnalysisTaskTrigChEff analysis |
outputCDB | (default "") add the map on the specified CDB |
firstRun | (default 0) first run of validity for CDB object |
lastRun | (default AliCDBRunRange::Infinity()) last run of validity for CDB Object |
Definition at line 47 of file MUONTriggerChamberEfficiency.C.
void ShowOCDBmap | ( | Int_t | runNumber = 0 , |
TString | specificCDB = "" , |
||
TString | ocdbPath = "local://$ALICE_ROOT/OCDB" , |
||
TString | runType = "Full" |
||
) |
runNumber | (default 0) run number |
specificCDB | (default "") specific CDB for trigger efficiency |
ocdbPath(default | "local://$ALICE_ROOT/OCDB") path to OCDB |
Definition at line 84 of file MUONTriggerChamberEfficiency.C.