BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
HltID Class Reference

#include <HltID.h>

Inheritance diagram for HltID:

Public Types

enum  Header {
  EVENTTYPE = 0 , ALGORITHM , CRITERIA , VERSION ,
  ENERGY , NUMSUB , NUMCON , EVENTTYPE = 0 ,
  ALGORITHM , CRITERIA , VERSION , ENERGY ,
  NUMSUB , NUMCON , EVENTTYPE = 0 , ALGORITHM ,
  CRITERIA , VERSION , ENERGY , NUMSUB ,
  NUMCON
}
enum  SubID {
  HLT = 0 , MDC , TOF , EMC ,
  MUC , CON , HLT = 0 , MDC ,
  TOF , EMC , MUC , CON ,
  HLT = 0 , MDC , TOF , EMC ,
  MUC , CON
}
enum  MdcData {
  NMDC = 0x100 , NTRK , PMAX1 , COST1 ,
  VZ1 , PHI1 , VR1 , TRKHIT1 ,
  TRKSHIT1 , PMAX2 , COST2 , VZ2 ,
  PHI2 , VR2 , TRKHIT2 , TRKSHIT2 ,
  ACOL , NMDC = 0x100 , NTRK , PMAX1 ,
  COST1 , VZ1 , PHI1 , VR1 ,
  TRKHIT1 , TRKSHIT1 , PMAX2 , COST2 ,
  VZ2 , PHI2 , VR2 , TRKHIT2 ,
  TRKSHIT2 , ACOL , NMDC = 0x100 , NTRK ,
  PMAX1 , COST1 , VZ1 , PHI1 ,
  VR1 , TRKHIT1 , TRKSHIT1 , PMAX2 ,
  COST2 , VZ2 , PHI2 , VR2 ,
  TRKHIT2 , TRKSHIT2 , ACOL
}
enum  TofData {
  NTOF = 0x200 , DELTAT , DELTAPHI , NTOF = 0x200 ,
  DELTAT , DELTAPHI , NTOF = 0x200 , DELTAT ,
  DELTAPHI
}
enum  EmcData {
  NEMC = 0x300 , ETOT , EBAR , EEND ,
  EBAL , EEAST , EWEST , NSEC ,
  NSHW , EMAX1 , ECOST1 , EPHI1 ,
  EMAX2 , ECOST2 , EPHI2 , EACOP ,
  EACOL , EMAX12 , EMAX3 , ECOST3 ,
  EPHI3 , NEMC = 0x300 , ETOT , EBAR ,
  EEND , EBAL , EEAST , EWEST ,
  NSEC , NSHW , EMAX1 , ECOST1 ,
  EPHI1 , EMAX2 , ECOST2 , EPHI2 ,
  EACOP , EACOL , EMAX12 , EMAX3 ,
  ECOST3 , EPHI3 , NEMC = 0x300 , ETOT ,
  EBAR , EEND , EBAL , EEAST ,
  EWEST , NSEC , NSHW , EMAX1 ,
  ECOST1 , EPHI1 , EMAX2 , ECOST2 ,
  EPHI2 , EACOP , EACOL , EMAX12 ,
  EMAX3 , ECOST3 , EPHI3
}
enum  MucData { NMUC = 0x400 , NMUC = 0x400 , NMUC = 0x400 }
enum  ConData { NCON = 0x500 , NCON = 0x500 , NCON = 0x500 }
enum  Header {
  EVENTTYPE = 0 , ALGORITHM , CRITERIA , VERSION ,
  ENERGY , NUMSUB , NUMCON , EVENTTYPE = 0 ,
  ALGORITHM , CRITERIA , VERSION , ENERGY ,
  NUMSUB , NUMCON , EVENTTYPE = 0 , ALGORITHM ,
  CRITERIA , VERSION , ENERGY , NUMSUB ,
  NUMCON
}
enum  SubID {
  HLT = 0 , MDC , TOF , EMC ,
  MUC , CON , HLT = 0 , MDC ,
  TOF , EMC , MUC , CON ,
  HLT = 0 , MDC , TOF , EMC ,
  MUC , CON
}
enum  MdcData {
  NMDC = 0x100 , NTRK , PMAX1 , COST1 ,
  VZ1 , PHI1 , VR1 , TRKHIT1 ,
  TRKSHIT1 , PMAX2 , COST2 , VZ2 ,
  PHI2 , VR2 , TRKHIT2 , TRKSHIT2 ,
  ACOL , NMDC = 0x100 , NTRK , PMAX1 ,
  COST1 , VZ1 , PHI1 , VR1 ,
  TRKHIT1 , TRKSHIT1 , PMAX2 , COST2 ,
  VZ2 , PHI2 , VR2 , TRKHIT2 ,
  TRKSHIT2 , ACOL , NMDC = 0x100 , NTRK ,
  PMAX1 , COST1 , VZ1 , PHI1 ,
  VR1 , TRKHIT1 , TRKSHIT1 , PMAX2 ,
  COST2 , VZ2 , PHI2 , VR2 ,
  TRKHIT2 , TRKSHIT2 , ACOL
}
enum  TofData {
  NTOF = 0x200 , DELTAT , DELTAPHI , NTOF = 0x200 ,
  DELTAT , DELTAPHI , NTOF = 0x200 , DELTAT ,
  DELTAPHI
}
enum  EmcData {
  NEMC = 0x300 , ETOT , EBAR , EEND ,
  EBAL , EEAST , EWEST , NSEC ,
  NSHW , EMAX1 , ECOST1 , EPHI1 ,
  EMAX2 , ECOST2 , EPHI2 , EACOP ,
  EACOL , EMAX12 , EMAX3 , ECOST3 ,
  EPHI3 , NEMC = 0x300 , ETOT , EBAR ,
  EEND , EBAL , EEAST , EWEST ,
  NSEC , NSHW , EMAX1 , ECOST1 ,
  EPHI1 , EMAX2 , ECOST2 , EPHI2 ,
  EACOP , EACOL , EMAX12 , EMAX3 ,
  ECOST3 , EPHI3 , NEMC = 0x300 , ETOT ,
  EBAR , EEND , EBAL , EEAST ,
  EWEST , NSEC , NSHW , EMAX1 ,
  ECOST1 , EPHI1 , EMAX2 , ECOST2 ,
  EPHI2 , EACOP , EACOL , EMAX12 ,
  EMAX3 , ECOST3 , EPHI3
}
enum  MucData { NMUC = 0x400 , NMUC = 0x400 , NMUC = 0x400 }
enum  ConData { NCON = 0x500 , NCON = 0x500 , NCON = 0x500 }
enum  Header {
  EVENTTYPE = 0 , ALGORITHM , CRITERIA , VERSION ,
  ENERGY , NUMSUB , NUMCON , EVENTTYPE = 0 ,
  ALGORITHM , CRITERIA , VERSION , ENERGY ,
  NUMSUB , NUMCON , EVENTTYPE = 0 , ALGORITHM ,
  CRITERIA , VERSION , ENERGY , NUMSUB ,
  NUMCON
}
enum  SubID {
  HLT = 0 , MDC , TOF , EMC ,
  MUC , CON , HLT = 0 , MDC ,
  TOF , EMC , MUC , CON ,
  HLT = 0 , MDC , TOF , EMC ,
  MUC , CON
}
enum  MdcData {
  NMDC = 0x100 , NTRK , PMAX1 , COST1 ,
  VZ1 , PHI1 , VR1 , TRKHIT1 ,
  TRKSHIT1 , PMAX2 , COST2 , VZ2 ,
  PHI2 , VR2 , TRKHIT2 , TRKSHIT2 ,
  ACOL , NMDC = 0x100 , NTRK , PMAX1 ,
  COST1 , VZ1 , PHI1 , VR1 ,
  TRKHIT1 , TRKSHIT1 , PMAX2 , COST2 ,
  VZ2 , PHI2 , VR2 , TRKHIT2 ,
  TRKSHIT2 , ACOL , NMDC = 0x100 , NTRK ,
  PMAX1 , COST1 , VZ1 , PHI1 ,
  VR1 , TRKHIT1 , TRKSHIT1 , PMAX2 ,
  COST2 , VZ2 , PHI2 , VR2 ,
  TRKHIT2 , TRKSHIT2 , ACOL
}
enum  TofData {
  NTOF = 0x200 , DELTAT , DELTAPHI , NTOF = 0x200 ,
  DELTAT , DELTAPHI , NTOF = 0x200 , DELTAT ,
  DELTAPHI
}
enum  EmcData {
  NEMC = 0x300 , ETOT , EBAR , EEND ,
  EBAL , EEAST , EWEST , NSEC ,
  NSHW , EMAX1 , ECOST1 , EPHI1 ,
  EMAX2 , ECOST2 , EPHI2 , EACOP ,
  EACOL , EMAX12 , EMAX3 , ECOST3 ,
  EPHI3 , NEMC = 0x300 , ETOT , EBAR ,
  EEND , EBAL , EEAST , EWEST ,
  NSEC , NSHW , EMAX1 , ECOST1 ,
  EPHI1 , EMAX2 , ECOST2 , EPHI2 ,
  EACOP , EACOL , EMAX12 , EMAX3 ,
  ECOST3 , EPHI3 , NEMC = 0x300 , ETOT ,
  EBAR , EEND , EBAL , EEAST ,
  EWEST , NSEC , NSHW , EMAX1 ,
  ECOST1 , EPHI1 , EMAX2 , ECOST2 ,
  EPHI2 , EACOP , EACOL , EMAX12 ,
  EMAX3 , ECOST3 , EPHI3
}
enum  MucData { NMUC = 0x400 , NMUC = 0x400 , NMUC = 0x400 }
enum  ConData { NCON = 0x500 , NCON = 0x500 , NCON = 0x500 }
typedef Identifier::size_type size_type
typedef Identifier::value_type value_type
typedef Identifier::size_type size_type
typedef Identifier::value_type value_type
typedef Identifier::size_type size_type
typedef Identifier::value_type value_type

