CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/HLTrigger/HLTcore/interface/HLTadd.h

Go to the documentation of this file.
00001 public:
00002 
00003 int path() const {
00004   int p(-2);
00005   edm::CurrentProcessingContext const* cpc(currentContext());
00006   if (cpc!=0) {
00007     p=cpc->pathInSchedule();
00008   }
00009   return p;
00010 }
00011 
00012 int module() const {
00013   int m(-2);
00014   edm::CurrentProcessingContext const* cpc(currentContext());
00015   if (cpc!=0) {
00016     m=cpc->slotInPath();
00017   }
00018   return m;
00019 }
00020 
00021 std::pair<int,int> pmid() const {
00022   std::pair<int,int>pm(-2,-2);
00023   edm::CurrentProcessingContext const* cpc(currentContext());
00024   if (cpc!=0) {
00025     pm.first =cpc->pathInSchedule();
00026     pm.second=cpc->slotInPath();
00027   }
00028   return pm;
00029 }
00030 
00031 const std::string* pathName() const {
00032   edm::CurrentProcessingContext const* cpc(currentContext());
00033   if (cpc!=0) {
00034     return cpc->pathName();
00035   } else {
00036     return 0;
00037   }
00038 }
00039 
00040 const std::string* moduleLabel() const {
00041   edm::CurrentProcessingContext const* cpc(currentContext());
00042   if (cpc!=0) {
00043     return cpc->moduleLabel();
00044   } else {
00045     return 0;
00046   }
00047 }