Logo ROOT   6.14/05
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 
27 class TSelector;
28 class TCollection;
29 
31 public:
32 
35 
37 
38  const char* GetName() const;
39 
40  Bool_t Init(TSelector* sel);
41  Bool_t SetDataMembers(TSelector* sel) const;
42  Bool_t Merge(TObject* obj);
43 
44  TCollection* GetMap() const { return fMap; }
45 
46 private:
48  ClassDef(TOutputListSelectorDataMap, 1) // Converter from output list to TSelector data members
49 };
50 
51 
52 #endif
TOutputListSelectorDataMap(TSelector *sel=0)
Create a mapper between output list items and TSelector data members.
Bool_t Merge(TObject *obj)
Merge another TOutputListSelectorDataMap object, check consistency.
bool Bool_t
Definition: RtypesCore.h:59
Bool_t Init(TSelector *sel)
Initialize the data member <-> output list mapping from a selector.
static TOutputListSelectorDataMap * FindInList(TCollection *coll)
Find a TOutputListSelectorDataMap in a collection.
#define ClassDef(name, id)
Definition: Rtypes.h:320
Bool_t SetDataMembers(TSelector *sel) const
Given an output list, set the data members of a TSelector.
const char * GetName() const
Return static name for TOutputListSelectorDataMap objects.
Collection abstract base class.
Definition: TCollection.h:63
Set the selector&#39;s data members to the corresponding elements of the output list. ...
Mother of all ROOT objects.
Definition: TObject.h:37
A TSelector object is used by the TTree::Draw, TTree::Scan, TTree::Process to navigate in a TTree and...
Definition: TSelector.h:33