PAASS
Software suite to Acquire and Analyze Data from Pixie16
Anl1471Processor Class Reference

Class to process ANL experiment related events. More...

#include <Anl1471Processor.hpp>

Inheritance diagram for Anl1471Processor:
Collaboration diagram for Anl1471Processor:

Public Member Functions

 Anl1471Processor ()
 
 ~Anl1471Processor ()
 
virtual void DeclarePlots (void)
 
 Anl1471Processor (const std::vector< std::string > &typeList, const double &res, const double &offset, const double &numStarts)
 
virtual bool Process (RawEvent &event)
 
- Public Member Functions inherited from EventProcessor
 EventProcessor ()
 
 EventProcessor (int offset, int range, std::string name)
 
virtual ~EventProcessor ()
 
virtual const std::set< std::string > & GetTypes (void) const
 
virtual bool DidProcess (void) const
 
virtual bool HasEvent (void) const
 
virtual bool Init (RawEvent &event)
 
virtual bool PreProcess (RawEvent &event)
 
void EndProcess (void)
 
std::string GetName (void) const
 

Private Attributes

std::string fileName_
 
std::vector< std::string > fileNames_
 

Additional Inherited Members

- Protected Member Functions inherited from EventProcessor
virtual void plot (int dammId, double val1, double val2=-1, double val3=-1, const char *name="h")
 Implementation of the plot command to interface with the DAMM routines. More...
 
virtual void DeclareHistogram1D (int dammId, int xSize, const char *title)
 Declares a 1D histogram calls the C++ wrapper for DAMM. More...
 
virtual void DeclareHistogram2D (int dammId, int xSize, int ySize, const char *title)
 Declares a 2D histogram calls the C++ wrapper for DAMM. More...
 
- Protected Attributes inherited from EventProcessor
std::string name
 Name of the Processor. More...
 
std::set< std::string > associatedTypes
 Set of associated types for Processor. More...
 
bool initDone
 True if the initialization has finished. More...
 
bool didProcess
 True if the process finished. More...
 
std::map< std::string, const DetectorSummary * > sumMap
 Map of associated detector summary. More...
 
Plots histo
 

Detailed Description

Class to process ANL experiment related events.

Definition at line 12 of file Anl1471Processor.hpp.

Constructor & Destructor Documentation

§ Anl1471Processor() [1/2]

Anl1471Processor::Anl1471Processor ( )

Default Constructor

Definition at line 108 of file Anl1471Processor.cpp.

Here is the call graph for this function:

§ ~Anl1471Processor()

Anl1471Processor::~Anl1471Processor ( )

Default Destructor

Definition at line 137 of file Anl1471Processor.cpp.

§ Anl1471Processor() [2/2]

Anl1471Processor::Anl1471Processor ( const std::vector< std::string > &  typeList,
const double &  res,
const double &  offset,
const double &  numStarts 
)

Constructor taking a list of detector types as an argument

Parameters
[in]typeList: the list of bar types that are in the analysis
[in]res: The resolution of the DAMM histograms
[in]offset: The offset of the DAMM histograms
[in]numStarts: number of starts in the analysis

Member Function Documentation

§ DeclarePlots()

void Anl1471Processor::DeclarePlots ( void  )
virtual

Declare the plots used in the analysis

Reimplemented from EventProcessor.

Definition at line 92 of file Anl1471Processor.cpp.

§ Process()

bool Anl1471Processor::Process ( RawEvent event)
virtual

Process the event

Parameters
[in]event: the event to process
Returns
Returns true if the processing was successful

Reimplemented from EventProcessor.

Definition at line 143 of file Anl1471Processor.cpp.

Here is the call graph for this function:

Field Documentation

§ fileName_

std::string Anl1471Processor::fileName_
private

Definition at line 36 of file Anl1471Processor.hpp.

§ fileNames_

std::vector<std::string> Anl1471Processor::fileNames_
private

Definition at line 37 of file Anl1471Processor.hpp.


The documentation for this class was generated from the following files: