WEBVTT

1
00:00:05.160 --> 00:00:06.750
Edgar Carrera: Alright, and let's continue.

2
00:00:09.360 --> 00:00:17.820
Edgar Carrera: So the next the next episode we call these episodes, by the way, the next episode in the lesson is about electrons.

3
00:00:19.500 --> 00:00:19.950
Edgar Carrera: and

4
00:00:22.770 --> 00:00:33.690
Edgar Carrera: And so again, let me remind you of the motivation to look at these specific objects so we're going to be looking at electrons neutrons and jets in in in some detail.

5
00:00:34.620 --> 00:00:49.620
Edgar Carrera: This is because we are going to attempt to to perform a full analysis or a pseudo full analysis on Wednesday, and that is an analysis of Tiki bar the bar cross section measurement.

6
00:00:50.970 --> 00:01:00.960
Edgar Carrera: who's the case, essentially in electrons me on sand jets okay so that's the reason we're focusing on these objects, instead of others.

7
00:01:02.040 --> 00:01:06.390
Edgar Carrera: All right, so a little bit more about electromagnetic objects.

8
00:01:07.440 --> 00:01:19.380
Edgar Carrera: I think this is shared among different detectors but in cms what we do, as I already mentioned, is to to essentially look at the.

9
00:01:20.730 --> 00:01:40.530
Edgar Carrera: At the deposits of energy in the electromagnetic Teller emitter and check whether well, we need to cluster the energy, because the energy of an electron, for instance, is not the boss, it only in one crystal the electromagnetic color mirror uses this tongue state.

10
00:01:42.840 --> 00:01:51.750
Edgar Carrera: let's crystals and the energy is not dispersed in only one are absorbing only one of these crystals but in many.

11
00:01:52.920 --> 00:02:07.440
Edgar Carrera: Because these electrons are these energy they brand of course and they produce photons and some of these photons actually go through some material and they suffer conversion so it's really a shower that you see in the electromagnetic elevator.

12
00:02:08.550 --> 00:02:28.830
Edgar Carrera: And so, some algorithms they run and they try to cluster at the energy and make a match of these clusters of energy with the track that they leave in the tracking system, so this is more or less the way in which the these algorithms work for the reconstruction of electromagnetic objects.

13
00:02:30.030 --> 00:02:34.590
Edgar Carrera: In terms of the Eco electrons and photons are the same.

14
00:02:35.850 --> 00:02:43.050
Edgar Carrera: The only difference, perhaps well they do, they they they do seem to look a little bit different but.

15
00:02:44.130 --> 00:02:53.640
Edgar Carrera: The main difference between them is that they they they have or don't have this track right because one is charged particle and the other one is is not.

16
00:02:55.680 --> 00:03:17.130
Edgar Carrera: Okay, so that's it let's let's jump into the the hands on part and let's explore the electron analyzer so remember, we are trying to look at properties or the electron essentially has properties related to the electromagnetic limiter and the tracker.

17
00:03:18.810 --> 00:03:26.220
Edgar Carrera: And so, so you will find variables that are they have the pieces of those subsystems mainly.

18
00:03:28.470 --> 00:03:43.110
Edgar Carrera: So let's explore the electron analyzer it's an e ED analyzer that is part of the poet group and I already opened this but, if you wish, you can fire it up and your.

19
00:03:44.970 --> 00:03:45.690
Edgar Carrera: preferred.

20
00:03:46.740 --> 00:03:49.860
Edgar Carrera: editor I have it open right here.

21
00:03:53.880 --> 00:04:05.130
Edgar Carrera: Okay, and let's explore it a little bit more in detail, the first thing that you will see at the top, are the head the header libraries.

22
00:04:05.610 --> 00:04:20.820
Edgar Carrera: And some of these libraries, you will find in all of the ED analyzers of the poet ecosystem, but for the electron what they are what we added, in particular, are these.

23
00:04:21.930 --> 00:04:29.670
Edgar Carrera: Is this electron library, of course, and some of the libraries that may be needed in order to extract certain information.

24
00:04:30.090 --> 00:04:35.850
Edgar Carrera: Since the electron, as I mentioned, are related to tracks, as well as perhaps attract components.

25
00:04:36.330 --> 00:04:58.080
Edgar Carrera: And you may also want to update the vertex you know inside this analyzer as well, and so that's why we also added this other libraries and, in essence, you add whatever you need to your ED analyzer in order to extract them for the information you are interested in.

26
00:04:59.220 --> 00:04:59.910
Edgar Carrera: So.

27
00:05:01.110 --> 00:05:04.200
Edgar Carrera: Many, many analysis frameworks.

28
00:05:05.310 --> 00:05:19.410
Edgar Carrera: consist of a single file, with all the objects there, but we found that that is a little bit too much when you are trying to learn this and that's why we separated poet into different pieces, but you could do this as well you know, with no problem.

29
00:05:21.060 --> 00:05:22.860
Edgar Carrera: Okay, and then.

30
00:05:25.050 --> 00:05:31.020
Edgar Carrera: As we already mentioned the the for vector information is stored.

31
00:05:32.520 --> 00:05:37.230
Edgar Carrera: And it's common for many of the objects, but you also have.

32
00:05:39.360 --> 00:05:52.170
Edgar Carrera: Some properties of electrons that have to do with the tracks and one of them is this impact parameter so let's let's look at the impact parameter.

33
00:05:53.100 --> 00:06:02.160
Edgar Carrera: These impact parameter variables are here, for instance, that are these dx busy, and the.

34
00:06:02.700 --> 00:06:15.930
Edgar Carrera: Corresponding uncertainties in these variables, the dx why error and dizzy error So what do they what are they, these are the impact parameters in the X plane in the XY plane.

35
00:06:16.560 --> 00:06:40.830
Edgar Carrera: Right and the impact parameter along the beam axis and they are measured a with them with respect to a reference point, and so the reference point that we are using here comes from the vertex collection and, of course, the primary the primary vertex that's that we're doing.

36
00:06:42.810 --> 00:06:45.990
Edgar Carrera: So the way that we extract information, as you can see here.

37
00:06:47.580 --> 00:06:51.270
Edgar Carrera: We obtained the position of the primary vertex.

38
00:06:53.250 --> 00:06:53.820
Edgar Carrera: and

39
00:06:55.530 --> 00:06:56.220
Edgar Carrera: And then.

40
00:06:58.470 --> 00:06:59.160
Edgar Carrera: The.

41
00:07:00.240 --> 00:07:01.530
Edgar Carrera: These objects.

42
00:07:05.550 --> 00:07:20.010
Edgar Carrera: These electron objects which are of the pad class remember that we imported we restricted from the file we structure this bad objects, so they have their assigned class to be able to extract information from them.

43
00:07:21.030 --> 00:07:38.940
Edgar Carrera: They already have these methods in which are, by which you can extract this information, so this is how it's done so, you call the object, you call the method which claims the track and you get the impact parameter that you're interested in.

44
00:07:39.990 --> 00:07:44.280
Edgar Carrera: And that's that's essentially the logic of the code.

45
00:07:45.420 --> 00:08:00.690
Edgar Carrera: We have so many variables that we won't be able to explore every single detail of what is done in each of the analyzers but the most important thing I guess is to understand how the logic works, and this is how it works.

46
00:08:03.810 --> 00:08:06.240
Edgar Carrera: Okay, I hope, that's clear.

47
00:08:10.800 --> 00:08:24.810
Edgar Carrera: And yeah other methods are are very evident like the charge, you know charge access for other object for for all the objects, not only the electron, even if they are not charged with just that we don't use that.

48
00:08:28.620 --> 00:08:29.130
Edgar Carrera: Okay.

49
00:08:30.180 --> 00:08:33.720
Edgar Carrera: Then you can see other variables that.

50
00:08:35.700 --> 00:08:51.540
Edgar Carrera: are called for instance electron ID and they have a tag and the tag mentioned something like cut based electron ID or nba electron ID So these are tags that.

51
00:08:52.620 --> 00:08:58.350
Edgar Carrera: Actually, are represent a group of requirements.

52
00:08:59.610 --> 00:09:04.200
Edgar Carrera: by which these electrons can be identified.

53
00:09:05.280 --> 00:09:11.250
Edgar Carrera: And you can see, in the name something like loose or medium or tight.

54
00:09:12.150 --> 00:09:30.870
Edgar Carrera: yeah and they usually expressed that the the electron can be identified very loosely you know they can be mistaken by other particles, but they usually have very high efficiency, you get a lot of these electrons even they are not real electrons or you can have a very tight electron.

55
00:09:31.920 --> 00:09:41.040
Edgar Carrera: where you are very certain with a very high probability that is actually an electron but then your efficiency is is lower.

56
00:09:42.270 --> 00:09:43.380
Edgar Carrera: Or you can have.

57
00:09:44.730 --> 00:10:03.390
Edgar Carrera: Some criteria which is called veto that allows you to veto on on on extra particles extra electrons, for instance, so these are usually used in the different analysis they are called lose medium type and we have an extra one called beta.

58
00:10:05.040 --> 00:10:08.940
Edgar Carrera: And the tutorial you can see, you can probably.

59
00:10:10.020 --> 00:10:12.000
Edgar Carrera: get more information about this.

60
00:10:14.370 --> 00:10:20.340
Edgar Carrera: As I said, we have two types multivariate electron identification and cat based.

61
00:10:21.390 --> 00:10:21.960
Edgar Carrera: and

62
00:10:23.730 --> 00:10:27.960
Edgar Carrera: Usually this way, this way of arranging ID.

63
00:10:30.090 --> 00:10:51.600
Edgar Carrera: is done by using working points and we define certain efficiency for this working points and they're working points that we are mentioning, for instance for multivariate electron identification are these working point 90 and 80 and they refer to the efficiency of these assignments.

64
00:10:57.780 --> 00:11:07.530
Edgar Carrera: And here, you have under the cut based electron it also the the average deficiencies for this criteria for Vito Lewis medium and tight.

65
00:11:08.730 --> 00:11:23.190
Edgar Carrera: And at this very short description of they usage what they are good for usually so if you are in a in an environment of very high backgrounds, then you want to use the tight.

66
00:11:24.960 --> 00:11:25.950
Edgar Carrera: identification.

67
00:11:27.510 --> 00:11:33.690
Edgar Carrera: But if your backgrounds are low and you're more interested in efficiency, then you can choose the loose identification.

68
00:11:35.190 --> 00:11:38.820
Edgar Carrera: There are other type of variables.

69
00:11:39.840 --> 00:11:41.160
Edgar Carrera: Like isolation.

70
00:11:42.300 --> 00:11:47.130
Edgar Carrera: And the way that they are computer are very similar and different.

71
00:11:48.690 --> 00:11:56.790
Edgar Carrera: For different objects and usually what we are interested in is the relative isolation variables.

72
00:11:58.680 --> 00:12:07.620
Edgar Carrera: Essentially, what it means is that you, you try to account for the amount of particles that are around.

73
00:12:08.790 --> 00:12:17.280
Edgar Carrera: A certain particle of interest and you some the energy of these particles around and usually.

74
00:12:18.390 --> 00:12:30.300
Edgar Carrera: you're interested in particles that are not very close to energetic ones other energetic particles and so what you do is you cluster this particles around the Cone.

75
00:12:30.930 --> 00:12:42.060
Edgar Carrera: Some their their energy and divided by the energy of the particle itself, so this is called the relative isolation, I hope that is clear for one for those who are not.

76
00:12:43.890 --> 00:12:46.200
Edgar Carrera: Extremely familiar with these variables.

77
00:12:47.550 --> 00:12:50.730
Edgar Carrera: But Okay, maybe here, it is a better explained.

78
00:12:54.120 --> 00:13:06.960
Edgar Carrera: And in the code, you can see that we have this kind of variables, for instance, we have this is so variable it's called he called PF cluster is a variable.

79
00:13:09.360 --> 00:13:12.090
Edgar Carrera: By the way, this working points and these.

80
00:13:14.280 --> 00:13:20.970
Edgar Carrera: methods are appropriate for 2015 analysis, if you go to run one you have different types of.

81
00:13:22.500 --> 00:13:26.370
Edgar Carrera: definitions for what is lose or what is tight, etc.

82
00:13:27.960 --> 00:13:30.990
Edgar Carrera: Okay, this this might be very challenging perhaps.

83
00:13:32.400 --> 00:13:37.620
Edgar Carrera: But I thought it was a good idea to try to really have something.

84
00:13:39.990 --> 00:13:40.410
Edgar Carrera: That.

85
00:13:41.670 --> 00:13:55.530
Edgar Carrera: yeah that that is challenging for you, so there is there is just one task for this lesson which will probably take us the rest of the of the session and it's about adding this.

86
00:13:57.060 --> 00:14:08.700
Edgar Carrera: Variable which doesn't exist in the in the code, so if I go here I don't find any variable that is called, I am sorry, as IP 3D.

87
00:14:10.050 --> 00:14:13.050
Edgar Carrera: And we're going to need it and we're gonna need it because.

88
00:14:14.430 --> 00:14:24.240
Edgar Carrera: The the analysis that we're trying to replicate at least partially I put the the link here at the publication of the cms analysis results.

89
00:14:24.630 --> 00:14:30.810
Edgar Carrera: But if you, you were you were to read this Okay, at some point, you will find something like this.

90
00:14:31.500 --> 00:14:47.940
Edgar Carrera: In the description, the selection description, it says non-problem leptons that come from the case of long live hydrants are rejected by requiring that the significance of the three dimensional dimensional impact parameter of the laptop track.

91
00:14:48.510 --> 00:15:05.520
Edgar Carrera: relative to the primary to the event vertex is less than for a standard deviations and apparently this requirement effectively reduces the contamination for multijet for CD events, while keeping the high efficiency high efficiency for the signal.

92
00:15:06.750 --> 00:15:15.300
Edgar Carrera: So what we realized, is that this variable doesn't exist in the current version of a poet, and so we have to add it.

93
00:15:16.380 --> 00:15:19.770
Edgar Carrera: and your task is to try to add this variable.

94
00:15:21.600 --> 00:15:24.780
Edgar Carrera: So we can use it later in our analysis.

95
00:15:27.270 --> 00:15:29.400
Edgar Carrera: That means that you're going to have to.

96
00:15:30.540 --> 00:15:33.720
Edgar Carrera: fiddle with the electron analyzer code.

97
00:15:35.490 --> 00:15:35.820
Edgar Carrera: and

98
00:15:36.840 --> 00:15:48.600
Edgar Carrera: It is an, it is an impact parameter, just like the you know, just like the, it is very similar to the dx dizzy the why well the errors parameters.

99
00:15:49.680 --> 00:15:58.350
Edgar Carrera: But in three dimensions Okay, you know the grammar is the distance between the vertex and the to the closest point to the track.

100
00:15:59.550 --> 00:16:08.310
Edgar Carrera: We separate this in XY plane and in the Z direction, but this 3D is, essentially, that is, the 3D parameter.

101
00:16:09.960 --> 00:16:15.090
Edgar Carrera: So I give you a few hints here in order to.

102
00:16:16.560 --> 00:16:27.060
Edgar Carrera: for you to to be able to to implement this variable in our code and what I will do is to try to work with you.

103
00:16:28.650 --> 00:16:38.580
Edgar Carrera: and see if we managed to add this variable Okay, is that is that clear at least the the idea of the task is, is it clear.

104
00:16:41.070 --> 00:16:46.950
Edgar Carrera: In in in in principle is a very simple variable, it is a little bit tricky to implement.

105
00:16:48.060 --> 00:17:02.880
Edgar Carrera: But it will show you the intricacies of the code and perhaps this is the most difficult part in doing analysis with cms open data is is get to know or get the feeling of.

106
00:17:04.350 --> 00:17:06.180
Edgar Carrera: Or the intuition, where to look.

107
00:17:15.210 --> 00:17:15.990
Edgar Carrera: Can you do it.

108
00:17:32.640 --> 00:17:33.270
Edgar Carrera: alright.

109
00:17:36.030 --> 00:17:37.110
Edgar Carrera: So how are we doing with.

110
00:17:46.410 --> 00:17:47.400
Edgar Carrera: Oh okay.

111
00:17:49.920 --> 00:17:51.510
Edgar Carrera: All right, okay.

112
00:17:52.920 --> 00:17:54.660
Edgar Carrera: let's let's try to work on this.

113
00:17:57.300 --> 00:18:06.720
Edgar Carrera: Okay let's I wrote this games for myself, because I don't remember from from from a top of my head have to do this, so all right and.

114
00:18:08.610 --> 00:18:17.160
Edgar Carrera: So yeah in principle, if you want to get this variable IP 3D they impact parameter in three dimensions that's rather easy because.

115
00:18:18.510 --> 00:18:31.410
Edgar Carrera: Look, if I if you go to the header of this electron analyzer, you will find the class that does that gives you almost all the information that you need, which is the.

116
00:18:31.770 --> 00:18:44.490
Edgar Carrera: pad candidates interface electron that H right, and if you go there and I have the link right here, if you go there and look in the cms sw repository remember you always have to.

117
00:18:45.360 --> 00:18:54.510
Edgar Carrera: You always have to check that the diversion of the repository is the correct the correct one, and it is, believe me, I made sure about that.

118
00:18:56.340 --> 00:19:07.950
Edgar Carrera: So if you explore this code, you will see a different methods that give you different quantities Okay, and if you search for IP 3D, then you will find.

119
00:19:10.200 --> 00:19:11.130
Edgar Carrera: me open this again.

120
00:19:13.740 --> 00:19:15.150
Edgar Carrera: To the exact place.

121
00:19:16.200 --> 00:19:18.540
Edgar Carrera: Then you will find yeah, you will find.

122
00:19:22.170 --> 00:19:24.480
Edgar Carrera: i'm looking at the wrong thing sorry.

123
00:19:30.930 --> 00:19:33.060
Edgar Carrera: Yes, this one here.

124
00:19:36.540 --> 00:19:37.920
Edgar Carrera: yeah so so.

125
00:19:39.210 --> 00:19:50.910
Edgar Carrera: So, again I am looking at the usual pad candidates electron class from that we are using essentially if you really go into the code.

126
00:19:51.330 --> 00:20:04.320
Edgar Carrera: We are using to extract all the available information that an electron object can give us Okay, and if you scroll down, then you will find this method, which gives us the.

127
00:20:05.070 --> 00:20:24.630
Edgar Carrera: The impact parameter in 3D So if you needed this variable it is really easy, so you just call this method here, where you where you assign the values for all these variables okay and, just like the the X, Y and such.

128
00:20:25.800 --> 00:20:33.780
Edgar Carrera: Right and then, and then you get the the 3D parameter, I believe you don't even have to call the track to do that okay.

129
00:20:34.680 --> 00:20:56.580
Edgar Carrera: So that's that would be easy, but, but the problem is that these associated significance on this variable is not that easy to get and that's the one that we need, so there are a few hints, for instance, if you open this other piece of code.

130
00:20:58.800 --> 00:21:06.630
Edgar Carrera: Which is the pat electron producer Actually, this is a piece of code that puts the information that we are seeing in the files.

131
00:21:06.930 --> 00:21:18.750
Edgar Carrera: That are open their public that we use in the collaboration, essentially, so this is the pad producer Okay, this is the thing that makes the information in our files.

132
00:21:20.460 --> 00:21:24.510
Edgar Carrera: And there is a mention of this variable here.

133
00:21:26.460 --> 00:21:33.060
Edgar Carrera: Because apparently this variable is used for these multivariate points and.

134
00:21:34.080 --> 00:21:35.940
Edgar Carrera: That doesn't really matter but.

135
00:21:36.960 --> 00:21:40.290
Edgar Carrera: But what we can see here is that.

136
00:21:41.610 --> 00:21:49.470
Edgar Carrera: it's a chain, you can realize the chain of or the method that is used to extract information there's information.

137
00:21:49.980 --> 00:22:08.160
Edgar Carrera: So how do you read this, you can see that there is an object here and he's accessing some value Okay, so if you see second maybe it's a map for those who are familiar with c++ so it's a map and then and then yeah this variable is is this right is a pair actually.

138
00:22:09.210 --> 00:22:22.590
Edgar Carrera: And and yeah this pair is is made by these other class, which is the IP tools and everything all the classes, that you see here need to be in cms w so you can find the code.

139
00:22:23.010 --> 00:22:36.450
Edgar Carrera: And it exists because he has a w is is open, so the other so So the first idea would be to go there and and reach for this class and see how this.

140
00:22:37.230 --> 00:22:50.610
Edgar Carrera: class is what it does and how its constructed and what is the element that that gives this class so that's what we are going to do okay so i'm going to go to.

141
00:22:57.660 --> 00:23:01.710
Edgar Carrera: Oh yeah and so before before going there, you can see that.

142
00:23:04.920 --> 00:23:22.140
Edgar Carrera: yeah you can see that as arguments to this this class you're passing these TT variable, which is a transient track okay in the transient tracks are built from a track track from an object could be an electron.

143
00:23:23.820 --> 00:23:38.970
Edgar Carrera: And you can see here that in this case is there is actually an electric so we can get the track of the electron assign it to this to this container and then pass it to this track builder That gives you a transient track it's basically trying to to.

144
00:23:40.020 --> 00:23:49.620
Edgar Carrera: to access the information of original tracks and then you pass it a primary vertex from which you want to measure the impact parameter as a reference.

145
00:23:50.490 --> 00:24:10.620
Edgar Carrera: And and you're done so that's the idea that's the logic of this and we're going to try to do something similar, but first we need to see if this object can give us the corresponding significance of that and that's why we're going to explore these IP to IP tool class I have put here.

146
00:24:12.780 --> 00:24:15.690
Edgar Carrera: Some so you can read later about this note.

147
00:24:16.740 --> 00:24:29.610
Edgar Carrera: But i'm gonna check the IP to class so in the IP to class, if you remember the method is called absolute impact parameter in 3D so I can search for that.

148
00:24:31.170 --> 00:24:32.700
Edgar Carrera: And I find oops.

149
00:24:35.700 --> 00:24:36.480
Edgar Carrera: Okay, open.

150
00:24:38.580 --> 00:24:38.760
Now.

151
00:24:39.960 --> 00:24:40.560
Edgar Carrera: I might.

152
00:24:43.620 --> 00:24:56.940
Edgar Carrera: I, I made a mistake, I this link is not really the the one to IP tools, there are so many links that I messed up here, I hope I remember to change it, but it doesn't matter, we can find it.

153
00:24:57.990 --> 00:24:58.770
Edgar Carrera: can find it.

154
00:24:59.970 --> 00:25:02.760
Edgar Carrera: And the way that I usually find things is.

155
00:25:04.080 --> 00:25:05.430
Edgar Carrera: Is a good exercise.

156
00:25:08.820 --> 00:25:10.800
Edgar Carrera: Is I just copy the.

157
00:25:13.770 --> 00:25:14.760
Edgar Carrera: Question class there.

158
00:25:17.070 --> 00:25:21.600
Edgar Carrera: and find it right so it's in tracking tools IP tools interface.

159
00:25:24.300 --> 00:25:27.690
Edgar Carrera: And so i'm going to try to remember that.

160
00:25:28.980 --> 00:25:32.820
Edgar Carrera: And look for that in the called.

161
00:25:37.470 --> 00:25:38.790
Edgar Carrera: cms s w.

162
00:25:39.870 --> 00:25:42.300
Edgar Carrera: Right tracking tools IP tools.

163
00:25:47.310 --> 00:25:50.910
Edgar Carrera: So it seems as though there is code for almost anything that you want to do.

164
00:25:52.320 --> 00:25:54.150
Edgar Carrera: You just I just have to find it.

165
00:25:56.550 --> 00:26:07.050
Edgar Carrera: And if you can find it then you can you can reach out to us using the the open data forum and we'll try to help.

166
00:26:08.640 --> 00:26:13.890
Edgar Carrera: yeah I have to, I have to check for the the correct version because we're using seven six.

167
00:26:15.330 --> 00:26:17.220
Edgar Carrera: X I guess.

168
00:26:19.170 --> 00:26:23.010
Edgar Carrera: And then I now can find the.

169
00:26:24.270 --> 00:26:27.360
Edgar Carrera: Was it call it absolute impact parameter.

170
00:26:31.710 --> 00:26:38.490
Edgar Carrera: Oh yes, so the version is we do this in cms w using the branch enough get.

171
00:26:40.110 --> 00:26:49.230
Edgar Carrera: Right and so, if you are working with run one data, you have to use the fight 332, I believe, so that would be the five three x.

172
00:26:50.250 --> 00:27:00.390
Edgar Carrera: Right is generic via three x, but we are using for run to the seven six X and so that's the one that I have chosen.

173
00:27:01.140 --> 00:27:08.280
Edgar Carrera: It gives you the correct version, because if this method doesn't exist, and these are that released then you're not going to be able to use it.

174
00:27:09.120 --> 00:27:17.790
Edgar Carrera: And so here's the absolute impact parameter is the first one and yeah you can also see that it takes a transient track and it takes a vertex.

175
00:27:18.480 --> 00:27:35.790
Edgar Carrera: So that was already know known and but the but the object that it expels is this measurement one D, so the measurement one D is in this header and so you have to go to this measurement one D to see what it gives you.

176
00:27:37.170 --> 00:27:38.610
Edgar Carrera: And I hope I can.

177
00:27:39.900 --> 00:27:43.050
Edgar Carrera: I can put the correct I was the link here.

178
00:27:44.130 --> 00:27:53.100
Edgar Carrera: I can follow my own instruction but anyway and a I have put the link of the of the measurement windy here, this is in the needle method.

179
00:27:54.150 --> 00:28:15.870
Edgar Carrera: And if I go there, I can find so this is the class measurement one D is the correct version, and I can find the significance, I mean I mean I can find the other methods that it gives and among them, I find the significance, so in the original code that I presented.

180
00:28:17.640 --> 00:28:30.690
Edgar Carrera: Right this object of this class measurement one D is extracted using this IP to class which is which builds an object, using the transient tracks, that the primary vertex and then, once once you have it.

181
00:28:31.980 --> 00:28:37.200
Edgar Carrera: It access because it's a it's a pair it's access the value okay.

182
00:28:38.370 --> 00:28:46.560
Edgar Carrera: Which is the method that we just saw here value, it also has an error, but it also has a significance and that's the one we want.

183
00:28:47.640 --> 00:29:01.620
Edgar Carrera: And so that's what we have to implement okay and that's what I have done or that's what we should be doing in order to get the the correct answer.

184
00:29:02.880 --> 00:29:17.280
Edgar Carrera: It looks like maybe we're not gonna have time to do explicitly the or maybe yeah that's right, so I have the recipe here is the solution right so i'm going to do it, step by step.

185
00:29:18.780 --> 00:29:19.380
Edgar Carrera: So.

186
00:29:21.150 --> 00:29:39.420
Edgar Carrera: This is our code, the original code and I want to say this information in the route five okay so First, I have to copy these lines and make a space or declare them here i'm going to do it underneath here, I can copy this right, so I declare them.

187
00:29:40.620 --> 00:29:53.160
Edgar Carrera: I declare them, so I can save this space for them in my file because I need them right, I say both I only need the the SI P 3D the significance, but I am going to save the other one to it doesn't hurt.

188
00:29:54.510 --> 00:30:10.020
Edgar Carrera: Then I have to, I have to add these variables, to the branches of the root file, this is just a route, you know can escape it Okay, it follows the same logic as the other ones so.

189
00:30:11.250 --> 00:30:12.690
Edgar Carrera: I just add them here.

190
00:30:15.420 --> 00:30:15.960
Edgar Carrera: All right.

191
00:30:19.230 --> 00:30:23.130
Edgar Carrera: I give it like nice names, so I remember what they are.

192
00:30:24.720 --> 00:30:35.310
Edgar Carrera: And, and then I have to clear this variables that I just created and the clearing goes into the event loop so i'll just put them underneath here.

193
00:30:38.730 --> 00:30:39.210
Edgar Carrera: Okay.

194
00:30:42.330 --> 00:30:45.510
Edgar Carrera: And then, and, finally and most importantly.

195
00:30:46.710 --> 00:30:55.200
Edgar Carrera: You have to strike the information, so this is snippet that's exactly what we were trying to to do.

196
00:30:58.350 --> 00:31:05.010
Edgar Carrera: If you check the code of you check the code with attention you get all the pieces that you need in order to.

197
00:31:07.230 --> 00:31:21.990
Edgar Carrera: To get this right, so I put this QA here, so you know where to where to place it, it will go right under the underneath the last of the variables that we have in the file, but before perhaps.

198
00:31:22.740 --> 00:31:35.280
Edgar Carrera: The the counter of the electric so that should be right here, so I have all my variables, they are easy to get because essentially I got them directly.

199
00:31:36.390 --> 00:31:48.870
Edgar Carrera: To get these other variables, I will place them here and so let's check the logic, so you need this object which is called the truck builder, by the way, you need.

200
00:31:49.500 --> 00:32:03.120
Edgar Carrera: Access to the event setup meaning the event conditions, and we have to take care of the well yeah, we have to take care of this in the configuration file we'll do that later and then.

201
00:32:05.310 --> 00:32:09.390
Edgar Carrera: And then you get this records from the event setup.

202
00:32:10.620 --> 00:32:17.850
Edgar Carrera: And then you get the transit track using the track of the electron G the electron that you just got.

203
00:32:19.110 --> 00:32:20.580
Edgar Carrera: Here the same electron.

204
00:32:22.380 --> 00:32:30.960
Edgar Carrera: And then you get these objects that we were looking at the IP three db or you can call it whatever you want, but has to be has to have.

205
00:32:31.800 --> 00:32:45.330
Edgar Carrera: has to come from that class and then you just stored information your story, the second value and then you start the second significance because that's the method that we discovered the name.

206
00:32:46.710 --> 00:32:52.830
Edgar Carrera: Before Okay, so that should do it for the code I don't think i'm missing anything else.

207
00:32:55.110 --> 00:32:55.650
Edgar Carrera: and

208
00:32:57.030 --> 00:33:05.010
Edgar Carrera: yeah this little note that I that I put here in the cues tells you that you need access to this event conditions.

209
00:33:06.060 --> 00:33:18.450
Edgar Carrera: Why, because if you want to build this transcend tracks, you need to have access, for instance, to the geometry of the detector and the magnetic field, and these are historical.

210
00:33:20.340 --> 00:33:35.580
Edgar Carrera: Information so they are stored in the database of the of the experiment and we made a copy of this database already available in your container and the way that you access them is through well important these.

211
00:33:37.770 --> 00:33:49.320
Edgar Carrera: These configuration is snippets but also accessing these files that are the snapshots that we put already in your container.

212
00:33:49.830 --> 00:34:04.560
Edgar Carrera: So this is, this is all what these lines do give you access to the to the information you need in order to build transcend tracks so i'm just going to copy this and put it in my configuration file.

213
00:34:05.520 --> 00:34:15.600
Edgar Carrera: Which is here is the port and I put it anywhere, I want, but let's say that I will go underneath the loomis section already.

214
00:34:18.330 --> 00:34:25.530
Edgar Carrera: yeah yeah there, I guess, there is fine, so I just saved this, I have to re compile.

215
00:34:27.780 --> 00:34:29.610
Edgar Carrera: Because I modified my.

216
00:34:31.980 --> 00:34:32.310
Edgar Carrera: oops.

217
00:34:36.420 --> 00:34:37.740
Edgar Carrera: My electron analyzer.

218
00:34:44.100 --> 00:34:48.870
Edgar Carrera: And then I have to run to check whether I get these variable in my output fire.

219
00:34:54.300 --> 00:34:58.590
Edgar Carrera: So Oh, and I made a mistake, of course.

220
00:35:00.300 --> 00:35:03.720
Edgar Carrera: i'm missing something actually let's see.

221
00:35:08.610 --> 00:35:13.470
Edgar Carrera: yeah and I know what it is, so there is actually a missing piece here.

222
00:35:15.390 --> 00:35:16.980
Edgar Carrera: But don't worry because.

223
00:35:18.870 --> 00:35:29.670
Edgar Carrera: I I knew this was going to happen and because you always forget something when you're trying to build instructions, so I I made this copy.

224
00:35:30.300 --> 00:35:38.880
Edgar Carrera: And you can download the poet file and the electron analyzer with this variable and the bill five that's why we are missing.

225
00:35:39.330 --> 00:35:59.760
Edgar Carrera: So one of my hints it tells you that you have to remember to use the correct bill file yeah and it's good that it failed because it reminds us that we have a bill file here that checks for the for the libraries, that you need in order to.

226
00:36:01.110 --> 00:36:02.100
Edgar Carrera: In order to.

227
00:36:03.720 --> 00:36:25.020
Edgar Carrera: to compile correctly, and so it turns out that we need to add the transient tracks library and the IP tools track, since we don't have time i'm going to just download these these files i'm going to download the electron analyzer and the bill file Okay, and you will see what I missed.

228
00:36:26.370 --> 00:36:39.360
Edgar Carrera: So the way that i'm going to do this actually I have them and you all have them in the trunk here so i'm just going to copy them over this is going to be.

229
00:36:40.380 --> 00:36:43.680
Edgar Carrera: The electron one so.

230
00:36:44.850 --> 00:36:49.260
Edgar Carrera: i'm going to copy it like electron that CC and.

231
00:36:50.550 --> 00:36:50.850
Edgar Carrera: ups.

232
00:36:52.680 --> 00:36:54.930
Edgar Carrera: And i'm going to copy the.

233
00:36:56.340 --> 00:36:58.380
Edgar Carrera: field fire which I think is also one.

234
00:37:03.090 --> 00:37:03.480
Edgar Carrera: Okay.

235
00:37:05.190 --> 00:37:19.080
Edgar Carrera: And then i'm going to do a scram be again and you should combine meanwhile we can check what I missed so everything was fine, but I guess, I had to.

236
00:37:19.980 --> 00:37:35.670
Edgar Carrera: Look, that we are using this primary vertex here that we had to define above and this is what I had missed I had missed this line, also in my instructions and I should remember to to add them.

237
00:37:37.590 --> 00:37:40.650
Edgar Carrera: This line was missing but, but you can.

238
00:37:41.970 --> 00:37:44.880
Edgar Carrera: You can extract it from the from the full solution.

239
00:37:46.410 --> 00:37:49.380
Edgar Carrera: Okay, so it compiled and if I run.

240
00:37:52.140 --> 00:37:52.410
Edgar Carrera: With.

241
00:37:54.390 --> 00:37:57.030
Edgar Carrera: your usual way of running.

242
00:37:59.790 --> 00:38:08.730
Edgar Carrera: You will see, see see the first thing is that you, you get a message saying that you are accessing actually the cms conditions, the database based conditions.

243
00:38:09.240 --> 00:38:33.000
Edgar Carrera: This this database of stores information about calibrations geometry alignment magnetic field, etc, so for certain routines this is needed and the truck transit tracks building is, this is an example Okay, so if I check my output, I should have this variable.

244
00:38:34.920 --> 00:38:38.250
Edgar Carrera: electron variable already in.

245
00:38:39.900 --> 00:38:40.530
Edgar Carrera: stored.

246
00:38:41.940 --> 00:38:42.360
Edgar Carrera: and

247
00:38:52.740 --> 00:38:53.430
Edgar Carrera: it's not there.

248
00:38:55.350 --> 00:38:55.980
Edgar Carrera: What happened.

249
00:39:41.160 --> 00:39:42.690
Edgar Carrera: Nice looks okay.

250
00:39:58.740 --> 00:40:00.000
Edgar Carrera: The files.

251
00:40:03.840 --> 00:40:04.350
Edgar Carrera: file.

252
00:40:06.060 --> 00:40:07.320
happens with the fire.

253
00:40:13.980 --> 00:40:18.840
Edgar Carrera: hey I think I did, but it might have gone wrong, let me check.

254
00:40:26.070 --> 00:40:26.940
Edgar Carrera: yeah that's.

255
00:40:29.430 --> 00:40:32.640
Edgar Carrera: yeah I don't have the right, build file for some reason.

256
00:40:47.610 --> 00:40:52.050
Edgar Carrera: It might have given me an error that I didn't see that let's compile again.

257
00:41:01.440 --> 00:41:02.970
Edgar Carrera: i'm taking time from coffee.

258
00:41:06.810 --> 00:41:07.620
Coffee so.

259
00:41:13.800 --> 00:41:16.140
Edgar Carrera: yeah now, it looks like it's something well.

260
00:41:17.910 --> 00:41:19.620
Edgar Carrera: It compiler ready electrons.

261
00:41:35.280 --> 00:41:37.560
Edgar Carrera: yeah that'll be that'll be great.

262
00:41:40.590 --> 00:41:41.040
Edgar Carrera: yeah.

263
00:41:42.240 --> 00:41:51.660
Edgar Carrera: it's always the time that it takes to do these things, but I I put the solution and the files I I think I made sure that the files that I put at the end.

264
00:41:52.020 --> 00:42:11.250
Edgar Carrera: Or the actual files that if you download them and name them correctly, it will run and compile and give you the correct answer so you can go back and check what we added compared to the original version and that'll stay there that branch of the poet will stay there for reference.

265
00:42:23.250 --> 00:42:23.880
Right now.

266
00:42:27.300 --> 00:42:28.620
to download the files.

267
00:42:39.540 --> 00:42:40.020
Edgar Carrera: events.

268
00:42:52.560 --> 00:42:52.800
On.

269
00:43:00.510 --> 00:43:09.870
Edgar Carrera: yeah that's my output that route, if you write it, I mean it over right, yes, you have to be when I keep the file they'll put you have to rename it.

270
00:43:12.270 --> 00:43:13.110
Edgar Carrera: It over right.

271
00:43:21.840 --> 00:43:25.470
Edgar Carrera: And now I think it's taking longer times means that.

272
00:43:27.150 --> 00:43:28.170
Edgar Carrera: Something works.

273
00:43:29.850 --> 00:43:35.340
Edgar Carrera: and Michael Malaysian is taking a long time, because the zoom takes all the cpu.

274
00:43:39.270 --> 00:43:39.810
Edgar Carrera: it's amazing.

275
00:43:46.350 --> 00:43:49.050
Edgar Carrera: Not not not is not so fast okay.

276
00:43:50.520 --> 00:43:50.850
Edgar Carrera: well.

277
00:43:55.590 --> 00:43:59.760
Edgar Carrera: how fast it was yeah maybe I made a mistake, maybe, maybe I did get some error or something.

278
00:44:15.600 --> 00:44:26.520
Edgar Carrera: yeah, so this is a special case because most of the variables that most analysts will use are the ones that we have in these analyzers.

279
00:44:27.930 --> 00:44:30.450
Edgar Carrera: But sometimes you have to get.

280
00:44:31.560 --> 00:44:35.160
Edgar Carrera: Variable like this that is not really implemented yet or.

281
00:44:36.630 --> 00:44:38.550
Edgar Carrera: It is somewhere, but you have to.

282
00:44:39.630 --> 00:44:41.100
Edgar Carrera: understand how to extract it.

283
00:44:55.050 --> 00:44:58.140
Edgar Carrera: Okay, hopefully this time I will get.

284
00:45:00.450 --> 00:45:01.320
Edgar Carrera: Something.

285
00:45:04.500 --> 00:45:08.610
Edgar Carrera: And i'm surprised that you don't get events, maybe the year.

286
00:45:09.720 --> 00:45:19.470
Edgar Carrera: wiped out by this data quality checker, but I think I I I checked and we were getting some events.

287
00:45:20.850 --> 00:45:21.660
Edgar Carrera: or.

288
00:45:24.390 --> 00:45:26.250
Edgar Carrera: OK OK OK.

289
00:45:28.230 --> 00:45:30.720
Edgar Carrera: OK thanks that's good.

290
00:45:33.330 --> 00:45:40.830
Edgar Carrera: yeah now it's making the you see you get a message here saying that that transcend tracks are being.

291
00:45:42.510 --> 00:45:43.380
Edgar Carrera: Well, at least.

292
00:45:44.580 --> 00:45:51.030
Edgar Carrera: The tracker parameter he has module is being called so I have good hopes that.

293
00:45:52.230 --> 00:45:53.280
Edgar Carrera: It works, this time.

294
00:45:57.510 --> 00:45:59.760
Edgar Carrera: that's jack electrons.

295
00:46:00.810 --> 00:46:06.960
Edgar Carrera: And yeah the variables are here, and you can see, this is the variable.

296
00:46:09.660 --> 00:46:23.880
Edgar Carrera: That this is the variable itself is the impact parameter in three dimensions and the significance in the significance is is the one that we need, because the original analysis uses this variable and so we're gonna.

297
00:46:25.140 --> 00:46:29.640
Edgar Carrera: yeah we're gonna we're gonna have to use this variable in our analysis on Wednesday.

298
00:46:30.660 --> 00:46:33.150
Edgar Carrera: Alright, hope that wasn't too confusing.

299
00:46:34.980 --> 00:46:38.610
Edgar Carrera: But I wanted to show you a little bit more than just.

300
00:46:39.960 --> 00:46:45.450
Edgar Carrera: The list of variables that are our existing poet because cms is w is really.

301
00:46:47.190 --> 00:46:49.080
Edgar Carrera: A very comprehensive.

302
00:46:51.000 --> 00:46:54.300
Edgar Carrera: repository of detector information essentially.

303
00:46:58.170 --> 00:47:02.640
Edgar Carrera: Okay, so should we stop here and go for a break.

304
00:47:05.640 --> 00:47:07.290
Edgar Carrera: To stop the recording.

