Updated TRD trigger code. Now the trigger code can run:
- in the simulation step, through the central trigger interface, to
produce and store "tracklets" and to produce and analyze tracks, with
inputs to the central trigger
- in the reconstruction step: if the tracklets have already been produced
in the simulation step (by the trigger option), then only the tracks are
produced and stored in the ESD event; if not, the trigger start by
producing the tracklets, etc.
CVSve corrected a problem in our digitizer when merging, it was
merging always the same file, it did not open the background file
Gustavo
: ----------------------------------------------------------------------
hristov [Thu, 30 Mar 2006 13:06:07 +0000 (13:06 +0000)]
New EMCAL raw stream class based on a new AliAltroRawStream class. As soon as the altro mapping is ready it will committed as well. For the moment we use fake mapping
hristov [Thu, 30 Mar 2006 13:03:58 +0000 (13:03 +0000)]
New PHOS raw stream class based on a new AliAltroRawStream class. As soon as the altro mapping is ready it will committed as well. For the moment we use fake mapping
cvetan [Thu, 30 Mar 2006 12:58:02 +0000 (12:58 +0000)]
New version of AliAltroRawStream. Removed all the TPC realted assumptions so that it can be used for TPC,FMD,PHOS and EMCAL. For the moment we keep the possibility to read dummy trailers (still used in PHOS and EMCAL)
hristov [Thu, 30 Mar 2006 11:50:54 +0000 (11:50 +0000)]
Possibility to calculate the DCA between two ESD track. The V0 and cascade vertexes/vertexers use this new funcionality and are now part of STEER (Yu.Belikov)
hristov [Wed, 29 Mar 2006 17:35:20 +0000 (17:35 +0000)]
Modifications to the trigger classes to have I/O. I
also made changes in AliRunLoader and AliSimulation.
the idea is to create a new file (Trigger.root) to store the CTP
information (one AliCentralTrigger object and a tree for the trigger class
mask event by event). I can change to galice.root if people think it is
better.
Each trigger detector object (with inputs) is store in the digits file in
the Event folder.
ZDC.Digits.root -\
|
|-Event0 -\
| |-TreeD
| \-Trigger
|
\-Event1-\
|-TreeD
\-Trigger
added to AliRunLoader the following stuff:
AliCentralTrigger *fCTrigger; //! pointer to CEntral Trigger Processor
static const TString fgkDefaultTriggerFileName;//default file name with
trigger
static const TString fgkTriggerContainerName; //default name of the
trigger container (TREE) name - TreeCT
static const TString fgkTriggerBranchName; //default name of the
branch containing the trigger
I also find an small error in AliRunLoader I think. In AliRunLoader::Open
when the session is open the method just print a warnnig and return the
loader but not update the internal pointer to the loader, so if after that
you ask with AliRunLoader::GetRunLoader() the aswer is 0x0.
So I change :
AliWarningClass("Session is already opened and mounted in demanded folder");
return result;
by
AliWarningClass("Session is already opened and mounted in demanded folder");
if (!fgRunLoader) fgRunLoader = result; //PH get access from any place
return result;
to retrive the global class mask you can do:
rl->LoadTrigger();
AliCentralTrigger *aCTP = rl->GetTrigger();
rl->GetEvent( i );
cout << endl << "Event " << i
<< " Global Trigger Class Mask: 0x" << hex << aCTP->GetClassMask()
<< endl;
rl->UnloadTrigger();