AliPhysics
vAN-20151009 (0f35a5f)
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Macros
AliEmcalTriggerDecision.cxx
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
3
* *
4
* Author: The ALICE Off-line Project. *
5
* Contributors are mentioned in the code where appropriate. *
6
* *
7
* Permission to use, copy, modify and distribute this software and its *
8
* documentation strictly for non-commercial purposes is hereby granted *
9
* without fee, provided that the above copyright notice appears in all *
10
* copies and that both the copyright notice and this permission notice *
11
* appear in the supporting documentation. The authors make no claims *
12
* about the suitability of this software for any purpose. It is *
13
* provided "as is" without express or implied warranty. *
14
**************************************************************************/
15
/*
16
* Object storing the result of the EMCAL trigger decision. The result is appended to the
17
* input event and can be read out by consumer tasks.
18
*
19
* Author: Markus Fasel
20
*/
21
22
#include "
AliEmcalTriggerDecision.h
"
23
#include "
AliEmcalTriggerPatchInfo.h
"
24
25
ClassImp
(
AliEmcalTriggerDecision
)
26
27
//______________________________________________________________________________
28
AliEmcalTriggerDecision
::
AliEmcalTriggerDecision
():
29
TNamed(),
30
fMainPatch(NULL),
31
fSelectionCuts(NULL),
32
fAcceptedPatches()
33
{
34
/*
35
* Dummy constructor, needed for I/O, not to be used by the user
36
*/
37
fAcceptedPatches.SetOwner(kFALSE);
38
}
39
40
//______________________________________________________________________________
41
AliEmcalTriggerDecision::AliEmcalTriggerDecision
(
const
char
*name,
const
char
*
title
):
42
TNamed(name, title),
43
fMainPatch(NULL),
44
fSelectionCuts(NULL),
45
fAcceptedPatches()
46
{
47
/*
48
* The main (named) constructor. The decision object can be read out later by the consumer
49
* task according to the name.
50
*
51
* @param name: Name of the decision object
52
* @param title: Title of the decision object
53
*/
54
fAcceptedPatches
.SetOwner(kFALSE);
55
}
56
57
//______________________________________________________________________________
58
void
AliEmcalTriggerDecision::AddAcceptedPatch
(
AliEmcalTriggerPatchInfo
*
const
acceptedPatch){
59
/*
60
* Add accepted patch to the trigger decision
61
*
62
* @param patch: the accepted patch
63
*/
64
fAcceptedPatches
.Add(acceptedPatch);
65
}
title
const char * title
Definition:
MakeQAPdf.C:26
AliEmcalTriggerDecision::AliEmcalTriggerDecision
AliEmcalTriggerDecision()
ClassImp
ClassImp(AliEmcalTriggerDecision) AliEmcalTriggerDecision
Definition:
AliEmcalTriggerDecision.cxx:25
AliEmcalTriggerDecision::fAcceptedPatches
TList fAcceptedPatches
Definition:
AliEmcalTriggerDecision.h:32
AliEmcalTriggerPatchInfo
Main data structure storing all relevant information of EMCAL/DCAL trigger patches.
Definition:
AliEmcalTriggerPatchInfo.h:39
AliEmcalTriggerDecision.h
AliEmcalTriggerDecision
Definition:
AliEmcalTriggerDecision.h:14
AliEmcalTriggerDecision::AddAcceptedPatch
void AddAcceptedPatch(AliEmcalTriggerPatchInfo *const acceptedPatch)
Definition:
AliEmcalTriggerDecision.cxx:58
AliEmcalTriggerPatchInfo.h
Class to make array of trigger patch objects in AOD/ESD events.
PWG
EMCAL
AliEmcalTriggerDecision.cxx
Generated on Fri Oct 9 2015 16:21:06 for AliPhysics by
1.8.6