/*! \file Station constants \version $Id: StationConstants.h 21997 2012-10-04 19:13:35Z maris $ */ #ifndef _sevt_StationConstants_h_ #define _sevt_StationConstants_h_ namespace sevt { namespace StationConstants { enum SignalComponent { /// total (shower and background) eTotal = 0, /// electrons and positrons from shower eElectron, /// gammas from shower ePhoton, /// mu+ and mu- (including signal from mu decay electrons) from shower eMuon, /// all hadrons from shower eHadron, /// electrons from muon decay eDecayElectron, /// delta rays eDeltaRay, /// electrons from background eBackgroundElectron, /// photons from background eBackgroundPhoton, /// muons from background eBackgroundMuon, /// hadrons from background eBackgroundHadron, /// signal from Cerenkov light generated in PMT face (includes all particle sources) ePMTGlassLight, /// signal from backscatter from surrounding earth (includes all particle sources) eAlbedo, /// signal from direct light (includes all particle sources). Same as 0'th bounce light eDirectLight, /// Signal from photons that bounced once (includes all particle sources) eFirstBounce, /// Signaltons that bounced twice (includes all particle sources) eSecondBounce, /// Signal from photons that bounced thrice (includes all particle sources) eThirdBounce, /// Estimated upper bound on signal (for saturation) eEstimatedUpperBound, /// Estimated lower bound on signal (for saturation) eEstimatedLowerBound, /// Estimated signal (for saturation) eEstimatedNormal, /// total FADC trace, with no saturation applied by FADC/baseline simulator eTotalNoSaturation, /// photons from muon decay in shower eShowerMuonDecayPhoton, /// electrons from muon decay in shower eShowerMuonDecayElectron, /// signal after subtracting direct light (includes all particle sources). eDirectLightSubtracted, /// User-defined source eMySource0 = 55, /// User-defined source eMySource1, /// User-defined source eMySource2, /// User-defined source eMySource3, /// User-defined source eMySource4, /// User-defined source eMySource5, /// User-defined source eMySource6, /// User-defined source eMySource7, /// User-defined source eMySource8, /// User-defined source eMySource9, // just to track size eLastSource = eMySource9 }; enum ReconstructionStatus { eCandidate = 0, eRejected, eSilent }; enum RejectionStatus { eNoRejection = 0, eLightning = (1 << 0), eBadCompress = (1 << 1), eOutOfTime = (1 << 2), eOffGrid = (1 << 3), eDenseArray = (1 << 4), eRandom = (1 << 5), // this is reserved for CDAS Random stations from Es eEngineeringArray = (1 << 6), eMCInnerRadiusCut = (1 << 7), eNoRecData = (1 << 8), eLonely = (1 << 9), eNoTrigger = (1 << 10), eErrorCode = (1 << 11), eNoCalibData = (1 << 12), eNoGPSData = (1 << 13), eBadCalib = (1 << 14), eNotDenseArray = (1 << 15), // when only dense stations are kept in MC eTOTd = (1 << 16), eNumRejectionStatusBits = 17 }; enum RiseTimeRejectionCode { eLowSignal = 0x01, // Signal lower than minimum eNotCandidate = 0x02, // Station not a candidate eLowGainSaturated = 0x04, // Station low-gain saturated eNotInRing = 0x08 // Station either too close or too far from core }; } } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. SEvent/Station.o -k" // End: