#include <PndFsmDetFactory.h>
Definition at line 43 of file PndFsmDetFactory.h.
PndFsmDetFactory::PndFsmDetFactory |
( |
| ) |
|
PndFsmDetFactory::~PndFsmDetFactory |
( |
| ) |
|
Definition at line 93 of file PndFsmDetFactory.cxx.
References PndFsmAbsDet::setName(), PndFsmAbsDet::setStorePid(), and TString.
Referenced by PndFastSim::AddDetector(), PndFsmCmpDet::AddDetector(), PndFsmCombiDet::AddDetector(), create(), PndFsmCmpDet::SubtractDetector(), and PndFsmCombiDet::SubtractDetector().
97 if (tname.BeginsWith(
"EmcBarrel")){
102 if (tname==
"EmcFwCap"){
107 if (tname==
"EmcBwCap"){
132 if (tname.BeginsWith(
"EffTracker")){
137 if (tname==
"DrcBarrel"){
143 if (tname==
"DrcDisc"){
174 if (tname.BeginsWith(
"ScSttAlone") || tname.BeginsWith(
"ScSttMvd") || tname.BeginsWith(
"ScSttMvdGem") ||
175 tname.BeginsWith(
"ScSttGem") || tname.BeginsWith(
"ScMvdGem") || tname.BeginsWith(
"ScMvdGemFts") ||
176 tname.BeginsWith(
"ScMvdFts") || tname.BeginsWith(
"ScGemFts") || tname==
"ScFts" ) {
181 if (tname==
"MvdPid") {
186 if (tname.BeginsWith(
"ScEmcPidBarrel") || tname==
"ScEmcPidFwCap" || tname==
"ScEmcPidBwCap" || tname==
"ScEmcPidFS"){
192 if (tname==
"SttPid"){
197 if (tname==
"ScVtxMvd" || tname==
"ScVtxNoMvd") {
202 if (tname==
"ScMdtPidBarrel" || tname==
"ScMdtPidForward") {
210 if (tname.BeginsWith(
"SimpleTracker")) {
215 if (tname.BeginsWith(
"SimpleVtx")) {
220 if (tname==
"IdealPid") {
226 if (tname==
"CmpDet") {
231 if (tname==
"CombiDet") {
236 std::cout <<
" -W- (PndFsmDetFactory::create) Unknown detector: <"<<
name<<
">"<< std::endl;
void setStorePid(Bool_t doespid=kTRUE)
void setName(std::string &name)
PndFsmAbsDet * PndFsmDetFactory::create |
( |
std::string & |
name, |
|
|
std::string |
par |
|
) |
| |
Definition at line 242 of file PndFsmDetFactory.cxx.
References create(), CStrTok::GetFirst(), and CStrTok::GetNext().
253 const char *src=
par.data();
256 char* token = tokenizer.
GetFirst(csrc,
" \t");
260 parList.push_back(token);
261 token=tokenizer.
GetNext(
" \t");
std::list< std::string > ArgList
char * GetFirst(char *lpsz, const char *lpcszDelimiters)
PndFsmAbsDet * create(std::string &name, ArgList &par)
char * GetNext(const char *lpcszDelimiters)
The documentation for this class was generated from the following files: