AliRoot Core  edcc906 (edcc906)
AliGRPPreprocessor Class Reference

#include <AliGRPPreprocessor.h>

Inheritance diagram for AliGRPPreprocessor:

Public Types

enum  DP {
  kL3Polarity = 0, kDipolePolarity, kL3Current, kDipoleCurrent,
  kL3bsf17H1, kL3bsf17H2, kL3bsf17H3, kL3bsf17Temperature,
  kL3bsf4H1, kL3bsf4H2, kL3bsf4H3, kL3bsf4Temperature,
  kL3bkf17H1, kL3bkf17H2, kL3bkf17H3, kL3bkf17Temperature,
  kL3bkf4H1, kL3bkf4H2, kL3bkf4H3, kL3bkf4Temperature,
  kL3bsf13H1, kL3bsf13H2, kL3bsf13H3, kL3bsf13Temperature,
  kL3bsf8H1, kL3bsf8H2, kL3bsf8H3, kL3bsf8Temperature,
  kL3bkf13H1, kL3bkf13H2, kL3bkf13H3, kL3bkf13Temperature,
  kL3bkf8H1, kL3bkf8H2, kL3bkf8H3, kL3bkf8Temperature,
  kDipoleInsideH1, kDipoleInsideH2, kDipoleInsideH3, kDipoleInsideTemperature,
  kDipoleOutsideH1, kDipoleOutsideH2, kDipoleOutsideH3, kDipoleOutsideTemperature,
  kCavernTemperature, kL3Polarity_Redu, kDipolePolarity_Redu, kL3Current_Redu,
  kDipoleCurrent_Redu, kCavernTemperature_Redu, kCavernAtmosPressure, kSurfaceAtmosPressure,
  kCavernAtmosPressure2, kCavernAtmosPressure_Redu, kSurfaceAtmosPressure_Redu, kCavernAtmosPressure2_Redu
}
 
enum  DPHallProbes {
  khpL3bsf17H1 =0, khpL3bsf17H2, khpL3bsf17H3, khpL3bsf17Temperature,
  khpL3bsf4H1, khpL3bsf4H2, khpL3bsf4H3, khpL3bsf4Temperature,
  khpL3bkf17H1, khpL3bkf17H2, khpL3bkf17H3, khpL3bkf17Temperature,
  khpL3bkf4H1, khpL3bkf4H2, khpL3bkf4H3, khpL3bkf4Temperature,
  khpL3bsf13H1, khpL3bsf13H2, khpL3bsf13H3, khpL3bsf13Temperature,
  khpL3bsf8H1, khpL3bsf8H2, khpL3bsf8H3, khpL3bsf8Temperature,
  khpL3bkf13H1, khpL3bkf13H2, khpL3bkf13H3, khpL3bkf13Temperature,
  khpL3bkf8H1, khpL3bkf8H2, khpL3bkf8H3, khpL3bkf8Temperature,
  khpDipoleInsideH1, khpDipoleInsideH2, khpDipoleInsideH3, khpDipoleInsideTemperature,
  khpDipoleOutsideH1, khpDipoleOutsideH2, khpDipoleOutsideH3, khpDipoleOutsideTemperature
}
 
- Public Types inherited from AliPreprocessor
enum  { kDAQ = 0, kDCS, kHLT, kDQM }
 

Public Member Functions

 AliGRPPreprocessor (AliShuttleInterface *shuttle)
 
virtual ~AliGRPPreprocessor ()
 
- Public Member Functions inherited from AliPreprocessor
 AliPreprocessor (const char *detector, AliShuttleInterface *shuttle)
 
virtual ~AliPreprocessor ()
 
virtual Bool_t ProcessDCS ()
 
Bool_t ProcessRunType ()
 

Static Public Member Functions

static Int_t ReceivePromptRecoParameters (UInt_t run, const char *dbHost, Int_t dbPort, const char *dbName, const char *user, const char *password, const char *cdbRoot, TString &gdc)
 
static THashList * ProcessAliases (const char *aliasesFile)
 

Protected Member Functions

virtual void Initialize (Int_t run, UInt_t startTime, UInt_t endTime)
 
virtual UInt_t Process (TMap *valueSet)
 
Int_t ProcessDaqLB (AliGRPObject *grpobj)
 
UInt_t ProcessDaqFxs ()
 
UInt_t ProcessDqmFxs ()
 
UInt_t ProcessSPDMeanVertex ()
 
UInt_t ProcessLHCData (AliGRPObject *grpobj)
 
UInt_t ProcessDcsFxs (TString partition="", TString detector="")
 
Int_t ProcessDcsDPs (TMap *valueSet, AliGRPObject *grpobj)
 
Int_t ProcessL3DPs (const TMap *valueSet, AliGRPObject *grpobj)
 
Int_t ProcessDipoleDPs (const TMap *valueSet, AliGRPObject *grpobj)
 
Int_t ProcessEnvDPs (TMap *valueSet, AliGRPObject *grpobj)
 
Int_t ProcessHPDPs (const TMap *valueSet, AliGRPObject *grpobj)
 
AliDCSSensorArrayGetPressureMap (TMap *dcsAliasMap)
 
AliSplineFitGetSplineFit (const TObjArray *array, const TString &stringID)
 
TString ProcessChar (const TObjArray *array)
 
Char_t ProcessBool (const TObjArray *array, Bool_t &change)
 
Float_t ProcessInt (const TObjArray *array)
 
Float_t ProcessUInt (const TObjArray *array)
 
Float_t * ProcessFloatAll (const TObjArray *array)
 
Float_t * ProcessFloatAllMagnet (const TObjArray *array, Int_t indexDP, Bool_t &isZero)
 
Bool_t GetDAQStartEndTimeOk () const
 
void SetDAQStartEndTimeOk (Bool_t daqStartEndTimeOk)
 
Float_t ProcessEnergy (TObjArray *array, Double_t timeStart)
 
AliLHCClockPhaseProcessLHCClockPhase (TObjArray *beam1phase, TObjArray *beam2phase, Double_t timeEnd)
 
TString ParseBeamTypeString (TString beamType, Int_t iBeamType)
 
Bool_t CheckFileRecords (const char *fileName) const
 
- Protected Member Functions inherited from AliPreprocessor
Bool_t Store (const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData, Int_t validityStart=0, Bool_t validityInfinite=kFALSE)
 
Bool_t StoreReferenceData (const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData)
 
Bool_t StoreReferenceFile (const char *localFile, const char *gridFileName)
 
Bool_t StoreRunMetadataFile (const char *localFile, const char *gridFileName)
 
const char * GetFile (Int_t system, const char *id, const char *source)
 
TList * GetFileSources (Int_t system, const char *id=0)
 
const char * GetForeignFile (const char *detector, Int_t system, const char *id, const char *source)
 
TList * GetForeignFileSources (const char *detector, Int_t system, const char *id)
 
TList * GetFileIDs (Int_t system, const char *source)
 
const char * GetRunParameter (const char *param)
 
AliCDBEntryGetFromOCDB (const char *pathLevel2, const char *pathLevel3)
 
AliCDBEntryGetGeometryFromOCDB ()
 
const char * GetRunType ()
 
Bool_t GetHLTStatus ()
 
const char * GetTriggerConfiguration ()
 
const char * GetCTPTimeParams ()
 
const char * GetTriggerDetectorMask ()
 
void Log (const char *message, UInt_t level=3)
 
UInt_t GetStartTimeDCSQuery ()
 
UInt_t GetEndTimeDCSQuery ()
 
void AddRunType (const char *runType)
 
void SendToML (const char *)
 
TString * GetLTUConfig (const char *det)
 

Private Member Functions

 AliGRPPreprocessor (const AliGRPPreprocessor &)
 
AliGRPPreprocessoroperator= (const AliGRPPreprocessor &)
 

Private Attributes

AliDCSSensorArrayfPressure
 number of redundant dcs dps More...
 
Float_t fmaxFloat
 
Float_t fminFloat
 
Double_t fmaxDouble
 
Double_t fminDouble
 
Int_t fmaxInt
 
Int_t fminInt
 
UInt_t fmaxUInt
 
UInt_t fminUInt
 
Bool_t fdaqStartEndTimeOk
 
TObjArrayffailedDPs
 

Static Private Attributes

static const Int_t fgknDAQLbPar = 7
 
static const Int_t fgknDCSDP = 56
 number of DAQ lb parameters for PHYSICS runs More...
 
static const char * fgkDCSDataPoints []
 number of dcs dps More...
 
static const char * fgkDCSDataPointsHallProbes []
 names of dcs dps More...
 
static const Int_t fgknDCSDPHallProbes = 40
 names of dcs dps for Hall Probes More...
 
static const Int_t fgknDCSDP_Redu = 8
 number of Hall Probes More...
 
static const Int_t fgknLHCDP = 9
 
static const char * fgkLHCDataPoints []
 number of lhc dps More...
 
static const Int_t fgkDCSDPHallTopShift = 4
 names of lhc dps More...
 
static const Int_t fgkDCSDPNonWorking = 2
 shift from the top to the Hall Probes from the list of DCS DPs names More...
 

Additional Inherited Members

- Protected Attributes inherited from AliPreprocessor
Int_t fRun
 
UInt_t fStartTime
 
UInt_t fEndTime
 

Detailed Description

Definition at line 34 of file AliGRPPreprocessor.h.

Member Enumeration Documentation

Enumerator
kL3Polarity 
kDipolePolarity 
kL3Current 
kDipoleCurrent 
kL3bsf17H1 
kL3bsf17H2 
kL3bsf17H3 
kL3bsf17Temperature 
kL3bsf4H1 
kL3bsf4H2 
kL3bsf4H3 
kL3bsf4Temperature 
kL3bkf17H1 
kL3bkf17H2 
kL3bkf17H3 
kL3bkf17Temperature 
kL3bkf4H1 
kL3bkf4H2 
kL3bkf4H3 
kL3bkf4Temperature 
kL3bsf13H1 
kL3bsf13H2 
kL3bsf13H3 
kL3bsf13Temperature 
kL3bsf8H1 
kL3bsf8H2 
kL3bsf8H3 
kL3bsf8Temperature 
kL3bkf13H1 
kL3bkf13H2 
kL3bkf13H3 
kL3bkf13Temperature 
kL3bkf8H1 
kL3bkf8H2 
kL3bkf8H3 
kL3bkf8Temperature 
kDipoleInsideH1 
kDipoleInsideH2 
kDipoleInsideH3 
kDipoleInsideTemperature 
kDipoleOutsideH1 
kDipoleOutsideH2 
kDipoleOutsideH3 
kDipoleOutsideTemperature 
kCavernTemperature 
kL3Polarity_Redu 
kDipolePolarity_Redu 
kL3Current_Redu 
kDipoleCurrent_Redu 
kCavernTemperature_Redu 
kCavernAtmosPressure 
kSurfaceAtmosPressure 
kCavernAtmosPressure2 
kCavernAtmosPressure_Redu 
kSurfaceAtmosPressure_Redu 
kCavernAtmosPressure2_Redu 

Definition at line 37 of file AliGRPPreprocessor.h.

Enumerator
khpL3bsf17H1 
khpL3bsf17H2 
khpL3bsf17H3 
khpL3bsf17Temperature 
khpL3bsf4H1 
khpL3bsf4H2 
khpL3bsf4H3 
khpL3bsf4Temperature 
khpL3bkf17H1 
khpL3bkf17H2 
khpL3bkf17H3 
khpL3bkf17Temperature 
khpL3bkf4H1 
khpL3bkf4H2 
khpL3bkf4H3 
khpL3bkf4Temperature 
khpL3bsf13H1 
khpL3bsf13H2 
khpL3bsf13H3 
khpL3bsf13Temperature 
khpL3bsf8H1 
khpL3bsf8H2 
khpL3bsf8H3 
khpL3bsf8Temperature 
khpL3bkf13H1 
khpL3bkf13H2 
khpL3bkf13H3 
khpL3bkf13Temperature 
khpL3bkf8H1 
khpL3bkf8H2 
khpL3bkf8H3 
khpL3bkf8Temperature 
khpDipoleInsideH1 
khpDipoleInsideH2 
khpDipoleInsideH3 
khpDipoleInsideTemperature 
khpDipoleOutsideH1 
khpDipoleOutsideH2 
khpDipoleOutsideH3 
khpDipoleOutsideTemperature 

