Marlin  01.17.01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Enumerations | Functions | Variables
marlin Namespace Reference

Simple event selector processor. More...

Classes

class  CCCollection
 handles information about LCIO collections needed by MarlinSteerCheck More...
 
class  CCProcessor
 handles information about marlin processors and their collections needed by MarlinSteerCheck More...
 
class  CMProcessor
 This singleton class contains an instance of every available marlin processor type. More...
 
class  DataSourceProcessor
 Base class for data source handlers that can read arbitrary non-LCIO input files and create LCIO events and run headers from that. More...
 
class  ErrorOfSigma
 Small helper class that computes the lower and upper error of sigma assuming a normal distribution, i.e. More...
 
class  EventModifier
 Tagging interface for processors that modify the LCIO event. More...
 
class  EventSelector
 
class  ParseException
 ParseException used for parse errors, e.g. More...
 
class  SkipEventException
 SkipEventException used to skip the current event in Processor::processEvent. More...
 
class  StopProcessingException
 StopProcessingException used to stop the current proccessing of events and call Processor::end(). More...
 
class  RewindDataFilesException
 RewindDataFilesException used to stop the current proccessing of events, rewind to the first event and restart the processing. More...
 
class  Global
 Simple global class for Marlin. More...
 
class  IParser
 Interface for a parser of a steering file to be used with marlin. More...
 
class  IRecoParticleFactory
 Interface for a factory class that creates a ReconstructedParticle from an MCParticle. More...
 
class  LCIOOutputProcessor
 Default output processor. More...
 
struct  Expression
 Helper struct for LogicalExpression. More...
 
class  Tokenizer
 Helper class for LogicalExpressions that splits the expression into subexpressions - needs to be apllied iteratively. More...
 
class  LogicalExpressions
 Helper class that holds named boolean values and named conditions that are expressions of these values and computes the corresponding truth values. More...
 
class  MarlinSteerCheck
 this class is a Marlin Steering File consistency check Tool. More...
 
class  Parser
 Simple parser class for Marlin. More...
 
class  LCTokenizer
 Helper class for Parser. More...
 
class  Processor
 Base class for Marlin processors. More...
 
class  ProcessorEventSeeder
 Processor event seeder - provides independent pseudo-randomly generated seeds for registered processors on an event by event basis. More...
 
class  ProcessorLoader
 Processor loader - loads shared libraries with marlin processors. More...
 
class  ProcessorMgr
 Processor manager singleton class. More...
 
class  ProcessorParameter
 Class that holds a steering variable for a marlin processor - automatically created by Processor::registerProcessorParameter() More...
 
class  ProcessorParameter_t
 Templated implementation of ProcessorParameter - automatically created by Processor::registerProcessorParameter() More...
 
class  SimpleFastMCProcessor
 A simple smearing "Monte Carlo" processor. More...
 
class  StdHepReader
 Reads binary StdHep files. More...
 
class  StringParameters
 Simple parameters class for Marlin. More...
 
class  TestProcessor
 Simple processor for testing. More...
 
class  XMLFixCollTypes
 Internal helper class that creates a new xml steering file with the parameter attributes lcioInType and lcioOutType for the processors as defined by the Processor subclasses. More...
 
class  XMLParser
 XML parser for Marlin steering files. More...
 
struct  Cmp
 
struct  ProcMgrStopProcessing
 

Typedefs

typedef std::set< std::stringsSet
 
typedef std::vector
< CCCollection * > 
ColVec
 
typedef std::map< std::string,
std::string
ssMap
 
typedef std::map< std::string,
ssMap
sssMap
 
typedef std::map< std::string,
ColVec
sColVecMap
 
typedef std::map< std::string,
sColVecMap
ssColVecMap
 
typedef std::map< std::string,
bool
sbMap
 
typedef std::map< std::string,
std::shared_ptr
< StringParameters > > 
sSPMap
 
typedef std::map< std::string,
std::map< std::string,
std::string > > 
CommandLineParametersMap
 
typedef std::vector
< CCProcessor * > 
ProcVec
 
typedef std::map< std::string,
std::shared_ptr
< StringParameters > > 
StringParametersMap
 
typedef std::map< std::string,
ProcessorParameter * > 
ProcParamMap
 
typedef std::map< std::string,
std::string
LCIOTypeMap
 
typedef std::map< const
std::string, Processor * > 
ProcessorMap
 
typedef std::list< Processor * > ProcessorList
 
typedef std::map< const
std::string, int > 
SkippedEventMap
 
typedef std::map< Processor
*, std::pair< double, int > > 
TimeMap
 

Enumerations

enum  FastMCParticleType {
  UNKNOWN = 0, CHARGED = 1, PHOTON = 2, NEUTRAL_HADRON = 3,
  NEUTRINO = 4
}
 Enumeration that defines integer constants for various particle types used in the fast Monte Carlo. More...
 

Functions

std::ostreamoperator<< (std::ostream &s, Expression &e)
 
std::ostreamoperator<< (std::ostream &s, ProcessorParameter &p)
 
void toStream (std::ostream &s, int i, int N)
 Helper function for printing parameter vectors. More...
 
void toStream (std::ostream &s, float f, int N)
 
void toStream (std::ostream &s, double d, int N)
 
void toStream (std::ostream &s, const std::string &str, int N)
 
void toStream (std::ostream &s, bool b, int N)
 
template<class T >
std::ostreamtoStream (std::ostream &s, const std::vector< T > &v, int N)
 
template<class T1 >
void setProcessorParameter (ProcessorParameter_t< T1 > *procParam, StringParameters *params)
 
int intVal (const std::string &str)
 
float floatVal (const std::string &str)
 
std::ostreamoperator<< (std::ostream &s, StringParameters &p)
 
template<>
void setProcessorParameter< int > (ProcessorParameter_t< int > *procParam, StringParameters *params)
 
template<>
void setProcessorParameter< float > (ProcessorParameter_t< float > *procParam, StringParameters *params)
 
template<>
void setProcessorParameter< double > (ProcessorParameter_t< double > *procParam, StringParameters *params)
 
template<>
void setProcessorParameter< std::string > (ProcessorParameter_t< std::string > *procParam, StringParameters *params)
 
template<>
void setProcessorParameter< IntVec > (ProcessorParameter_t< IntVec > *procParam, StringParameters *params)
 
template<>
void setProcessorParameter< FloatVec > (ProcessorParameter_t< FloatVec > *procParam, StringParameters *params)
 
template<>
void setProcessorParameter< StringVec > (ProcessorParameter_t< StringVec > *procParam, StringParameters *params)
 
template<>
void setProcessorParameter< bool > (ProcessorParameter_t< bool > *procParam, StringParameters *params)
 
template<class T >
bool convert (std::string input, T &value)
 

Variables

LCIOOutputProcessor anLCIOOutputProcessor
 
static clock_t start_t
 
static clock_t end_t
 
static TimeMap tMap
 
streamlog::logstream my_cout
 
SimpleFastMCProcessor aSimpleFastMCProcessor
 
StdHepReader aStdHepReader
 
TestProcessor aTestProcessor
 

Detailed Description

Simple event selector processor.

Returns true if the given event was specified in the EvenList parameter.

Output

returns true or false

Parameters
EventList,:pairs of: EventNumber RunNumber
Author
F. Gaede, DESY
Version
$Id:$

Typedef Documentation

Definition at line 25 of file CCProcessor.h.

Definition at line 10 of file IParser.h.

Definition at line 43 of file Processor.h.

Definition at line 26 of file ProcessorMgr.h.

Definition at line 23 of file ProcessorMgr.h.

Definition at line 40 of file Processor.h.

Definition at line 48 of file MarlinSteerCheck.h.

Definition at line 9 of file CMProcessor.h.

Definition at line 28 of file CCProcessor.h.

Definition at line 27 of file ProcessorMgr.h.

Definition at line 29 of file CCProcessor.h.

Definition at line 22 of file CCProcessor.h.

Definition at line 26 of file CCProcessor.h.

Definition at line 11 of file CMProcessor.h.

Definition at line 27 of file CCProcessor.h.

Definition at line 15 of file Parser.h.

typedef std::map< Processor* , std::pair< double , int > > marlin::TimeMap

Definition at line 24 of file ProcessorMgr.cc.

Enumeration Type Documentation

Enumeration that defines integer constants for various particle types used in the fast Monte Carlo.

Author
F. Gaede, DESY
Version
Id:
FastMCParticleType.h,v 1.2 2005-10-11 12:56:28 gaede Exp
Enumerator
UNKNOWN 
CHARGED 
PHOTON 
NEUTRAL_HADRON 
NEUTRINO 

Definition at line 15 of file FastMCParticleType.h.

Function Documentation

template<class T >
bool marlin::convert ( std::string  input,
T &  value 
)

Definition at line 107 of file StringParameters.cc.

References std::istringstream::eof(), and std::setbase().

Referenced by floatVal(), and intVal().

float marlin::floatVal ( const std::string str)
int marlin::intVal ( const std::string str)
std::ostream & marlin::operator<< ( std::ostream s,
Expression &  e 
)
std::ostream& marlin::operator<< ( std::ostream s,
ProcessorParameter &  p 
)
std::ostream & marlin::operator<< ( std::ostream s,
StringParameters &  p 
)
template<class T1 >
void marlin::setProcessorParameter ( ProcessorParameter_t< T1 > *  procParam,
StringParameters *  params 
)
template<>
void marlin::setProcessorParameter< bool > ( ProcessorParameter_t< bool > *  procParam,
StringParameters *  params 
)
template<>
void marlin::setProcessorParameter< double > ( ProcessorParameter_t< double > *  procParam,
StringParameters *  params 
)

Definition at line 38 of file ProcessorParameter.cc.

template<>
void marlin::setProcessorParameter< float > ( ProcessorParameter_t< float > *  procParam,
StringParameters *  params 
)

Definition at line 31 of file ProcessorParameter.cc.

template<>
void marlin::setProcessorParameter< FloatVec > ( ProcessorParameter_t< FloatVec > *  procParam,
StringParameters *  params 
)

Definition at line 60 of file ProcessorParameter.cc.

template<>
void marlin::setProcessorParameter< int > ( ProcessorParameter_t< int > *  procParam,
StringParameters *  params 
)

Definition at line 24 of file ProcessorParameter.cc.

template<>
void marlin::setProcessorParameter< IntVec > ( ProcessorParameter_t< IntVec > *  procParam,
StringParameters *  params 
)

Definition at line 52 of file ProcessorParameter.cc.

template<>
void marlin::setProcessorParameter< std::string > ( ProcessorParameter_t< std::string > *  procParam,
StringParameters *  params 
)

Definition at line 45 of file ProcessorParameter.cc.

template<>
void marlin::setProcessorParameter< StringVec > ( ProcessorParameter_t< StringVec > *  procParam,
StringParameters *  params 
)

Definition at line 68 of file ProcessorParameter.cc.

void marlin::toStream ( std::ostream s,
int  i,
int  N 
)

Helper function for printing parameter vectors.

Definition at line 17 of file ProcessorParameter.cc.

Referenced by marlin::ProcessorParameter_t< T >::defaultValue(), and marlin::ProcessorParameter_t< T >::value().

void marlin::toStream ( std::ostream s,
float  f,
int  N 
)

Definition at line 18 of file ProcessorParameter.cc.

void marlin::toStream ( std::ostream s,
double  d,
int  N 
)

Definition at line 19 of file ProcessorParameter.cc.

void marlin::toStream ( std::ostream s,
const std::string str,
int  N 
)

Definition at line 20 of file ProcessorParameter.cc.

void marlin::toStream ( std::ostream s,
bool  b,
int  N 
)

Definition at line 21 of file ProcessorParameter.cc.

template<class T >
std::ostream& marlin::toStream ( std::ostream s,
const std::vector< T > &  v,
int  N 
)

Definition at line 86 of file ProcessorParameter.h.

References std::vector< T >::begin(), and std::vector< T >::end().

Variable Documentation

LCIOOutputProcessor marlin::anLCIOOutputProcessor

Definition at line 21 of file LCIOOutputProcessor.cc.

SimpleFastMCProcessor marlin::aSimpleFastMCProcessor

Definition at line 43 of file SimpleFastMCProcessor.cc.

StdHepReader marlin::aStdHepReader

Definition at line 17 of file StdHepReader.cc.

TestProcessor marlin::aTestProcessor

Definition at line 15 of file TestProcessor.cc.

clock_t marlin::end_t
static
streamlog::logstream marlin::my_cout
clock_t marlin::start_t
static
TimeMap marlin::tMap
static