HighLAND
Functions
convUtils Namespace Reference

Functions

void ConvertTPCDetEnumToBitField (unsigned long &det, int tpc)
 Convert the detector used array to the bit field used by psyche for TPC track segments.
 
void ConvertFGDDetEnumToBitField (unsigned long &det, int fgd)
 Convert the detector used array to the bit field used by psyche for FGD track segments.
 
void ConvertSMRDDetEnumToBitField (unsigned long &det, int smrd)
 Convert the detector used array to the bit field used by psyche for SMRD track segments.
 
void ConvertECALDetEnumToBitField (unsigned long &det, int ecal)
 Convert the detector used array to the bit field used by psyche for ECAL track segments.
 
void ConvertLocalDetEnumToBitField (unsigned long &det, int index, SubDetId::SubDetEnum subdet_enum)
 Convert the detector used array to the bit field used by psyche given a SubDetEnum.
 
void ConvertTrueParticleDetEnumToBitField (unsigned long &det, int DetUsed)
 Convert the detector used array to the bit field used by psyche for truth trueParts.
 
void ConvertTrackerDetEnumToBitField (unsigned long &det, int DetUsed)
 Convert the detector used array to the bit field used by psyche for tracker tracks.
 
void ConvertTrackerDetFieldToBitField (unsigned long &det, int Detectors)
 Convert tracker detector field to bit field.
 
void ConvertTrackDetEnumToBitField (unsigned long &det, int DetUsed[])
 Convert the detector used array to the bit field used by psyche for ana tracks.
 
void ConvertTrackDetEnumToBitField (unsigned long &det, bool DetUsed[])
 Convert the detector used array to the bit field used by psyche for ana tracks.
 
void SetDetectorUsedField (unsigned long &det, unsigned int i)
 Set the bit field for a used detector given oaAnalysis detector enumeration (TGlobalPID::DetectorUsed)
 
int GetLocalDetEnum (SubDetId::SubDetEnum det, SubDetId::SubDetEnum idet)
 Get old local detector enumeration to find array index of Flat tree.
 
void ConvertBitFieldToTrackerDetField (unsigned long det, int &trackerDet)
 Get highland style tracker combination numbering.
 
void ConvertBitFieldToTrueParticleDetEnum (unsigned long det, int &trueDet)
 Get highland style numbering for true objects.
 

Detailed Description

This namespace contains useful functions for analyses. This is in addition to those defined in psycheUtils