Definition at line 56 of file AliGRPPreprocessor.h.

Constructor & Destructor Documentation

AliGRPPreprocessor::AliGRPPreprocessor ( AliShuttleInterface shuttle)

Definition at line 229 of file AliGRPPreprocessor.cxx.

AliGRPPreprocessor::~AliGRPPreprocessor ( )
virtual

Definition at line 274 of file AliGRPPreprocessor.cxx.

AliGRPPreprocessor::AliGRPPreprocessor ( const AliGRPPreprocessor )
private

Member Function Documentation

Bool_t AliGRPPreprocessor::CheckFileRecords ( const char *  fileName) const
protected

Definition at line 3571 of file AliGRPPreprocessor.cxx.

Referenced by ProcessDaqFxs(), and SetDAQStartEndTimeOk().

Bool_t AliGRPPreprocessor::GetDAQStartEndTimeOk ( ) const
inlineprotected

Definition at line 110 of file AliGRPPreprocessor.h.

AliDCSSensorArray * AliGRPPreprocessor::GetPressureMap ( TMap *  dcsAliasMap)
protected

Definition at line 3117 of file AliGRPPreprocessor.cxx.

Referenced by ProcessEnvDPs().

AliSplineFit * AliGRPPreprocessor::GetSplineFit ( const TObjArray array,
const TString &  stringID 
)
protected

Definition at line 2401 of file AliGRPPreprocessor.cxx.

void AliGRPPreprocessor::Initialize ( Int_t  run,
UInt_t  startTime,
UInt_t  endTime 
)
protectedvirtual

Reimplemented from AliPreprocessor.

Definition at line 285 of file AliGRPPreprocessor.cxx.

AliGRPPreprocessor& AliGRPPreprocessor::operator= ( const AliGRPPreprocessor )
private
TString AliGRPPreprocessor::ParseBeamTypeString ( TString  beamType,
Int_t  iBeamType 
)
protected

Definition at line 3520 of file AliGRPPreprocessor.cxx.

Referenced by ProcessLHCData(), and SetDAQStartEndTimeOk().

UInt_t AliGRPPreprocessor::Process ( TMap *  valueSet)
protectedvirtual

Implements AliPreprocessor.

Definition at line 313 of file AliGRPPreprocessor.cxx.

THashList * AliGRPPreprocessor::ProcessAliases ( const char *  aliasesFile)
static

Definition at line 1861 of file AliGRPPreprocessor.cxx.

Referenced by ProcessDcsFxs().

Char_t AliGRPPreprocessor::ProcessBool ( const TObjArray array,
Bool_t &  change 
)
protected

Definition at line 2753 of file AliGRPPreprocessor.cxx.

Referenced by ProcessDipoleDPs(), and ProcessL3DPs().

TString AliGRPPreprocessor::ProcessChar ( const TObjArray array)
protected

Definition at line 2433 of file AliGRPPreprocessor.cxx.

UInt_t AliGRPPreprocessor::ProcessDaqFxs ( )
protected

Definition at line 1611 of file AliGRPPreprocessor.cxx.

Int_t AliGRPPreprocessor::ProcessDaqLB ( AliGRPObject grpobj)
protected

Definition at line 1502 of file AliGRPPreprocessor.cxx.

Referenced by Process().

Int_t AliGRPPreprocessor::ProcessDcsDPs ( TMap *  valueSet,
AliGRPObject grpobj 
)
protected

Definition at line 1918 of file AliGRPPreprocessor.cxx.

Referenced by Process().

UInt_t AliGRPPreprocessor::ProcessDcsFxs ( TString  partition = "",
TString  detector = "" 
)
protected

Definition at line 1731 of file AliGRPPreprocessor.cxx.

Referenced by Process().

Int_t AliGRPPreprocessor::ProcessDipoleDPs ( const TMap *  valueSet,
AliGRPObject grpobj 
)
protected

Definition at line 2041 of file AliGRPPreprocessor.cxx.

Referenced by ProcessDcsDPs().

UInt_t AliGRPPreprocessor::ProcessDqmFxs ( )
protected

Definition at line 1371 of file AliGRPPreprocessor.cxx.

Referenced by Process().

Float_t AliGRPPreprocessor::ProcessEnergy ( TObjArray array,
Double_t  timeStart 
)
protected

Definition at line 3394 of file AliGRPPreprocessor.cxx.

Referenced by ProcessLHCData(), and SetDAQStartEndTimeOk().

Int_t AliGRPPreprocessor::ProcessEnvDPs ( TMap *  valueSet,
AliGRPObject grpobj 
)
protected

Definition at line 2137 of file AliGRPPreprocessor.cxx.

Referenced by ProcessDcsDPs().

Float_t * AliGRPPreprocessor::ProcessFloatAll ( const TObjArray array)
protected

Definition at line 2460 of file AliGRPPreprocessor.cxx.

Referenced by ProcessEnvDPs(), ProcessFloatAllMagnet(), and ProcessHPDPs().

Float_t * AliGRPPreprocessor::ProcessFloatAllMagnet ( const TObjArray array,
Int_t  indexDP,
Bool_t &  isZero 
)
protected

Definition at line 2710 of file AliGRPPreprocessor.cxx.

Referenced by ProcessDipoleDPs(), and ProcessL3DPs().

Int_t AliGRPPreprocessor::ProcessHPDPs ( const TMap *  valueSet,
AliGRPObject grpobj 
)
protected

Definition at line 2346 of file AliGRPPreprocessor.cxx.

Float_t AliGRPPreprocessor::ProcessInt ( const TObjArray array)
protected

Definition at line 2791 of file AliGRPPreprocessor.cxx.

Int_t AliGRPPreprocessor::ProcessL3DPs ( const TMap *  valueSet,
AliGRPObject grpobj 
)
protected

Definition at line 1943 of file AliGRPPreprocessor.cxx.

Referenced by ProcessDcsDPs().

AliLHCClockPhase * AliGRPPreprocessor::ProcessLHCClockPhase ( TObjArray beam1phase,
TObjArray beam2phase,
Double_t  timeEnd 
)
protected

Definition at line 3438 of file AliGRPPreprocessor.cxx.

Referenced by ProcessLHCData(), and SetDAQStartEndTimeOk().

UInt_t AliGRPPreprocessor::ProcessLHCData ( AliGRPObject grpobj)
protected

Definition at line 746 of file AliGRPPreprocessor.cxx.

Referenced by Process().

UInt_t AliGRPPreprocessor::ProcessSPDMeanVertex ( )
protected

Definition at line 1314 of file AliGRPPreprocessor.cxx.

Referenced by Process().

Float_t AliGRPPreprocessor::ProcessUInt ( const TObjArray array)
protected

Definition at line 2953 of file AliGRPPreprocessor.cxx.

Int_t AliGRPPreprocessor::ReceivePromptRecoParameters ( UInt_t  run,
const char *  dbHost,
Int_t  dbPort,
const char *  dbName,
const char *  user,
const char *  password,
const char *  cdbRoot,
TString &  gdc 
)
static

Definition at line 3142 of file AliGRPPreprocessor.cxx.

Referenced by grp(), and AliOnlineReconstruction::RetrieveGRP().

void AliGRPPreprocessor::SetDAQStartEndTimeOk ( Bool_t  daqStartEndTimeOk)
inlineprotected

Definition at line 111 of file AliGRPPreprocessor.h.

Member Data Documentation

Bool_t AliGRPPreprocessor::fdaqStartEndTimeOk
private
TObjArray* AliGRPPreprocessor::ffailedDPs
private
const char * AliGRPPreprocessor::fgkDCSDataPoints
staticprivate

number of dcs dps

Definition at line 123 of file AliGRPPreprocessor.h.

Referenced by Initialize(), ProcessDipoleDPs(), ProcessEnvDPs(), and ProcessL3DPs().

const char * AliGRPPreprocessor::fgkDCSDataPointsHallProbes
staticprivate

names of dcs dps

Definition at line 124 of file AliGRPPreprocessor.h.

const Int_t AliGRPPreprocessor::fgkDCSDPHallTopShift = 4
staticprivate

names of lhc dps

Definition at line 147 of file AliGRPPreprocessor.h.

Referenced by Process(), and ProcessHPDPs().

const Int_t AliGRPPreprocessor::fgkDCSDPNonWorking = 2
staticprivate

shift from the top to the Hall Probes from the list of DCS DPs names

Definition at line 148 of file AliGRPPreprocessor.h.

const char * AliGRPPreprocessor::fgkLHCDataPoints
staticprivate
Initial value:
= {
"LHC_Beam_Energy",
"LHC_MachineMode",
"LHC_BeamMode",
"LHC_Beams_Particle_Type",
"BPTX_Phase_Shift_B1",
"BPTX_Phase_Shift_B2",
"LHC_Particle_Type_B1",
"LHC_Particle_Type_B2",
"LHC_Data_Quality_Flag"
}

number of lhc dps

Definition at line 146 of file AliGRPPreprocessor.h.

Referenced by ProcessLHCData().

const Int_t AliGRPPreprocessor::fgknDAQLbPar = 7
staticprivate

Definition at line 121 of file AliGRPPreprocessor.h.

Referenced by Process().

const Int_t AliGRPPreprocessor::fgknDCSDP = 56
staticprivate

number of DAQ lb parameters for PHYSICS runs

Definition at line 122 of file AliGRPPreprocessor.h.

Referenced by Initialize(), and Process().

const Int_t AliGRPPreprocessor::fgknDCSDP_Redu = 8
staticprivate

number of Hall Probes

Definition at line 126 of file AliGRPPreprocessor.h.

Referenced by Process().

const Int_t AliGRPPreprocessor::fgknDCSDPHallProbes = 40
staticprivate

names of dcs dps for Hall Probes

Definition at line 125 of file AliGRPPreprocessor.h.

Referenced by Process(), and ProcessHPDPs().

const Int_t AliGRPPreprocessor::fgknLHCDP = 9
staticprivate

Definition at line 145 of file AliGRPPreprocessor.h.

Double_t AliGRPPreprocessor::fmaxDouble
private

Definition at line 135 of file AliGRPPreprocessor.h.

Referenced by AliGRPPreprocessor().

Float_t AliGRPPreprocessor::fmaxFloat
private
Int_t AliGRPPreprocessor::fmaxInt
private

Definition at line 137 of file AliGRPPreprocessor.h.

Referenced by AliGRPPreprocessor(), and ProcessInt().

UInt_t AliGRPPreprocessor::fmaxUInt
private

Definition at line 139 of file AliGRPPreprocessor.h.

Referenced by AliGRPPreprocessor(), and ProcessUInt().

Double_t AliGRPPreprocessor::fminDouble
private

Definition at line 136 of file AliGRPPreprocessor.h.

Referenced by AliGRPPreprocessor().

Float_t AliGRPPreprocessor::fminFloat
private
Int_t AliGRPPreprocessor::fminInt
private

Definition at line 138 of file AliGRPPreprocessor.h.

Referenced by AliGRPPreprocessor(), and ProcessInt().

UInt_t AliGRPPreprocessor::fminUInt
private

Definition at line 140 of file AliGRPPreprocessor.h.

Referenced by AliGRPPreprocessor(), and ProcessUInt().

AliDCSSensorArray* AliGRPPreprocessor::fPressure
private

number of redundant dcs dps

Definition at line 128 of file AliGRPPreprocessor.h.

Referenced by GetPressureMap(), Initialize(), ProcessEnvDPs(), and ~AliGRPPreprocessor().


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