Public Member Functions

 HltID (void)
 constructor
 ~HltID (void)
 destructor
 HltID (void)
 constructor
 ~HltID (void)
 destructor
 HltID (void)
 constructor
 ~HltID (void)
 destructor
Public Member Functions inherited from BesDetectorID
 BesDetectorID (void)
 ~BesDetectorID (void)
Identifier mdc (void) const
Identifier tof (void) const
Identifier emc (void) const
Identifier muc (void) const
Identifier hlt (void) const
Identifier mrpc (void) const
bool is_mdc (const Identifier &id) const
bool is_tof (const Identifier &id) const
bool is_emc (const Identifier &id) const
bool is_muc (const Identifier &id) const
bool is_hlt (const Identifier &id) const
bool is_mrpc (const Identifier &id) const
 BesDetectorID (void)
 ~BesDetectorID (void)
Identifier mdc (void) const
Identifier tof (void) const
Identifier emc (void) const
Identifier muc (void) const
Identifier hlt (void) const
Identifier mrpc (void) const
bool is_mdc (const Identifier &id) const
bool is_tof (const Identifier &id) const
bool is_emc (const Identifier &id) const
bool is_muc (const Identifier &id) const
bool is_hlt (const Identifier &id) const
bool is_mrpc (const Identifier &id) const
 BesDetectorID (void)
 ~BesDetectorID (void)
Identifier mdc (void) const
Identifier tof (void) const
Identifier emc (void) const
Identifier muc (void) const
Identifier hlt (void) const
Identifier mrpc (void) const
bool is_mdc (const Identifier &id) const
bool is_tof (const Identifier &id) const
bool is_emc (const Identifier &id) const
bool is_muc (const Identifier &id) const
bool is_hlt (const Identifier &id) const
bool is_mrpc (const Identifier &id) const

Static Public Member Functions

static Identifier convert (const unsigned int id, const int nmdc=0, const int ntof=0, const int nemc=0, const int nmuc=0)
 convert global id to sub-id(Identifier)
static Identifier data_type_id (const unsigned int detector, const unsigned int id_in_sub=0)
 For a single data.
static unsigned int getIntID (const unsigned int detector, const unsigned int id_in_sub=0)
static bool values_ok (const unsigned int detector, const unsigned int id_in_sub=0)
static bool is_ef_result (const Identifier &id)
 Test for data type.
static bool is_eventtype (const Identifier &id)
static bool is_algorithm (const Identifier &id)
static bool is_criteria (const Identifier &id)
static bool is_version (const Identifier &id)
static bool is_energy (const Identifier &id)
static bool is_number (const Identifier &id)
static bool is_ncon (const Identifier &id)
static bool is_mdc_inf (const Identifier &id)
static bool is_tof_inf (const Identifier &id)
static bool is_emc_inf (const Identifier &id)
static bool is_muc_inf (const Identifier &id)
static bool is_con_inf (const Identifier &id)
static bool is_hlt_inf (const Identifier &id)
static unsigned int detector (const Identifier &id)
 Values of different levels (failure returns 0).
static unsigned int id_sub (const Identifier &id)
static unsigned int id_sub_max (const Identifier &id)
static unsigned int getID_MDC_MAX ()
static unsigned int getID_TOF_MAX ()
static unsigned int getID_EMC_MAX ()
static unsigned int getID_MUC_MAX ()
static unsigned int getID_HLT_MAX ()
static unsigned int getDETECTOR_MIN ()
static unsigned int getDETECTOR_MAX ()
static Identifier convert (const unsigned int id, const int nmdc=0, const int ntof=0, const int nemc=0, const int nmuc=0)
 convert global id to sub-id(Identifier)
static Identifier data_type_id (const unsigned int detector, const unsigned int id_in_sub=0)
 For a single data.
static unsigned int getIntID (const unsigned int detector, const unsigned int id_in_sub=0)
static bool values_ok (const unsigned int detector, const unsigned int id_in_sub=0)
static bool is_ef_result (const Identifier &id)
 Test for data type.
static bool is_eventtype (const Identifier &id)
static bool is_algorithm (const Identifier &id)
static bool is_criteria (const Identifier &id)
static bool is_version (const Identifier &id)
static bool is_energy (const Identifier &id)
static bool is_number (const Identifier &id)
static bool is_ncon (const Identifier &id)
static bool is_mdc_inf (const Identifier &id)
static bool is_tof_inf (const Identifier &id)
static bool is_emc_inf (const Identifier &id)
static bool is_muc_inf (const Identifier &id)
static bool is_con_inf (const Identifier &id)
static bool is_hlt_inf (const Identifier &id)
static unsigned int detector (const Identifier &id)
 Values of different levels (failure returns 0).
static unsigned int id_sub (const Identifier &id)
static unsigned int id_sub_max (const Identifier &id)
static unsigned int getID_MDC_MAX ()
static unsigned int getID_TOF_MAX ()
static unsigned int getID_EMC_MAX ()
static unsigned int getID_MUC_MAX ()
static unsigned int getID_HLT_MAX ()
static unsigned int getDETECTOR_MIN ()
static unsigned int getDETECTOR_MAX ()
static Identifier convert (const unsigned int id, const int nmdc=0, const int ntof=0, const int nemc=0, const int nmuc=0)
 convert global id to sub-id(Identifier)
static Identifier data_type_id (const unsigned int detector, const unsigned int id_in_sub=0)
 For a single data.
static unsigned int getIntID (const unsigned int detector, const unsigned int id_in_sub=0)
static bool values_ok (const unsigned int detector, const unsigned int id_in_sub=0)
static bool is_ef_result (const Identifier &id)
 Test for data type.
static bool is_eventtype (const Identifier &id)
static bool is_algorithm (const Identifier &id)
static bool is_criteria (const Identifier &id)
static bool is_version (const Identifier &id)
static bool is_energy (const Identifier &id)
static bool is_number (const Identifier &id)
static bool is_ncon (const Identifier &id)
static bool is_mdc_inf (const Identifier &id)
static bool is_tof_inf (const Identifier &id)
static bool is_emc_inf (const Identifier &id)
static bool is_muc_inf (const Identifier &id)
static bool is_con_inf (const Identifier &id)
static bool is_hlt_inf (const Identifier &id)
static unsigned int detector (const Identifier &id)
 Values of different levels (failure returns 0).
static unsigned int id_sub (const Identifier &id)
static unsigned int id_sub_max (const Identifier &id)
static unsigned int getID_MDC_MAX ()
static unsigned int getID_TOF_MAX ()
static unsigned int getID_EMC_MAX ()
static unsigned int getID_MUC_MAX ()
static unsigned int getID_HLT_MAX ()
static unsigned int getDETECTOR_MIN ()
static unsigned int getDETECTOR_MAX ()

Additional Inherited Members

Protected Member Functions inherited from BesDetectorID
int mdc_field_value () const
 Provide efficient access to individual field values.
int tof_field_value () const
int emc_field_value () const
int muc_field_value () const
int hlt_field_value () const
int mrpc_field_value () const
int get_detectorID (const Identifier &id) const
int mdc_field_value () const
 Provide efficient access to individual field values.
int tof_field_value () const
int emc_field_value () const
int muc_field_value () const
int hlt_field_value () const
int mrpc_field_value () const
int get_detectorID (const Identifier &id) const
int mdc_field_value () const
 Provide efficient access to individual field values.
int tof_field_value () const
int emc_field_value () const
int muc_field_value () const
int hlt_field_value () const
int mrpc_field_value () const
int get_detectorID (const Identifier &id) const
Static Protected Attributes inherited from BesDetectorID
static const unsigned int MDC_ID = 0x10
static const unsigned int MDC_INDEX = 24
static const unsigned int MDC_MASK = 0xFF000000
static const unsigned int TOF_ID = 0x20
static const unsigned int TOF_INDEX = 24
static const unsigned int TOF_MASK = 0xFF000000
static const unsigned int EMC_ID = 0x30
static const unsigned int EMC_INDEX = 24
static const unsigned int EMC_MASK = 0xFF000000
static const unsigned int MUC_ID = 0x40
static const unsigned int MUC_INDEX = 24
static const unsigned int MUC_MASK = 0xFF000000
static const unsigned int HLT_ID = 0x50
static const unsigned int HLT_INDEX = 24
static const unsigned int HLT_MASK = 0xFF000000
static const unsigned int MRPC_ID = 0x70
static const unsigned int MRPC_INDEX = 24
static const unsigned int MRPC_MASK = 0xFF000000

Detailed Description

Member Typedef Documentation

◆ size_type [1/3]

◆ size_type [2/3]

◆ size_type [3/3]

◆ value_type [1/3]

◆ value_type [2/3]

◆ value_type [3/3]

Member Enumeration Documentation

◆ ConData [1/3]

Enumerator
NCON 
NCON 
NCON 

Definition at line 65 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

◆ ConData [2/3]

Enumerator
NCON 
NCON 
NCON 

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

65{ NCON = 0x500 };

◆ ConData [3/3]

Enumerator
NCON 
NCON 
NCON 

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

65{ NCON = 0x500 };

◆ EmcData [1/3]

Enumerator
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 

Definition at line 41 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

41 {
42 NEMC = 0x300,
43 ETOT,
44 EBAR,
45 EEND,
46 EBAL,
47 EEAST,
48 EWEST,
49 NSEC,
50 NSHW,
51 EMAX1,
52 ECOST1,
53 EPHI1,
54 EMAX2,
55 ECOST2,
56 EPHI2,
57 EACOP,
58 EACOL,
59 EMAX12,
60 EMAX3,
61 ECOST3,
62 EPHI3
63 };

◆ EmcData [2/3]

Enumerator
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

41 {
42 NEMC = 0x300,
43 ETOT,
44 EBAR,
45 EEND,
46 EBAL,
47 EEAST,
48 EWEST,
49 NSEC,
50 NSHW,
51 EMAX1,
52 ECOST1,
53 EPHI1,
54 EMAX2,
55 ECOST2,
56 EPHI2,
57 EACOP,
58 EACOL,
59 EMAX12,
60 EMAX3,
61 ECOST3,
62 EPHI3
63 };

◆ EmcData [3/3]

Enumerator
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 
NEMC 
ETOT 
EBAR 
EEND 
EBAL 
EEAST 
EWEST 
NSEC 
NSHW 
EMAX1 
ECOST1 
EPHI1 
EMAX2 
ECOST2 
EPHI2 
EACOP 
EACOL 
EMAX12 
EMAX3 
ECOST3 
EPHI3 

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

41 {
42 NEMC = 0x300,
43 ETOT,
44 EBAR,
45 EEND,
46 EBAL,
47 EEAST,
48 EWEST,
49 NSEC,
50 NSHW,
51 EMAX1,
52 ECOST1,
53 EPHI1,
54 EMAX2,
55 ECOST2,
56 EPHI2,
57 EACOP,
58 EACOL,
59 EMAX12,
60 EMAX3,
61 ECOST3,
62 EPHI3
63 };

◆ Header [1/3]

Enumerator
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 

Definition at line 19 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

◆ Header [2/3]

Enumerator
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

◆ Header [3/3]

Enumerator
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 
EVENTTYPE 
ALGORITHM 
CRITERIA 
VERSION 
ENERGY 
NUMSUB 
NUMCON 

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

◆ MdcData [1/3]

Enumerator
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 

Definition at line 21 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

21 {
22 NMDC = 0x100,
23 NTRK,
24 PMAX1,
25 COST1,
26 VZ1,
27 PHI1,
28 VR1,
29 TRKHIT1,
31 PMAX2,
32 COST2,
33 VZ2,
34 PHI2,
35 VR2,
36 TRKHIT2,
38 ACOL
39 };

◆ MdcData [2/3]

Enumerator
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 

Definition at line 21 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

21 {
22 NMDC = 0x100,
23 NTRK,
24 PMAX1,
25 COST1,
26 VZ1,
27 PHI1,
28 VR1,
29 TRKHIT1,
31 PMAX2,
32 COST2,
33 VZ2,
34 PHI2,
35 VR2,
36 TRKHIT2,
38 ACOL
39 };

◆ MdcData [3/3]

Enumerator
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 
NMDC 
NTRK 
PMAX1 
COST1 
VZ1 
PHI1 
VR1 
TRKHIT1 
TRKSHIT1 
PMAX2 
COST2 
VZ2 
PHI2 
VR2 
TRKHIT2 
TRKSHIT2 
ACOL 

Definition at line 21 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

21 {
22 NMDC = 0x100,
23 NTRK,
24 PMAX1,
25 COST1,
26 VZ1,
27 PHI1,
28 VR1,
29 TRKHIT1,
31 PMAX2,
32 COST2,
33 VZ2,
34 PHI2,
35 VR2,
36 TRKHIT2,
38 ACOL
39 };

◆ MucData [1/3]

Enumerator
NMUC 
NMUC 
NMUC 

Definition at line 64 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

◆ MucData [2/3]

Enumerator
NMUC 
NMUC 
NMUC 

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

64{ NMUC = 0x400 };

◆ MucData [3/3]

Enumerator
NMUC 
NMUC 
NMUC 

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

64{ NMUC = 0x400 };

◆ SubID [1/3]

◆ SubID [2/3]

Enumerator
HLT 
MDC 
TOF 
EMC 
MUC 
CON 
HLT 
MDC 
TOF 
EMC 
MUC 
CON 
HLT 
MDC 
TOF 
EMC 
MUC 
CON 

Definition at line 20 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

20{ HLT = 0, MDC, TOF, EMC, MUC, CON };

◆ SubID [3/3]

Enumerator
HLT 
MDC 
TOF 
EMC 
MUC 
CON 
HLT 
MDC 
TOF 
EMC 
MUC 
CON 
HLT 
MDC 
TOF 
EMC 
MUC 
CON 

Definition at line 20 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

20{ HLT = 0, MDC, TOF, EMC, MUC, CON };

◆ TofData [1/3]

Enumerator
NTOF 
DELTAT 
DELTAPHI 
NTOF 
DELTAT 
DELTAPHI 
NTOF 
DELTAT 
DELTAPHI 

Definition at line 40 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

◆ TofData [2/3]

Enumerator
NTOF 
DELTAT 
DELTAPHI 
NTOF 
DELTAT 
DELTAPHI 
NTOF 
DELTAT 
DELTAPHI 

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

40{ NTOF = 0x200, DELTAT, DELTAPHI };

◆ TofData [3/3]

Enumerator
NTOF 
DELTAT 
DELTAPHI 
NTOF 
DELTAT 
DELTAPHI 
NTOF 
DELTAT 
DELTAPHI 

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

40{ NTOF = 0x200, DELTAT, DELTAPHI };

Constructor & Destructor Documentation

◆ HltID() [1/3]

HltID::HltID ( void )

constructor

Definition at line 5 of file HltID.cxx.

5{}

◆ ~HltID() [1/3]

HltID::~HltID ( void )

destructor

Definition at line 7 of file HltID.cxx.

7{}

◆ HltID() [2/3]

HltID::HltID ( void )

constructor

◆ ~HltID() [2/3]

HltID::~HltID ( void )

destructor

◆ HltID() [3/3]

HltID::HltID ( void )

constructor

◆ ~HltID() [3/3]

HltID::~HltID ( void )

destructor

Member Function Documentation

◆ convert() [1/3]

Identifier HltID::convert ( const unsigned int id,
const int nmdc = 0,
const int ntof = 0,
const int nemc = 0,
const int nmuc = 0 )
static

convert global id to sub-id(Identifier)

Definition at line 10 of file HltID.cxx.

11 {
12 uint32_t subid = id & ( HltID::DETECTOR_MASK | HltID::ID_SUB_MASK );
13
14 if ( subid <= getID_HLT_MAX() ) return data_type_id( HLT, subid );
15
16 subid = subid - getID_HLT_MAX();
17 if ( subid <= nmdc ) return data_type_id( MDC, subid - 1 );
18
19 subid = subid - nmdc;
20 if ( subid <= ntof ) return data_type_id( TOF, subid - 1 );
21
22 subid = subid - ntof;
23 if ( subid <= nemc ) return data_type_id( EMC, subid - 1 );
24
25 subid = subid - nemc;
26 if ( subid <= nmuc ) return data_type_id( MUC, subid - 1 );
27
28 subid = subid - nmuc;
29 return data_type_id( CON, subid - 1 );
30}
static Identifier data_type_id(const unsigned int detector, const unsigned int id_in_sub=0)
For a single data.
Definition HltID.cxx:155

Referenced by RawDataHltRawCnv::createObj(), and EFtoTDS::execute().

◆ convert() [2/3]

Identifier HltID::convert ( const unsigned int id,
const int nmdc = 0,
const int ntof = 0,
const int nemc = 0,
const int nmuc = 0 )
static

convert global id to sub-id(Identifier)

◆ convert() [3/3]

Identifier HltID::convert ( const unsigned int id,
const int nmdc = 0,
const int ntof = 0,
const int nemc = 0,
const int nmuc = 0 )
static

convert global id to sub-id(Identifier)

◆ data_type_id() [1/3]

Identifier HltID::data_type_id ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

For a single data.

Definition at line 155 of file HltID.cxx.

155 {
156 assert( values_ok( detector, id_in_sub ) );
157 // if(!values_ok(detector, id_in_sub)) return Identifier(0);
158
159 unsigned int value =
160 ( HLT_ID << HLT_INDEX ) | ( detector << DETECTOR_INDEX ) | ( id_in_sub << ID_SUB_INDEX );
161 return Identifier( value );
162}
static unsigned int detector(const Identifier &id)
Values of different levels (failure returns 0).
Definition HltID.cxx:135
static bool values_ok(const unsigned int detector, const unsigned int id_in_sub=0)
Definition HltID.cxx:33

Referenced by convert(), HltInf::getDataVec(), and main().

◆ data_type_id() [2/3]

Identifier HltID::data_type_id ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

For a single data.

◆ data_type_id() [3/3]

Identifier HltID::data_type_id ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

For a single data.

◆ detector() [1/3]

unsigned int HltID::detector ( const Identifier & id)
static

Values of different levels (failure returns 0).

Definition at line 135 of file HltID.cxx.

135 {
136 return ( ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX );
137}

Referenced by data_type_id(), getIntID(), main(), and values_ok().

◆ detector() [2/3]

unsigned int HltID::detector ( const Identifier & id)
static

Values of different levels (failure returns 0).

◆ detector() [3/3]

unsigned int HltID::detector ( const Identifier & id)
static

Values of different levels (failure returns 0).

◆ getDETECTOR_MAX() [1/3]

unsigned int HltID::getDETECTOR_MAX ( )
inlinestatic

Definition at line 108 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

108{ return DETECTOR_MAX; };

Referenced by main().

◆ getDETECTOR_MAX() [2/3]

unsigned int HltID::getDETECTOR_MAX ( )
inlinestatic

Definition at line 108 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

108{ return DETECTOR_MAX; };

◆ getDETECTOR_MAX() [3/3]

unsigned int HltID::getDETECTOR_MAX ( )
inlinestatic

Definition at line 108 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

108{ return DETECTOR_MAX; };

◆ getDETECTOR_MIN() [1/3]

unsigned int HltID::getDETECTOR_MIN ( )
inlinestatic

Definition at line 107 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

107{ return DETECTOR_MIN; };

◆ getDETECTOR_MIN() [2/3]

unsigned int HltID::getDETECTOR_MIN ( )
inlinestatic

Definition at line 107 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

107{ return DETECTOR_MIN; };

◆ getDETECTOR_MIN() [3/3]

unsigned int HltID::getDETECTOR_MIN ( )
inlinestatic

Definition at line 107 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

107{ return DETECTOR_MIN; };

◆ getID_EMC_MAX() [1/3]

unsigned int HltID::getID_EMC_MAX ( )
inlinestatic

◆ getID_EMC_MAX() [2/3]

unsigned int HltID::getID_EMC_MAX ( )
inlinestatic

Definition at line 103 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

103{ return ID_EMC_MAX; };

◆ getID_EMC_MAX() [3/3]

unsigned int HltID::getID_EMC_MAX ( )
inlinestatic

Definition at line 103 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

103{ return ID_EMC_MAX; };

◆ getID_HLT_MAX() [1/3]

unsigned int HltID::getID_HLT_MAX ( )
inlinestatic

Definition at line 105 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

105{ return ID_HLT_MAX; };

Referenced by convert().

◆ getID_HLT_MAX() [2/3]

unsigned int HltID::getID_HLT_MAX ( )
inlinestatic

Definition at line 105 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

105{ return ID_HLT_MAX; };

◆ getID_HLT_MAX() [3/3]

unsigned int HltID::getID_HLT_MAX ( )
inlinestatic

Definition at line 105 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

105{ return ID_HLT_MAX; };

◆ getID_MDC_MAX() [1/3]

unsigned int HltID::getID_MDC_MAX ( )
inlinestatic

◆ getID_MDC_MAX() [2/3]

unsigned int HltID::getID_MDC_MAX ( )
inlinestatic

Definition at line 101 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

101{ return ID_MDC_MAX; };

◆ getID_MDC_MAX() [3/3]

unsigned int HltID::getID_MDC_MAX ( )
inlinestatic

Definition at line 101 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

101{ return ID_MDC_MAX; };

◆ getID_MUC_MAX() [1/3]

unsigned int HltID::getID_MUC_MAX ( )
inlinestatic

◆ getID_MUC_MAX() [2/3]

unsigned int HltID::getID_MUC_MAX ( )
inlinestatic

Definition at line 104 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

104{ return ID_MUC_MAX; };

◆ getID_MUC_MAX() [3/3]

unsigned int HltID::getID_MUC_MAX ( )
inlinestatic

Definition at line 104 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

104{ return ID_MUC_MAX; };

◆ getID_TOF_MAX() [1/3]

unsigned int HltID::getID_TOF_MAX ( )
inlinestatic

◆ getID_TOF_MAX() [2/3]

unsigned int HltID::getID_TOF_MAX ( )
inlinestatic

Definition at line 102 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

102{ return ID_TOF_MAX; };

◆ getID_TOF_MAX() [3/3]

unsigned int HltID::getID_TOF_MAX ( )
inlinestatic

Definition at line 102 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

102{ return ID_TOF_MAX; };

◆ getIntID() [1/3]

unsigned int HltID::getIntID ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

Definition at line 164 of file HltID.cxx.

164 {
165 assert( values_ok( detector, id_in_sub ) );
166 // if(!values_ok(detector, id_in_sub)) return 0;
167
168 unsigned int value =
169 ( HLT_ID << HLT_INDEX ) | ( detector << DETECTOR_INDEX ) | ( id_in_sub << ID_SUB_INDEX );
170 return value;
171}

◆ getIntID() [2/3]

unsigned int HltID::getIntID ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

◆ getIntID() [3/3]

unsigned int HltID::getIntID ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

◆ id_sub() [1/3]

unsigned int HltID::id_sub ( const Identifier & id)
static

Definition at line 140 of file HltID.cxx.

140 {
141 return ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
142}

Referenced by HltInf::getData(), main(), and HltInf::setData().

◆ id_sub() [2/3]

unsigned int HltID::id_sub ( const Identifier & id)
static

◆ id_sub() [3/3]

unsigned int HltID::id_sub ( const Identifier & id)
static

◆ id_sub_max() [1/3]

unsigned int HltID::id_sub_max ( const Identifier & id)
static

Definition at line 145 of file HltID.cxx.

145 {
146 if ( is_ef_result( id ) ) { return ID_HLT_MAX; }
147 else if ( is_mdc_inf( id ) ) { return ID_MDC_MAX; }
148 else if ( is_tof_inf( id ) ) { return ID_TOF_MAX; }
149 else if ( is_emc_inf( id ) ) { return ID_EMC_MAX; }
150 else if ( is_muc_inf( id ) ) { return ID_MUC_MAX; }
151 else { return 0; }
152}
static bool is_tof_inf(const Identifier &id)
Definition HltID.cxx:114
static bool is_ef_result(const Identifier &id)
Test for data type.
Definition HltID.cxx:62
static bool is_muc_inf(const Identifier &id)
Definition HltID.cxx:124
static bool is_emc_inf(const Identifier &id)
Definition HltID.cxx:119
static bool is_mdc_inf(const Identifier &id)
Definition HltID.cxx:109

Referenced by main().

◆ id_sub_max() [2/3]

unsigned int HltID::id_sub_max ( const Identifier & id)
static

◆ id_sub_max() [3/3]

unsigned int HltID::id_sub_max ( const Identifier & id)
static

◆ is_algorithm() [1/3]

bool HltID::is_algorithm ( const Identifier & id)
static

Definition at line 73 of file HltID.cxx.

73 {
74 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
75 unsigned int no = ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
76 return ( ( pos == HLT ) && ( no == ALGORITHM ) ) ? true : false;
77}

Referenced by EFtoTDS::execute(), HltEventMaker::execute(), main(), and HltBuilder::pack().

◆ is_algorithm() [2/3]

bool HltID::is_algorithm ( const Identifier & id)
static

◆ is_algorithm() [3/3]

bool HltID::is_algorithm ( const Identifier & id)
static

◆ is_con_inf() [1/3]

bool HltID::is_con_inf ( const Identifier & id)
static

Definition at line 129 of file HltID.cxx.

129 {
130 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
131 return ( pos == CON ) ? true : false;
132}

Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), and HltInf::setData().

◆ is_con_inf() [2/3]

bool HltID::is_con_inf ( const Identifier & id)
static

◆ is_con_inf() [3/3]

bool HltID::is_con_inf ( const Identifier & id)
static

◆ is_criteria() [1/3]

bool HltID::is_criteria ( const Identifier & id)
static

Definition at line 79 of file HltID.cxx.

79 {
80 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
81 unsigned int no = ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
82 return ( ( pos == HLT ) && ( no == CRITERIA ) ) ? true : false;
83}

Referenced by EFtoTDS::execute(), HltEventMaker::execute(), and HltBuilder::pack().

◆ is_criteria() [2/3]

bool HltID::is_criteria ( const Identifier & id)
static

◆ is_criteria() [3/3]

bool HltID::is_criteria ( const Identifier & id)
static

◆ is_ef_result() [1/3]

bool HltID::is_ef_result ( const Identifier & id)
static

Test for data type.

Definition at line 62 of file HltID.cxx.

62 {
63 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
64 return ( pos == HLT ) ? true : false;
65}

Referenced by id_sub_max(), is_hlt_inf(), and main().

◆ is_ef_result() [2/3]

bool HltID::is_ef_result ( const Identifier & id)
static

Test for data type.

◆ is_ef_result() [3/3]

bool HltID::is_ef_result ( const Identifier & id)
static

Test for data type.

◆ is_emc_inf() [1/3]

bool HltID::is_emc_inf ( const Identifier & id)
static

Definition at line 119 of file HltID.cxx.

119 {
120 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
121 return ( pos == EMC ) ? true : false;
122}

Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), and HltInf::setData().

◆ is_emc_inf() [2/3]

bool HltID::is_emc_inf ( const Identifier & id)
static

◆ is_emc_inf() [3/3]

bool HltID::is_emc_inf ( const Identifier & id)
static

◆ is_energy() [1/3]

bool HltID::is_energy ( const Identifier & id)
static

Definition at line 91 of file HltID.cxx.

91 {
92 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
93 unsigned int no = ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
94 return ( ( pos == HLT ) && ( no == ENERGY ) ) ? true : false;
95}

Referenced by EFtoTDS::execute(), HltEventMaker::execute(), main(), and HltBuilder::pack().

◆ is_energy() [2/3]

bool HltID::is_energy ( const Identifier & id)
static

◆ is_energy() [3/3]

bool HltID::is_energy ( const Identifier & id)
static

◆ is_eventtype() [1/3]

bool HltID::is_eventtype ( const Identifier & id)
static

Definition at line 67 of file HltID.cxx.

67 {
68 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
69 unsigned int no = ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
70 return ( ( pos == HLT ) && ( no == EVENTTYPE ) ) ? true : false;
71}

Referenced by EFtoTDS::execute(), HltEventMaker::execute(), main(), and HltBuilder::pack().

◆ is_eventtype() [2/3]

bool HltID::is_eventtype ( const Identifier & id)
static

◆ is_eventtype() [3/3]

bool HltID::is_eventtype ( const Identifier & id)
static

◆ is_hlt_inf() [1/3]

bool HltID::is_hlt_inf ( const Identifier & id)
inlinestatic

Definition at line 93 of file DetectorDescription/Identifier/include/Identifier/HltID.h.

93{ return is_ef_result( id ); };

◆ is_hlt_inf() [2/3]

bool HltID::is_hlt_inf ( const Identifier & id)
inlinestatic

Definition at line 93 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/HltID.h.

93{ return is_ef_result( id ); };

◆ is_hlt_inf() [3/3]

bool HltID::is_hlt_inf ( const Identifier & id)
inlinestatic

Definition at line 93 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/HltID.h.

93{ return is_ef_result( id ); };

◆ is_mdc_inf() [1/3]

bool HltID::is_mdc_inf ( const Identifier & id)
static

Definition at line 109 of file HltID.cxx.

109 {
110 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
111 return ( pos == MDC ) ? true : false;
112}

Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), main(), and HltInf::setData().

◆ is_mdc_inf() [2/3]

bool HltID::is_mdc_inf ( const Identifier & id)
static

◆ is_mdc_inf() [3/3]

bool HltID::is_mdc_inf ( const Identifier & id)
static

◆ is_muc_inf() [1/3]

bool HltID::is_muc_inf ( const Identifier & id)
static

Definition at line 124 of file HltID.cxx.

124 {
125 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
126 return ( pos == MUC ) ? true : false;
127}

Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), and HltInf::setData().

◆ is_muc_inf() [2/3]

bool HltID::is_muc_inf ( const Identifier & id)
static

◆ is_muc_inf() [3/3]

bool HltID::is_muc_inf ( const Identifier & id)
static

◆ is_ncon() [1/3]

bool HltID::is_ncon ( const Identifier & id)
static

Definition at line 103 of file HltID.cxx.

103 {
104 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
105 unsigned int no = ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
106 return ( ( pos == CON ) && ( no == NUMCON ) ) ? true : false;
107}

Referenced by HltEventMaker::execute().

◆ is_ncon() [2/3]

bool HltID::is_ncon ( const Identifier & id)
static

◆ is_ncon() [3/3]

bool HltID::is_ncon ( const Identifier & id)
static

◆ is_number() [1/3]

bool HltID::is_number ( const Identifier & id)
static

Definition at line 97 of file HltID.cxx.

97 {
98 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
99 unsigned int no = ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
100 return ( ( pos == HLT ) && ( no == NUMSUB ) ) ? true : false;
101}

Referenced by RawDataHltRawCnv::createObj(), and HltEventMaker::execute().

◆ is_number() [2/3]

bool HltID::is_number ( const Identifier & id)
static

◆ is_number() [3/3]

bool HltID::is_number ( const Identifier & id)
static

◆ is_tof_inf() [1/3]

bool HltID::is_tof_inf ( const Identifier & id)
static

Definition at line 114 of file HltID.cxx.

114 {
115 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
116 return ( pos == TOF ) ? true : false;
117}

Referenced by HltEventMaker::execute(), HltInf::getData(), HltInf::getDataVec(), id_sub_max(), and HltInf::setData().

◆ is_tof_inf() [2/3]

bool HltID::is_tof_inf ( const Identifier & id)
static

◆ is_tof_inf() [3/3]

bool HltID::is_tof_inf ( const Identifier & id)
static

◆ is_version() [1/3]

bool HltID::is_version ( const Identifier & id)
static

Definition at line 85 of file HltID.cxx.

85 {
86 unsigned int pos = ( id.get_value() & HltID::DETECTOR_MASK ) >> HltID::DETECTOR_INDEX;
87 unsigned int no = ( id.get_value() & HltID::ID_SUB_MASK ) >> HltID::ID_SUB_INDEX;
88 return ( ( pos == HLT ) && ( no == VERSION ) ) ? true : false;
89}

Referenced by EFtoTDS::execute(), HltEventMaker::execute(), and HltBuilder::pack().

◆ is_version() [2/3]

bool HltID::is_version ( const Identifier & id)
static

◆ is_version() [3/3]

bool HltID::is_version ( const Identifier & id)
static

◆ values_ok() [1/3]

bool HltID::values_ok ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

Definition at line 33 of file HltID.cxx.

33 {
34 // Check values
35 // unsigned int >= 0, this is definitely true.
36 // Omit the compare with MIN(0) to avoid warnings in compile.
37 switch ( detector )
38 {
39 case HLT:
40 if ( id_in_sub > ID_HLT_MAX ) return false;
41 break;
42 case MDC:
43 if ( id_in_sub > ID_MDC_MAX ) return false;
44 break;
45 case TOF:
46 if ( id_in_sub > ID_TOF_MAX ) return false;
47 break;
48 case EMC:
49 if ( id_in_sub > ID_EMC_MAX ) return false;
50 break;
51 case MUC:
52 if ( id_in_sub > ID_MUC_MAX ) return false;
53 break;
54 case CON: return true; break;
55 default: return false; break;
56 }
57
58 return true;
59}

Referenced by data_type_id(), and getIntID().

◆ values_ok() [2/3]

bool HltID::values_ok ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

◆ values_ok() [3/3]

bool HltID::values_ok ( const unsigned int detector,
const unsigned int id_in_sub = 0 )
static

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