ATLAS Offline Software
Classes | Functions
HLTTest Namespace Reference

Classes

class  ITestHypoTool
 
class  TestHypoAlg
 Invokes HypoTools and stores the result of the decision. More...
 
class  TestHypoTool
 Tool taking the decision for inclusive selection (one decision per object) More...
 
class  TestInputMaker
 Used at the start of a sequence: retrieves filtered collection via menu decision from previous step and writes it out directly so it can be used as input by the reco alg that follows in sequence. This test version creates TC collection output for emulation tests. More...
 
class  TestRecoAlg
 Pseudo reco alg, reads input file formatted as follows: prop1:value, prop2:value; prop1:value, prop2:value; ... and created TrigComposites with prop1 & prop2 details set to corresponding values. one line is one event. More...
 

Functions

void split (const std::string &src, char delim, std::vector< std::string > &result)
 
std::string trim (const std::string &str)
 

Function Documentation

◆ split()

void HLTTest::split ( const std::string &  src,
char  delim,
std::vector< std::string > &  result 
)

Definition at line 24 of file TestRecoAlg.cxx.

24  {
25  std::istringstream i(src);
26  std::string element;
27  while ( getline(i, element, delim) ) {
28  result.push_back(element);
29  }
30  }

◆ trim()

std::string HLTTest::trim ( const std::string &  str)

Definition at line 31 of file TestRecoAlg.cxx.

31  {
32  size_t firstNonSpace = str.find_first_not_of(' ');
33  size_t lastNonSpace = str.find_last_not_of(' ');
34  return str.substr( firstNonSpace, lastNonSpace-firstNonSpace+1 );
35  }
get_generator_info.result
result
Definition: get_generator_info.py:21
WriteCellNoiseToCool.src
src
Definition: WriteCellNoiseToCool.py:513
lumiFormat.i
int i
Definition: lumiFormat.py:92
str
Definition: BTagTrackIpAccessor.cxx:11