CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
TAPD Class Reference

#include <TAPD.h>

Public Types

enum  outVar {
  iAPD, iAPDoPN, iAPDoPN0, iAPDoPN1,
  iTime, iAPDoAPD0, iAPDoAPD1, nOutVar
}
 

Public Member Functions

void addEntry (double, double, double, double, double, double, double)
 
void addEntry (double, double, double, double, double)
 
std::vector< double > get (int)
 
std::vector< double > getAPD ()
 
std::vector< double > getAPDoAPD0 ()
 
std::vector< double > getAPDoAPD1 ()
 
std::vector< double > getAPDoPN ()
 
std::vector< double > getAPDoPN0 ()
 
std::vector< double > getAPDoPN1 ()
 
std::vector< double > getTime ()
 
void init ()
 
void set2DAPDCut (const std::vector< double > &, const std::vector< double > &)
 
void set2DAPDoAPD0Cut (const std::vector< double > &, const std::vector< double > &)
 
void set2DAPDoAPD1Cut (const std::vector< double > &, const std::vector< double > &)
 
void set2DAPDoPN0Cut (const std::vector< double > &, const std::vector< double > &)
 
void set2DAPDoPN1Cut (const std::vector< double > &, const std::vector< double > &)
 
void set2DAPDoPNCut (const std::vector< double > &, const std::vector< double > &)
 
void set2DCut (int, const std::vector< double > &, const std::vector< double > &)
 
void set2DTimeCut (const std::vector< double > &, const std::vector< double > &)
 
void setAPDCut (double, double)
 
void setAPDoPN0Cut (double, double)
 
void setAPDoPN1Cut (double, double)
 
void setAPDoPNCut (double, double)
 
void setCut (int, double, double)
 
void setCut (int, const std::vector< int > &, const std::vector< double > &, const std::vector< double > &)
 
void setTimeCut (double, double)
 
 TAPD ()
 
virtual ~TAPD ()
 

Public Attributes

std::vector< double > _apdcuts [2][nOutVar]
 
std::vector< int > _cutvars [nOutVar]
 
TMommom [nOutVar]
 

Detailed Description

Definition at line 8 of file TAPD.h.

Member Enumeration Documentation

Enumerator
iAPD 
iAPDoPN 
iAPDoPN0 
iAPDoPN1 
iTime 
iAPDoAPD0 
iAPDoAPD1 
nOutVar 

Definition at line 14 of file TAPD.h.

Constructor & Destructor Documentation

TAPD::TAPD ( )

Definition at line 20 of file TAPD.cc.

TAPD::~TAPD ( )
virtual

Definition at line 27 of file TAPD.cc.

Member Function Documentation

void TAPD::addEntry ( double  apd,
double  pn,
double  pn0,
double  pn1,
double  time,
double  apd0,
double  apd1 
)

Definition at line 53 of file TAPD.cc.

void TAPD::addEntry ( double  apd,
double  pn,
double  pn0,
double  pn1,
double  time 
)

Definition at line 48 of file TAPD.cc.

std::vector< double > TAPD::get ( int  ivar)

Definition at line 214 of file TAPD.cc.

Referenced by Options.Options::__getitem__().

std::vector< double > TAPD::getAPD ( )

Definition at line 235 of file TAPD.cc.

std::vector< double > TAPD::getAPDoAPD0 ( )

Definition at line 240 of file TAPD.cc.

std::vector< double > TAPD::getAPDoAPD1 ( )

Definition at line 245 of file TAPD.cc.

std::vector< double > TAPD::getAPDoPN ( )

Definition at line 236 of file TAPD.cc.

std::vector< double > TAPD::getAPDoPN0 ( )

Definition at line 237 of file TAPD.cc.

std::vector< double > TAPD::getAPDoPN1 ( )

Definition at line 238 of file TAPD.cc.

std::vector< double > TAPD::getTime ( )

Definition at line 239 of file TAPD.cc.

void TAPD::init ( )

Definition at line 31 of file TAPD.cc.

void TAPD::set2DAPDCut ( const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 169 of file TAPD.cc.

void TAPD::set2DAPDoAPD0Cut ( const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 183 of file TAPD.cc.

void TAPD::set2DAPDoAPD1Cut ( const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 192 of file TAPD.cc.

void TAPD::set2DAPDoPN0Cut ( const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 175 of file TAPD.cc.

void TAPD::set2DAPDoPN1Cut ( const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 178 of file TAPD.cc.

void TAPD::set2DAPDoPNCut ( const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 172 of file TAPD.cc.

void TAPD::set2DCut ( int  ivar,
const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 157 of file TAPD.cc.

void TAPD::set2DTimeCut ( const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 202 of file TAPD.cc.

void TAPD::setAPDCut ( double  mean,
double  sig 
)

Definition at line 147 of file TAPD.cc.

void TAPD::setAPDoPN0Cut ( double  mean,
double  sig 
)

Definition at line 149 of file TAPD.cc.

void TAPD::setAPDoPN1Cut ( double  mean,
double  sig 
)

Definition at line 150 of file TAPD.cc.

void TAPD::setAPDoPNCut ( double  mean,
double  sig 
)

Definition at line 148 of file TAPD.cc.

void TAPD::setCut ( int  ivar,
double  mean,
double  sig 
)

Definition at line 96 of file TAPD.cc.

void TAPD::setCut ( int  ivar,
const std::vector< int > &  cutVars,
const std::vector< double > &  lowCut,
const std::vector< double > &  highCut 
)

Definition at line 117 of file TAPD.cc.

void TAPD::setTimeCut ( double  mean,
double  sig 
)

Definition at line 151 of file TAPD.cc.

Member Data Documentation

std::vector<double> TAPD::_apdcuts[2][nOutVar]

Definition at line 16 of file TAPD.h.

std::vector<int> TAPD::_cutvars[nOutVar]

Definition at line 17 of file TAPD.h.

TMom* TAPD::mom[nOutVar]

Definition at line 19 of file TAPD.h.