library: libTree #include "TSelectorScalar.h"

# TSelectorScalar

class description - source file - inheritance tree (.pdf)

## class TSelectorScalar : public TParameter<long long>

| Inheritance Chart:
`TParameter`
| <- | `TSelectorScalar` |

        public:

                           TSelectorScalar(const char* name = "", Long64_t val = 0)
                           TSelectorScalar(const TSelectorScalar&)
                           ~TSelectorScalar()
            static TClass* Class()
                      void Inc(Long_t n = 1)
           virtual TClass* IsA() const
                     Int_t Merge(TCollection* list)
          TSelectorScalar& operator=(const TSelectorScalar&)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

## Class Description

     TSelectorScalar

     Named scalar type, based on Long64_t, streamable, storable and
     mergable. Ideally to be used in tree selectors in the PROOF
     environment due to its merge fucntionality which allows a single
     merged value to be returned to the user.

void Inc(Long_t n)

     Increment scalar value by n.

Int_t Merge(TCollection *list)

     Merge scalars with scalars in the list. The scalar values are added.
     Returns the number of scalars that were in the list.

### Inline Functions

                        void ~TSelectorScalar()
             TSelectorScalar TSelectorScalar(const char* name = "", Long64_t val = 0)
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)
             TSelectorScalar TSelectorScalar(const TSelectorScalar&)
            TSelectorScalar& operator=(const TSelectorScalar&)

Author: Maarten Ballintijn 13/02/2005
Last update: root/tree:$Name: $:$Id: TSelectorScalar.cxx,v 1.1 2005/02/21 09:44:47 rdm Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *