- Docente: Cristian Massimi
- Credits: 10
- Language: Italian
- Moduli: Matteo Franchini (Modulo 1) Matteo Franchini (Modulo 2) Cristian Massimi (Modulo 3) Alessandro Puri (Modulo 4)
- Teaching Mode: Traditional lectures (Modulo 1) Traditional lectures (Modulo 2) Traditional lectures (Modulo 3) Traditional lectures (Modulo 4)
- Campus: Bologna
- Corso: First cycle degree programme (L) in Physics (cod. 9244)
-
from Sep 19, 2025 to Dec 19, 2025
-
from Oct 15, 2025 to Nov 13, 2025
Learning outcomes
First semester - 1st module: in depth knowledge on programming in ROOT/C++ and on Monte Carlo methods for the simulation of physical processes.
First semester - 2st module: intermediate knowledge of the LabVIEW and its use for the development of data acquisition and analysis applications; basics of data acquisition devices including microcontrollers of the Arduino family.
Second semester: students will perform experimental measurements on electrical circuits in both sinusoidal and transitory regimes, on electromagnetic induction and on physical optics; they will acquire basic skills in written and oral presentation of experimental results.
Course contents
The course is divided two semeters (first semester divided into two 2 moduls) which cover in an integrated fashion different aspects of data acquisition, analysis and presentation (both in written and oral form), with reference to the topics covered in the second year of the first level physics degree.
First semester, first module - Prof. Matteo Franchini
- Recap on the main concepts of Object Oriented Programming in C++: coding conventions, classes, member functions and data members, encapsulation, aggregation and inheritance, polymorfism.
- Applications of the ROOT Data Analysis framework Usage for the data simulation and analysis with examples connected to the laboratory sessions which will be held during Module I:
- Further fuctionalities, with examples, of histograms (THx), graphs (TGraph), functions (TFx), ROOT persistency (TFile).Fitting data with ROOT (linear and non linear fits).
- the ROOT Monte Carlo utilities for the generation of physics distributions and for the simulation of experimental effects (resolution,efficiency)
- Advanced ROOT applications: The ROOT Collection Classes (TList) and ROOT n-tuple type data (TTree)
First semester, second module - Prof. Matteo Franchini
- Introduction to LabVIEW and Data acquisition. General architecture of a data acquisition (DAQ) device. The measurement chain. Analog to Digital Converters (ADCs). Communication buses. Signal-device connection. Signal sampling: aliasing and Nyquist theorem. Buffered data acquisition. Introduction to the Arduino Uno microcontroller.
Second semester - Prof. Cristian Massimi
In this module, the main experimental methods used in the electromagnetism, circuits and optics laboratory will be described, with reference to the laboratory sessions. The methods to be used when writing a report and when giving a talk reporting scientific results will be described, with reference to the customary standards of the international scientific community. Finally, some complements necessary to perform the laboratory sessions on electrical circuits in the transient and sinusoidal regime will be given.
- Characteristics of laboratory instruments. Function generators. Digital multimeters. Oscilloscopes. Lasers. Light detectors, photodiodes. Reference: Boscherini Strumenti
- Reports. Methods and standards used when writing a laboratory report and when presenting experimental results in a talk. Linear and non linear fits.
- Oscilloscopes. Analogue and digital oscilloscopes. Static and dynamic sensitivity, band pass. Vertical gain, horizontal deflection and saw tooth time scan. Trigger. Digital oscilloscopes. Reference: Bava, Galzerano, Norgia, Ottoboni e Svelto
- Complements on circuits in the transient and sinusoidal regime. Capacitors and inductors. First order circuits. Second order circuits. RLC circuits in the sinusoidal regime and phasors. Frequency response. Low pass, high pass, band pass circuits and resonant circuits. Reference: Perfetti, chap. 6, 7, 8 and 13 (part). Copy of lecture slides available on virtuale.unibo.it
Readings/Bibliography
Prof. M. Franchini (module 1)
The teaching material is available on Virtuale:
- The ROOT primer: https://root.ern.ch/root/htmldoc/guides/primer/ROOTPrimer.html
- Slides of the lectures and ROOT code examples written during the lectures
-
- (Optional:) Official ROOT material (User guide, Reference guide) from http://root.cern.ch
Prof. M. Franchini (module 2)
The teaching material is available on Virtuale; it includes:
-
Slides on DAQ devices and Arduino
-
Guides for the laboratory sessions and templates for drawing up the reports
Prof. C. Massimi
- Renzo Perfetti, Circuiti Elettrici, Zanichelli, 2013.
- Copy of lecture slides, are available on Virtuale
- Elio Bava, Gianluca Galzerano, Michele Norgia, Roberto Ottoboni e Cesare Svelto, Misure elettroniche di laboratorio, Pitagora Editrice, 2005.
- R. Bartiromo e M. De Vincenzi, Electrical Measurements in the Laboratory Practice, Springer
Teaching methods
Lectures, exercises, and laboratory sessions (compulsory). Below are some details on the laboratory sessions for each module.
Note: Laboratory and general safety: All students must attend Modules 1 and 2 [https://www.unibo.it/en/services-and-opportunities/health-and-assistance/health-and-safety/online-course-on-health-and-safety-in-study-and-internship-areas] online, while Module 3 on health and safety is to be attended in class. Information about Module 3 attendance schedule is available on the website of your degree programme,
Prof. M.Franchini (module 1)
The students will perform three laboratory sessions and each student individually will write a C++ program to simulate physics data and perform their analysis using the ROOT functionalities, making practice of C++ Object Oriented programming. A written report of the laboratory sessions is required, using a given template and including the C++/ROOT code listing; the report, in PDF format, must be sent by e-mail to a specific e-mail address within 30 days after the completion of the laboratory sessions.
Prof. M. Franchini (module 2)
The students will attend three lab sessions, which include the realization of simple electrical circuits on DAQ device ELVIS II. During the first two sessions the students will work in couples, while the third session will be carried out individually.
Porf. C. Massimi
Each student will perform two experiments: circuits and optics. Students will work in couples. Four laboratory sessions are planned. A written report is required, using a given template. The experiment will also be the subject of an oral presentation using PC and beamer.
Assessment methods
The final mark is an overall evaluation related to the topics covered in the course.
The final exam (second semester) can be taken only after the completition of the other modules.
For all modules, presence during laboratory sessions is compulsory.
Oral exams can be performed in English upon request.
Prof. M. Franchini (module 1)
During the second and third laboratory sessions, the students write a report using a pre-defined template. The reports of the laboratory sessions receive a score A ranging from 0 to 5. The final assessment consists in a written exam with 4 questions, requesting the student to write C++code using the ROOT functionalities illustrated during the module. To the written exam a maximum score B of 28 is given. The final score of the module is given by C=A+B. The exam is passed if C>=18. “Cum laude” is attributed if C>30.
The score of the written exam and report will be based on the assessment of the student's knowledge of C++ and ROOT, with particular emphasis on data fitting and Monte Carlo simulations.
Prof. M. Franchini (module 2)
During the three laboratory sessions, the students write a report using a pre-defined template. The reports must be delivered in PDF format at the end of the sessions. The score obtained in the report on the third lab session (the only one carried out individually) constitutes the exam’s score. The score will be based on the assessment of the student's ability to write a LabVIEW code for data acquisition relative to electrical circuits.
Prof. C. Massimi
The mark for the second semester takes into account the evaluation of:
A) A written report, maximum length 6 pages, on the circuits or optics experiment.
B) An oral presentation with computer and beamer on the circuits or optics experiment, maximum time 10 minutes, and subsequent discussion. The oral exam can be booked via AlmaEsami.
In all evaluations there is a great emphasis on the assessment of critical thinking and communication abilities.
Teaching tools
Well equipped informatics, optics and electronics laboratories.
Students with specific learning disorders (SLD) or temporary/permanent disabilities: We recommend contacting the University Office responsible for support services in a timely manner (https://site.unibo.it/studenti-con-disabilita-e-dsa/it) [https://site.unibo.it/studenti-con-disabilita-e-dsa/it):] ). The office will evaluate the students' needs and, where appropriate, propose possible accommodations. These must in any case be submitted for approval at least 15 days in advance to the course instructor, who will assess their suitability also in relation to the learning objectives of the course.
Office hours
See the website of Cristian Massimi
See the website of Matteo Franchini
See the website of Matteo Franchini
See the website of Alessandro Puri