agheata [Thu, 19 Nov 2009 09:03:50 +0000 (09:03 +0000)]
Added AliAnalysisManager::SetExternalLoop() to trigger analysis execution via an external loop. Works only if the input tree in StartAnalysis is NULL.
The way to use this is:
...
//No input handler - the input container has to be defined and have the object type
AliAnalysisDataContainer *cinput =
mgr->CreateContainer("cinput_myTask", AliESDEvent::Class(), AliAnalysisManager::kInputContainer);
...
mgr->SetExternalLoop();
mgr->StartAnalysis("local");
// ... you get a printout informing that you control the event loop
// Loop over input events
...
while (inputEvent) {
cinput->SetData(inputEvent);
mgr->ExecAnalysis();
}
mgr->Terminate()
richterm [Thu, 19 Nov 2009 00:49:23 +0000 (00:49 +0000)]
extending trigger agent and it's HLTOUT handler
- handle forwarded input trigger decisions of the global decision
- implement support for the data types kAliHLTDataTypeTriggerDecision and
kAliHLTDataTypeGlobalTrigger
richterm [Thu, 19 Nov 2009 00:12:08 +0000 (00:12 +0000)]
implementing the short info option which includes a TNames array instead of input objects and trigger decisions
adding the option -include-input=both to include both the objects and short info
bugfix in the parsing of the -include-input option
There is currently a problem in the streaming of the arrays of the GlobalTriggerDecision which causes the
short info not to show up in the extracted object when there are no trigger decisions. Furthermore only the
the fisrt object of the input object array is there after extracting (in mode 'both'). The second one which
is the CTPData object is missing. Under investigation.
richterm [Thu, 19 Nov 2009 00:04:33 +0000 (00:04 +0000)]
adding some additional protection in the Print() function
input objects might not be known, especially when they are defined in component
libraries not necessarily loaded
agheata [Wed, 18 Nov 2009 16:25:48 +0000 (16:25 +0000)]
Added possibility to stream selected AOD events to a different AOD file. To do this inside a task:
1. Make sure an AOD handler is connected to the current analysis manager before creating the task.
2. Add in the task constructor or in LocalInit():
AliAODHandler *aodH = (AliAODHandler*)((AliAnalysisManager::GetAnalysisManager())->GetOutputEventHandler());
if (!aodH) Fatal("UserCreateOutputObjects", "No AOD handler. Aborting.");
aodH->AddFilteredAOD("AliAOD.Muons.root", "MuonEvents"); // for example
The pointer to the extension should not be backed-up upon adding the AOD extension, but this can be done in CreateOutputObjects()
3. Check the selection criteria in UserExec(). If fulfilled, select the event:
AliAODExtension *extMuons = aodH->GetFilteredAOD("AliAOD.Muons.root");
extMuons->SelectEvent();
policheh [Wed, 18 Nov 2009 14:55:59 +0000 (14:55 +0000)]
PHOSBCMda.cxx (Dead Channel Finder) update:
- working for all 3 PHOS modules;
- histograms for all modules stored into the single root file;
- use Fitterv3 to estimate the quality of the samples.
cvetan [Wed, 18 Nov 2009 14:50:38 +0000 (14:50 +0000)]
Moving the trigger ocdb entry from ITS to TRIGGER folder. In sync with the new TRIGGER pp running within Shuttle (Annalisa). Small fix in the reconstruction in order to fetch the trigger entries from the new location. Should be revised by loading only entries that are needed.
abercuci [Wed, 18 Nov 2009 09:23:41 +0000 (09:23 +0000)]
- bug fix in tracklet fit due to moving away from TLinearFitter
- bug fix in cluster error usage
- added various protections in tracklet fitting procedure
gconesab [Tue, 17 Nov 2009 18:08:30 +0000 (18:08 +0000)]
After last changes in the reader default setting for filling input of detectors is kFALSE, need to switch on the detector you want in the configuration. Updated analysis train wagon
martinez [Tue, 17 Nov 2009 16:26:49 +0000 (16:26 +0000)]
AliAnalysisTaskMuonTrackingEff: removal of warnings, passing the AliCheckDetElementResponse object as a member object. RunMuonTrackingEffAnalysis.C and MuonTrackingEffAnalysis.C: modified in accordance. AddTaskMUONTrackingEfficiency.C: macro returning an AliAnalysisTaskMuonTrackingEff, to be used in the PWG1 preformance train (Matthieu)
richterm [Tue, 17 Nov 2009 14:51:20 +0000 (14:51 +0000)]
adding more options to control the size of the GlobalTriggerDecision.
Currently, the bottleneck seems to be the streaming of the output object,
it is much slower if many input objects have been added. New options:
-forward-input forwards the input object instead of adding them
-include-input=none do not include anything in the decisionobject
-include-input=short only include a short TNames array which describes the
objects
-include-input=objects include all the objects, this is the current behavior
and remains the default
hristov [Tue, 17 Nov 2009 12:20:55 +0000 (12:20 +0000)]
Major update of the CMake compilation:
- automatic generation of the class lists based on *.pkg files
- integration of the code checker
- creation of the binaries and the library in separate subdirectories
- improvements in the CMake macros (ALICEmacro, FindROOT)
More changes will come after this set is exposed to the users.
gconesab [Tue, 17 Nov 2009 12:11:56 +0000 (12:11 +0000)]
Changes in frame required to work without AODs output in case of usage of AliAnaCalorimeterQA
- AliAnaCalorimeterQA: More independent of the reader, no gets ESDs or AODs directly from
input event.
- AliMCAnalysisUtils: New check on the overlap of photons in the clusters. Input for CheckOrigin
methods is now either a single label (more contributing to the cluster) or the list of labels stored
in calo clusters.