AliPhysics  3337bb0 (3337bb0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliOfflineTrigger Class Reference

This class provides fucntionality for OFFLINE Trigger raw data selection and consistency checks. More...

#include <AliOfflineTrigger.h>

Inheritance diagram for AliOfflineTrigger:

Public Member Functions

 AliOfflineTrigger (const char *triggerName, Int_t timeOut=30, Int_t cacheSize=500000000)
 
virtual ~AliOfflineTrigger ()
 
void DumpGIDRAWReader (const char *rawFile="raw.root")
 
void DumpGIDRAWTree (const char *rawFile="raw.root")
 
void DumpGIDESD (const char *chinput="AliESDs.root", const char *trigger="1", const char *choutput="gidesd.list")
 
void TestDiffGIDList ()
 
void AddESDAlias (const char *aliasName, const char *aliasValue)
 
void SetTriggerAlias (TTree *tree, const char *trigger)
 
void ExtractSelected (const char *rawList, const char *triggerList, const char *outputName, Long_t maxCounter, Int_t verbose=1)
 
void LoadTriggerList (const char *triggerList)
 
Int_t LoadMapFromRawData (const char *rawFile="raw.root", Int_t verbose=1)
 
void ExtractSelected (const char *rawFile="raw.root", Int_t verbose=1)
 

Static Public Member Functions

static TTreeMakeDiffTree (const char *refTree, const char *friendTrees)
 

Public Attributes

std::map< ULong64_t, TStringfTrgGIDChunkName
 
std::map< ULong64_t, TStringfTrgGIDTrigger
 GID -> ChunkName. More...
 
std::map< ULong64_t, UInt_tfTrgGIDEventNr
 GID -> Trigger type. More...
 
std::map< ULong64_t, UInt_tfTrgGIDTimeStamp
 GID -> EventNumber. More...
 
Int_t fCounterFileOutput
 triger map GID -> TimeStamp map More...
 
Int_t fCounterEventOutput
 input file counter More...
 
Int_t fCounterFileInput
 input event counter More...
 
Int_t fCounterEventInput
 input file counter More...
 
TString fRawName
 input event counter More...
 
TFile * fRawTriggerFile
 name of the output file More...
 
TTreefRawTriggerTree
 ! pointer to ouput raw trigger files More...
 
std::map< ULong64_t, TStringfRAWGIDChunkName
 ! pointer to output raw trigger tree More...
 
std::map< ULong64_t, UInt_tfRAWGIDEventNr
 GID -> ChunkName. More...
 
std::map< UInt_t, ULong64_t > fRAWEventNrGID
 GID -> EventNumber. More...
 
std::map< ULong64_t, UInt_tfRAWGIDTimeStamp
 EventNumber -> GID. More...
 
Int_t fDefaultTimeOut
 triger map GID -> TimeStamp map More...
 
Int_t fDefaultTreeCache
 
TObjArrayfESDTriggerList
 

Detailed Description

This class provides fucntionality for OFFLINE Trigger raw data selection and consistency checks.

This class provides fucntionality for OFFLINE Trigger raw data selection and conistency checks.

Author
Marian Ivanov - maria.nosp@m.n.iv.nosp@m.anov@.nosp@m.cern.nosp@m..ch
Mesut Arslandok, Mikolaj - older versions (rawmerege.C)

Related task: https://alice.its.cern.ch/jira/browse/PWGPP-6 and PWGPP-134

Author
Marian Ivanov - maria.nosp@m.n.iv.nosp@m.anov@.nosp@m.cern.nosp@m..ch
Mesut Arslandok, Mikolaj - older versions ($ALICE_PHYSICS/../src/PWGPP/rawmerge/rawmerge.C)

Related task: https://alice.its.cern.ch/jira/browse/PWGPP-6 and PWGPP-134

Definition at line 15 of file AliOfflineTrigger.h.

Constructor & Destructor Documentation

AliOfflineTrigger::AliOfflineTrigger ( const char *  triggerName,
Int_t  timeOut = 30,
Int_t  cacheSize = 500000000 
)

Definition at line 91 of file AliOfflineTrigger.cxx.

virtual AliOfflineTrigger::~AliOfflineTrigger ( )
inlinevirtual

Definition at line 18 of file AliOfflineTrigger.h.

Member Function Documentation

void AliOfflineTrigger::AddESDAlias ( const char *  aliasName,
const char *  aliasValue 
)

Definition at line 119 of file AliOfflineTrigger.cxx.

void AliOfflineTrigger::DumpGIDESD ( const char *  chinput = "AliESDs.root",
const char *  trigger = "1",
const char *  choutput = "gidesd.list" 
)

Definition at line 298 of file AliOfflineTrigger.cxx.

void AliOfflineTrigger::DumpGIDRAWReader ( const char *  rawFile = "raw.root")

Definition at line 136 of file AliOfflineTrigger.cxx.

void AliOfflineTrigger::DumpGIDRAWTree ( const char *  rawFile = "raw.root")

Definition at line 182 of file AliOfflineTrigger.cxx.

void AliOfflineTrigger::ExtractSelected ( const char *  rawList,
const char *  triggerList,
const char *  outputName,
Long_t  maxCounter,
Int_t  verbose = 1 
)

Definition at line 631 of file AliOfflineTrigger.cxx.

void AliOfflineTrigger::ExtractSelected ( const char *  rawFile = "raw.root",
Int_t  verbose = 1 
)

Definition at line 556 of file AliOfflineTrigger.cxx.

Int_t AliOfflineTrigger::LoadMapFromRawData ( const char *  rawFile = "raw.root",
Int_t  verbose = 1 
)

Definition at line 478 of file AliOfflineTrigger.cxx.

Referenced by ExtractSelected().

void AliOfflineTrigger::LoadTriggerList ( const char *  triggerList)

Definition at line 428 of file AliOfflineTrigger.cxx.

Referenced by ExtractSelected().

TTree * AliOfflineTrigger::MakeDiffTree ( const char *  refTree,
const char *  friendTrees 
)
static

Definition at line 404 of file AliOfflineTrigger.cxx.

void AliOfflineTrigger::SetTriggerAlias ( TTree tree,
const char *  trigger 
)

Definition at line 126 of file AliOfflineTrigger.cxx.

Referenced by DumpGIDESD().

void AliOfflineTrigger::TestDiffGIDList ( )

Definition at line 364 of file AliOfflineTrigger.cxx.

Member Data Documentation

Int_t AliOfflineTrigger::fCounterEventInput

input file counter

Definition at line 42 of file AliOfflineTrigger.h.

Int_t AliOfflineTrigger::fCounterEventOutput

input file counter

Definition at line 40 of file AliOfflineTrigger.h.

Int_t AliOfflineTrigger::fCounterFileInput

input event counter

Definition at line 41 of file AliOfflineTrigger.h.

Referenced by DumpGIDRAWTree(), and ExtractSelected().

Int_t AliOfflineTrigger::fCounterFileOutput

triger map GID -> TimeStamp map

Definition at line 39 of file AliOfflineTrigger.h.

Referenced by ExtractSelected().

Int_t AliOfflineTrigger::fDefaultTimeOut

triger map GID -> TimeStamp map

Definition at line 51 of file AliOfflineTrigger.h.

Referenced by ExtractSelected().

Int_t AliOfflineTrigger::fDefaultTreeCache

Definition at line 52 of file AliOfflineTrigger.h.

Referenced by DumpGIDESD(), DumpGIDRAWTree(), and LoadMapFromRawData().

TObjArray* AliOfflineTrigger::fESDTriggerList

Definition at line 53 of file AliOfflineTrigger.h.

Referenced by AddESDAlias(), and SetTriggerAlias().

std::map<UInt_t,ULong64_t> AliOfflineTrigger::fRAWEventNrGID

GID -> EventNumber.

Definition at line 48 of file AliOfflineTrigger.h.

Referenced by ExtractSelected(), and LoadMapFromRawData().

std::map<ULong64_t, TString> AliOfflineTrigger::fRAWGIDChunkName

! pointer to output raw trigger tree

Definition at line 46 of file AliOfflineTrigger.h.

Referenced by LoadMapFromRawData().

std::map<ULong64_t, UInt_t> AliOfflineTrigger::fRAWGIDEventNr

GID -> ChunkName.

Definition at line 47 of file AliOfflineTrigger.h.

Referenced by LoadMapFromRawData().

std::map<ULong64_t, UInt_t> AliOfflineTrigger::fRAWGIDTimeStamp

EventNumber -> GID.

Definition at line 49 of file AliOfflineTrigger.h.

Referenced by LoadMapFromRawData().

TString AliOfflineTrigger::fRawName

input event counter

Definition at line 43 of file AliOfflineTrigger.h.

TFile* AliOfflineTrigger::fRawTriggerFile

name of the output file

Definition at line 44 of file AliOfflineTrigger.h.

Referenced by ExtractSelected().

TTree* AliOfflineTrigger::fRawTriggerTree

! pointer to ouput raw trigger files

Definition at line 45 of file AliOfflineTrigger.h.

Referenced by ExtractSelected().

std::map<ULong64_t, TString> AliOfflineTrigger::fTrgGIDChunkName

Definition at line 34 of file AliOfflineTrigger.h.

Referenced by LoadTriggerList().

std::map<ULong64_t, UInt_t> AliOfflineTrigger::fTrgGIDEventNr

GID -> Trigger type.

Definition at line 36 of file AliOfflineTrigger.h.

Referenced by ExtractSelected(), LoadMapFromRawData(), and LoadTriggerList().

std::map<ULong64_t, UInt_t> AliOfflineTrigger::fTrgGIDTimeStamp

GID -> EventNumber.

Definition at line 37 of file AliOfflineTrigger.h.

Referenced by ExtractSelected(), LoadMapFromRawData(), and LoadTriggerList().

std::map<ULong64_t, TString> AliOfflineTrigger::fTrgGIDTrigger

GID -> ChunkName.

Definition at line 35 of file AliOfflineTrigger.h.

Referenced by LoadTriggerList().


The documentation for this class was generated from the following files: