1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#include "FastSimDataFormats/NuclearInteractions/interface/FSimVertexType.h"
FSimVertexType::FSimVertexType() : vertexType_(ANY) {}
FSimVertexType::FSimVertexType(VertexType vertexType) : vertexType_(vertexType) {}
std::ostream& operator<<(std::ostream& out, const FSimVertexType& v) {
out << "vertexType = " << v.vertexType() << " ";
switch (v.vertexType()) {
case FSimVertexType::ANY:
out << "ANY";
break;
case FSimVertexType::PRIMARY_VERTEX:
out << "PRIMARY";
break;
case FSimVertexType::NUCL_VERTEX:
out << "NUCLEAR";
break;
case FSimVertexType::PAIR_VERTEX:
out << "PAIR";
break;
case FSimVertexType::BREM_VERTEX:
out << "BREM";
break;
case FSimVertexType::DECAY_VERTEX:
out << "DECAY";
break;
case FSimVertexType::END_VERTEX:
out << "END";
break;
case FSimVertexType::PILEUP_VERTEX:
out << "PILEUP";
break;
case FSimVertexType::BSM_VERTEX:
out << "BSM";
break;
default:
out << "CHECK YOUR VERTEX TYPE!!!!";
break;
}
return out;
}
|