/usr/include/root/RooNameSet.h is in libroot-roofit-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | /*****************************************************************************
* Project: RooFit *
* Package: RooFitCore *
* File: $Id: RooNameSet.h,v 1.16 2007/05/11 09:11:30 verkerke Exp $
* Authors: *
* WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
* DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
* *
* Copyright (c) 2000-2005, Regents of the University of California *
* and Stanford University. All rights reserved. *
* *
* Redistribution and use in source and binary forms, *
* with or without modification, are permitted according to the terms *
* listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
*****************************************************************************/
#ifndef ROO_NAME_SET
#define ROO_NAME_SET
#include "TString.h"
#include "TObject.h"
#include "RooPrintable.h"
class RooArgSet ;
class RooNameSet : public TObject, public RooPrintable {
public:
// Constructors, assignment etc.
RooNameSet();
RooNameSet(const RooArgSet& argSet);
RooNameSet(const RooNameSet& other) ;
virtual TObject* Clone(const char*) const { return new RooNameSet(*this) ; }
virtual ~RooNameSet() ;
void refill(const RooArgSet& argSet) ;
RooArgSet* select(const RooArgSet& list) const ;
Bool_t operator==(const RooNameSet& other) const;
RooNameSet& operator=(const RooNameSet&) ;
Bool_t operator<(const RooNameSet& other) const ;
virtual void printName(std::ostream& os) const ;
virtual void printTitle(std::ostream& os) const ;
virtual void printClassName(std::ostream& os) const ;
virtual void printValue(std::ostream& os) const ;
inline virtual void Print(Option_t *options= 0) const {
printStream(defaultPrintStream(),defaultPrintContents(options),defaultPrintStyle(options));
}
void setNameList(const char* givenList) ;
const char* content() const { return _nameList ? _nameList : ""; }
private:
Int_t _len ;
char* _nameList ; //[_len]
protected:
void extendBuffer(Int_t inc) ;
static void strdup(Int_t& dstlen, char* &dstbuf, const char* str);
ClassDef(RooNameSet,1) // A sterile version of RooArgSet, containing only the names of the contained RooAbsArgs
};
#endif
|