MCoincidenceFlagger Class Reference

Inheritance diagram for MCoincidenceFlagger:

QModule QBaseModule

List of all members.


Detailed Description

simple tool flag events with coinc. info (by now, just multiplicity)

Author:
Maria Martinez
  • Config example:
        module CoincidenceFlagger
        enable = true
        verbosity = info
        TimeWindow = 100
        CoincidenceType = Static
        TowerFile = detectorMap.txt
        MultiplicityVarName = CoinMult
        MultiplicityVarSave = true
        endmod
        
  • Parameters
    • TimeWindow [int = 100]: time window to be used for building coincidences
    • CoincidenceType [string = Static] Select the definition to be used to build coincidences. there are currently two allowed possibilities:
      • Static: will produce coincidences with a fixed length time window
      • Variable: will produce coincidences with a variable length time window
    • TowerFile [ string = Q_STRING_DEFAULT ] Name of the file containing detector map. If the name is "DB", then the map will be loaded from the database. In any other case it will be read from a file with that name. See documentation of QTower for a description of the detector map file format.
    • Range [double = 1e7] If there is a tower map, look for coincidences only in this range
    • MultiplicityVarName [ string = CoinMult ] Name of the variable containing multiplicity
    • MultipliticyVarSave [ bool = true ] If false, the variable will not be saved in the final file and you can only use within the sequence
    • EnergyThreshold [double = -1 ] Energy threshold (events with E<EnergyThreshold wont be taken into account)


Public Member Functions

 MCoincidenceFlagger (QSequence *s)
 constructor
 ~MCoincidenceFlagger ()
 destructor
void Init ()
 Init method.
QEventDo (QEvent *ev)
 Do method.
void Done ()
 Done method.

Private Attributes

QCoincidenceFillerfFiller
std::string fMultiplicityVarName
bool fMultiplicityVarSave
std::string fTowerFile
double fRange
double fEnergyThreshold
std::list< QCoincidenceFilter * > fFilters
std::map< int, int > fMult
int fIndex

Member Data Documentation

pointer to the class used to build coincidences

Referenced by Do(), Done(), and Init().

name of the multiplicity variable

Referenced by Do(), and Init().

if false, multiplicity variable wont be saved

Referenced by Do(), and Init().

std::string MCoincidenceFlagger::fTowerFile [private]

name of the file containing detector map description

Referenced by Done(), and Init().

double MCoincidenceFlagger::fRange [private]

range to look for coincidences if there is a map defined

Referenced by Done(), and Init().

energy threshold

Referenced by Do(), and Init().

list of filters to be applied to coincidences

std::map<int, int> MCoincidenceFlagger::fMult [private]

multiplicity flgas

Referenced by Do(), and Done().


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

Generated on Tue Nov 16 10:50:01 2010 for CUORE Software by  doxygen 1.5.6