Logo ROOT  
Reference Guide
TOutputListSelectorDataMap.h
Go to the documentation of this file.
1// @(#)root/proofplayer:$Id$
2// Author: Axel Naumann 2010-06-09
3
4/*************************************************************************
5 * Copyright (C) 1995-2010, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TOutputListSelectorDataMap
13#define ROOT_TOutputListSelectorDataMap
14
15//////////////////////////////////////////////////////////////////////////
16// //
17// TOutputListSelectorDataMap //
18// //
19// Set the selector's data members to the corresponding elements of the //
20// output list. //
21// //
22//////////////////////////////////////////////////////////////////////////
23
24
25#include "TObject.h"
26
27class TSelector;
28class TCollection;
29
31public:
32
35
37
38 const char* GetName() const;
39
40 Bool_t Init(TSelector* sel);
42 Bool_t Merge(TObject* obj);
43
44 TCollection* GetMap() const { return fMap; }
45
46private:
48 ClassDef(TOutputListSelectorDataMap, 1) // Converter from output list to TSelector data members
49};
50
51
52#endif
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:326
Collection abstract base class.
Definition: TCollection.h:63
Mother of all ROOT objects.
Definition: TObject.h:37
Set the selector's data members to the corresponding elements of the output list.
Bool_t Merge(TObject *obj)
Merge another TOutputListSelectorDataMap object, check consistency.
static TOutputListSelectorDataMap * FindInList(TCollection *coll)
Find a TOutputListSelectorDataMap in a collection.
TOutputListSelectorDataMap(TSelector *sel=0)
Create a mapper between output list items and TSelector data members.
Bool_t SetDataMembers(TSelector *sel) const
Given an output list, set the data members of a TSelector.
Bool_t Init(TSelector *sel)
Initialize the data member <-> output list mapping from a selector.
const char * GetName() const
Return static name for TOutputListSelectorDataMap objects.
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition: TSelector.h:33