PamCut: CommonDefs.h File Reference

# CommonDefs.h File Reference

Go to the source code of this file.

## Classes
class | SimpleMatrix< T >
| A simple matrix class. More...
## Enumerations
enum | DETECTORCODE { TRK = 1, CALO = 2, TOF = 4, AC = 8, TRIG = 16, ORB = 32, ALL = 63, CALO_L1 = 64 }
## Variables
const int | CUTOK = -1
| The implementations of PamCut::Check() must return this value if the event satisfy the cut.
const int | TOFNPADLAYER [6] = { 8, 6, 2, 2, 3, 3 }

## Detailed Description

A header file with all the common definitions for the PamCut framework.

Definition in file CommonDefs.h.

## Enumeration Type Documentation

enum DETECTORCODE

The values for each detector correspond to a binary code associated to that detector. These can be arithmetically added to create a binary code for a set of detectors.

Enumerator:

  TRK | Code for Tracker.
  CALO | Code for Calorimeter level2.
  TOF | Code for ToF.
  AC | Code for AntiCoincidence.
  TRIG | Code for Trigger.
  ORB | Code for Orbital Info.
  ALL | Sum of all the above codes.
  CALO_L1 | Code for Calorimeter level1.

Definition at line 21 of file CommonDefs.h.

## Variable Documentation

const int CUTOK = -1

The implementations of PamCut::Check() must return this value if the event satisfy the cut.

Definition at line 15 of file CommonDefs.h.

Referenced by PamCutCollection::ApplyCut(), PamCut::ApplyCut(), BlindCutCollection::ApplyCut(), TrkSigmaDeflCut::Check(), TrkRunValCut::Check(), TrkRigRangeCut::Check(), TrkRigGeoCut::Check(), TrkRigCut::Check(), TrkPhSinCut::Check(), TrkNucleiZCut::Check(), TrkIonCut::Check(), TrkIdCut::Check(), TrkHitQualCut::Check(), TrkGeomCut::Check(), TrkDedxHCut::Check(), TrkChi2QualCut::Check(), TrkChi2DeflCut::Check(), TrkCalQualCut::Check(), RigFillCut::Check(), TofTopS1Cut::Check(), TofQualCut::Check(), TofPatternCut::Check(), TofNucleiZCut::Check(), TofDedxS1Cut::Check(), TofBetaRigCut::Check(), TofBetaRangeCut::Check(), TofBetaCut::Check(), PamCutCollection::Check(), TrgConfCut::Check(), PktQualCut::Check(), OBTQualCut::Check(), LTQualCut::Check(), LTGeoFillCut::Check(), GeoFieldCut::Check(), EvRateS11Cut::Check(), DataQualCut::Check(), AbsTimeCut::Check(), BlindCutCollection::Check(), CaloTrackCut::Check(), CaloTrackChi2Cut::Check(), CaloNucleiZCut::Check(), CaloNotIntCut::Check(), CaloNHitCut::Check(), CaloIonCut::Check(), CaloGeomCut::Check(), CaloCrossCut::Check(), CATCut::Check(), and CARDCut::Check().

TOFNPADLAYER = { 8, 6, 2, 2, 3, 3 }

The number of pads in each ToF layer. S11 corresponds to element 0, S12 to element 1 and so on.

Definition at line 35 of file CommonDefs.h.

Referenced by TofDedxS1Cut::Check().